I'm trying to build a dedicated version of amule than can work with my ISP, so, thanks to some of you guys, I've installed VMWare player and Kubuntu VMW image to use Linux on my PC. I've downloaded and installed all development tools and all things to compile optware applications:
and here my problem.Code:cd /opt svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware cd optware In the file /opt/optware/Makefile: OPTWARE_TARGET=oleg make directories ipkg-utils make toolchain
Compile works fine, but entering in /toolchain/buildroot I have a lot of errors and compile ends:
Don't know what else to try, my Linux skill level is at the beginning...Code:make[1]: Entering directory `/opt/optware/toolchain/buildroot' make -C package/config conf make[2]: Entering directory `/opt/optware/toolchain/buildroot/package/config' cp zconf.tab.h_shipped zconf.tab.h gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c conf.c -o conf.o conf.c:6:19: error: ctype.h: Nessun file o directory conf.c:7:20: error: stdlib.h: Nessun file o directory conf.c:8:20: error: string.h: Nessun file o directory conf.c:9:20: error: unistd.h: Nessun file o directory conf.c:10:18: error: time.h: Nessun file o directory conf.c:11:22: error: sys/stat.h: Nessun file o directory In file included from lkc.h:9, from conf.c:14: expr.h:13:19: error: stdio.h: Nessun file o directory In file included from lkc.h:9, from conf.c:14: expr.h:176: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from conf.c:14: lkc.h:27: error: expected ‘)’ before ‘*’ token lkc.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token lkc.h:65: error: expected specifier-qualifier-list before ‘size_t’ conf.c: In function ‘strip’: conf.c:44: warning: implicit declaration of function ‘isspace’ conf.c:46: warning: implicit declaration of function ‘strlen’ conf.c:46: warning: incompatible implicit declaration of built-in function ‘strlen’ conf.c:46: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness conf.c:48: warning: implicit declaration of function ‘memmove’ conf.c:48: warning: incompatible implicit declaration of built-in function ‘memmove’ conf.c: In function ‘check_stdin’: conf.c:59: warning: implicit declaration of function ‘printf’ conf.c:59: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:62: warning: implicit declaration of function ‘exit’ conf.c:62: warning: incompatible implicit declaration of built-in function ‘exit’ conf.c: In function ‘conf_askvalue’: conf.c:72: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:93: warning: implicit declaration of function ‘fflush’ conf.c:93: error: ‘stdout’ undeclared (first use in this function) conf.c:93: error: (Each undeclared identifier is reported only once conf.c:93: error: for each function it appears in.) conf.c:94: warning: implicit declaration of function ‘fgets’ conf.c:94: error: ‘stdin’ undeclared (first use in this function) conf.c:145: warning: implicit declaration of function ‘random’ conf.c: In function ‘conf_string’: conf.c:167: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:183: error: ‘NULL’ undeclared (first use in this function) conf.c:187: warning: incompatible implicit declaration of built-in function ‘strlen’ conf.c:187: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness conf.c:188: warning: pointer targets in assignment differ in signedness conf.c: In function ‘conf_sym’: conf.c:203: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:207: warning: implicit declaration of function ‘putchar’ conf.c:236: warning: implicit declaration of function ‘strcmp’ conf.c: In function ‘conf_choice’: conf.c:295: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:305: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:349: error: ‘stdout’ undeclared (first use in this function) conf.c:350: error: ‘stdin’ undeclared (first use in this function) conf.c:359: warning: implicit declaration of function ‘isdigit’ conf.c:360: warning: implicit declaration of function ‘atoi’ conf.c:384: warning: incompatible implicit declaration of built-in function ‘strlen’ conf.c:384: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness conf.c: In function ‘conf’: conf.c:422: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c: In function ‘check_conf’: conf.c:473: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c: In function ‘main’: conf.c:489: error: storage size of ‘tmpstat’ isn’t known conf.c:498: warning: implicit declaration of function ‘isatty’ conf.c:507: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:509: warning: incompatible implicit declaration of built-in function ‘exit’ conf.c:523: warning: implicit declaration of function ‘srandom’ conf.c:523: warning: implicit declaration of function ‘time’ conf.c:523: error: ‘NULL’ undeclared (first use in this function) conf.c:527: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:528: warning: incompatible implicit declaration of built-in function ‘exit’ conf.c:533: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:542: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:545: warning: incompatible implicit declaration of built-in function ‘exit’ conf.c:549: warning: implicit declaration of function ‘stat’ conf.c:550: warning: incompatible implicit declaration of built-in function ‘printf’ conf.c:556: warning: incompatible implicit declaration of built-in function ‘exit’ conf.c:579: warning: implicit declaration of function ‘fprintf’ conf.c:579: warning: incompatible implicit declaration of built-in function ‘fprintf’ conf.c:579: error: ‘stderr’ undeclared (first use in this function) conf.c:489: warning: unused variable ‘tmpstat’ make[2]: *** [conf.o] Error 1 make[2]: Leaving directory `/opt/optware/toolchain/buildroot/package/config' make[1]: *** [package/config/conf] Error 2 make[1]: Leaving directory `/opt/optware/toolchain/buildroot' make: *** [/opt/optware/toolchain/buildroot/.configured] Error 2 jars@jars-Kubuntu-7:/opt/optware$![]()
Hope someone could help me.
Max




Reply With Quote