Forum Discussion
Altera_Forum
Honored Contributor
19 years ago --- Quote Start --- originally posted by jdhar@Mar 24 2006, 06:02 PM why are you doing this when you can just get 'top' from busybox? --- Quote End --- Hi, that's cause I spent a lot of time trying to compile it but all I got is a lot of errors maybe you can help. This is the console output (I'm under Windows) <div class='quotetop'>QUOTE </div> --- Quote Start --- make -k all no emulation specific options. nios2-elf-gcc -nostdinc -D__linux__ -O2 -I"c:/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.uClibc_1.4.0"/include -I/cygdrive/c/altera/kits/nios2/bin/nios2-gnutools/H-i686-pc-cygwin/bin/../lib/gcc/nios2-elf/3.4.1//include -fno-optimize-sibling-calls -mhw-mul -mhw-mulx -Wall -c -o top.o top.c In file included from top.c:37: page.h:27:20: config.h: No such file or directory In file included from busybox.h:27, from top.c:38: config.h:4:28: linux/autoconf.h: No such file or directory In file included from busybox.h:54, from top.c:38: libbb.h:49:18: pwd_.h: No such file or directory libbb.h:50:18: grp_.h: No such file or directory In file included from busybox.h:54, from top.c:38: libbb.h:426: warning: "struct passwd" declared inside parameter list libbb.h:426: warning: its scope is only this definition or declaration, which is probably not what you want libbb.h:427: warning: "struct passwd" declared inside parameter list libbb.h:435: warning: "struct passwd" declared inside parameter list libbb.h:436: warning: "struct passwd" declared inside parameter list libbb.h:438: warning: "struct passwd" declared inside parameter list libbb.h:439: warning: "struct passwd" declared inside parameter list top.c:57: warning: 'pid_sort' defined but not used make: *** [top.o] Error 1 make: Target `all' not remade because of errors.[/b] --- Quote End ---