try different gcc version. Eg. 4.1.1
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
try different gcc version. Eg. 4.1.1
In my VMware Kubuntu 7 image, gcc is version 4.1.2.
It really seems that "make toolchain" search for gcc 4.1.1.
I'll try how to downgrade to 4.1.1 manually, beacause package is not available using dpkg in Kubuntu. No way to change toolchain configure file to force 4.1.2 usage (if it will produce a working code) INSTEAD OF 4.1.1 ?
Thanks, Max
Actually I am using 4.1.2 gcc compiler and everything works!
Oh gosh !....
Really don't know what else to try... I reinstalled VMware and Linux Kubuntu 7 image, updated all packages and reinstalled optware svn...
Compiler stops always at the same point....
Can someone please analyze this output code ?
The only strange things I'm able to understand are some missed header files:Code:buildroot/target/cpio/Config.in buildroot/Makefile buildroot/defconfig buildroot/.defconfig if test -n "/opt/optware/sources/buildroot/uclibc.mk.patch /opt/optware/s ources/buildroot/gcc-uclibc-3.x.mk.patch" ; \ then cat /opt/optware/sources/buildroot/uclibc.mk.patch / opt/optware/sources/buildroot/gcc-uclibc-3.x.mk.patch | \ patch -d /opt/optware/toolchain/buildroot -p1 ; \ fi patching file toolchain/uClibc/uclibc.mk patching file toolchain/gcc/gcc-uclibc-3.x.mk Hunk #1 succeeded at 272 (offset 17 lines). Hunk #2 succeeded at 318 with fuzz 2 (offset 22 lines). Hunk #3 succeeded at 369 (offset 25 lines). if test "/opt/optware/toolchain/buildroot" != "/opt/optware/toolchain/bui ldroot" ; \ then mv /opt/optware/toolchain/buildroot /opt/optware/too lchain/buildroot ; \ fi cp /opt/optware/sources/buildroot/buildroot.config /opt/optware/toolchain /buildroot/.config sed -i -e 's|^# BR2_PACKAGE_GDB is not set|BR2_PACKAGE_GDB=yes|' /opt/op tware/toolchain/buildroot/.config sed -i -e 's|.*\(BR2_[a-z0-9_]\{2,\}\).*|# \1 is not set|' \ -e 's|# BR2_mipsel is not set|BR2_mipsel=y|' \ -e 's|^BR2_ARCH=.*|BR2_ARCH="mipsel"|' /opt/optware/toolc hain/buildroot/.config sed -i -e 's|BR2_ENDIAN=.*|BR2_ENDIAN="mipsel"|' \ -e '/BR2_ENDIAN=/s|armeb|BIG|;/BR2_ENDIAN=/s|mipsel|LITTL E|' \ /opt/optware/toolchain/buildroot/.config sed -i -e 's|.*\(BR2_GCC_VERSION_[0-9_]\{1,\}\).*|# \1 is not set|' \ -e 's|# BR2_GCC_VERSION_4.1.1 is not set|BR2_GCC_VERSION_4.1.1=y |' \ -e '/BR2_GCC_VERSION_4.1.1=y/s|\.|_|g' \ -e 's|^BR2_GCC_VERSION=.*|BR2_GCC_VERSION="4.1.1"|' /opt/optware /toolchain/buildroot/.config sed -i -e 's|.*\(BR2_BINUTILS_VERSION_[0-9_]\{1,\}\).*|# \1 is not set|' \ -e 's|# BR2_BINUTILS_VERSION_2.17.50.0.8 is not set|BR2_BINUTILS _VERSION_2.17.50.0.8=y|' \ -e '/BR2_BINUTILS_VERSION_2.17.50.0.8=y/s|\.|_|g' \ -e 's|^BR2_BINUTILS_VERSION=.*|BR2_BINUTILS_VERSION="2.17.50.0.8 "|' /opt/optware/toolchain/buildroot/.config sed -i -e 's|^BR2_STAGING_DIR=*|BR2_STAGING_DIR="/opt/optware/toolchain/m ipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28"|' /opt/optware/toolchain/buil droot/.config (cd /opt/optware/toolchain/buildroot; \ make oldconfig \ ) make[1]: Entering directory `/opt/optware/toolchain/buildroot' make -C package/config conf make[2]: Entering directory `/opt/optware/toolchain/buildroot/package/con fig' cp zconf.tab.h_shipped zconf.tab.h gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -I. -c conf.c -o c onf.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 functio n ‘strlen’ conf.c:46: warning: pointer targets in passing argument 1 of ‘strlen’ dif fer in signedness conf.c:48: warning: implicit declaration of function ‘memmove’ conf.c:48: warning: incompatible implicit declaration of built-in functio n ‘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 functio n ‘printf’ conf.c:62: warning: implicit declaration of function ‘exit’ conf.c:62: warning: incompatible implicit declaration of built-in functio n ‘exit’ conf.c: In function ‘conf_askvalue’: conf.c:72: warning: incompatible implicit declaration of built-in functio n ‘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 functi on ‘printf’ conf.c:183: error: ‘NULL’ undeclared (first use in this function) conf.c:187: warning: incompatible implicit declaration of built-in functi on ‘strlen’ conf.c:187: warning: pointer targets in passing argument 1 of ‘strlen’ di ffer 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 functi on ‘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 functi on ‘printf’ conf.c:305: warning: incompatible implicit declaration of built-in functi on ‘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 functi on ‘strlen’ conf.c:384: warning: pointer targets in passing argument 1 of ‘strlen’ di ffer in signedness conf.c: In function ‘conf’: conf.c:422: warning: incompatible implicit declaration of built-in functi on ‘printf’ conf.c: In function ‘check_conf’: conf.c:473: warning: incompatible implicit declaration of built-in functi on ‘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 functi on ‘printf’ conf.c:509: warning: incompatible implicit declaration of built-in functi on ‘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 functi on ‘printf’ conf.c:528: warning: incompatible implicit declaration of built-in functi on ‘exit’ conf.c:533: warning: incompatible implicit declaration of built-in functi on ‘printf’ conf.c:542: warning: incompatible implicit declaration of built-in functi on ‘printf’ conf.c:545: warning: incompatible implicit declaration of built-in functi on ‘exit’ conf.c:549: warning: implicit declaration of function ‘stat’ conf.c:550: warning: incompatible implicit declaration of built-in functi on ‘printf’ conf.c:556: warning: incompatible implicit declaration of built-in functi on ‘exit’ conf.c:579: warning: implicit declaration of function ‘fprintf’ conf.c:579: warning: incompatible implicit declaration of built-in functi on ‘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/conf ig' make[1]: *** [package/config/conf] Error 2 make[1]: Leaving directory `/opt/optware/toolchain/buildroot' make: *** [/opt/optware/toolchain/buildroot/.configured] Error 2 root@jars-Kubuntu-7:/opt/optware#
and a lot of referencies to gcc 4.1.1.Code: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
Help please !
Thanks, Max
Code:apt-get install gcc
@oleo
gcc 4.1.2 already installed...
Thanks for your patience... I'm really giving up...Originally Posted by al37919
It doesn't work for me.
I've found that if I go to /opt/unstable/toolchain/buildroot, and do a make config, I have always the same error:
So my problem seems located here...Code:root@jars-Kubuntu-7:/opt/unstable/toolchain/buildroot# make config make -C package/config conf make[1]: Entering directory `/opt/unstable/toolchain/buildroot/package/config' 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[1]: *** [conf.o] Error 1 make[1]: Leaving directory `/opt/unstable/toolchain/buildroot/package/config' make: *** [package/config/conf] Error 2 root@jars-Kubuntu-7:/opt/unstable/toolchain/buildroot#
Max
I have assumed that you have only gcc-4.1.2-base and not the whole toolchain.
Verify if simple hello, again works for you. Or maybe try
apt-get install build-essential
You are missing libc headers.
You're right oleo,
downloading build-essential and running again make toolchain, I installed other packages like bison, m4, gettext, flex, then compiler stopped again with a problem downloading binutils-2.17.50.0.8.tar.bz2 from ftp.kernel.org... connection rejected...
I've just checked with Filezilla and the ftp server is really down...Code:root@jars-Kubuntu-7:/opt/optware# make toolchain rm -f /opt/optware/toolchain/buildroot/.built rm -rf /opt/optware/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28 make -C /opt/optware/toolchain/buildroot LINUX_HEADERS_SOURCE=linux-libc-headers-oleg.tar.bz2 LINUX_HEADERS_UNPACK_DIR=/opt/optware/toolchain/buildroot/toolchain_build_mipsel/linux \ UCLIBC_CONFIG_FILE=/opt/optware/sources/buildroot/uClibc-0.9.28.config make[1]: Entering directory `/opt/optware/toolchain/buildroot' Checking build system dependencies: CC clean: Ok CXX clean: Ok CPP clean: Ok CFLAGS clean: Ok CXXFLAGS clean: Ok sed works: Ok which installed: Ok GNU make version '3.81': Ok C compiler '/usr/bin/gcc' C compiler version '4.1.2': Ok bison installed: Ok flex installed: Ok gettext installed: Ok Build system dependencies: Ok mkdir -p ../../downloads wget --passive-ftp -P ../../downloads ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.17.50.0.8.tar.bz2 --20:07:46-- ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.17.50.0.8.tar.bz2 => `../../downloads/binutils-2.17.50.0.8.tar.bz2' Risoluzione di ftp.kernel.org in corso... 204.152.191.5, 204.152.191.37 Connessione a ftp.kernel.org|204.152.191.5:21... fallito: Connessione rifiutata. Connessione a ftp.kernel.org|204.152.191.37:21... fallito: Connessione rifiutata. make[1]: *** [../../downloads/binutils-2.17.50.0.8.tar.bz2] Error 1 make[1]: Leaving directory `/opt/optware/toolchain/buildroot' make: *** [/opt/optware/toolchain/buildroot/.built] Error 2 root@jars-Kubuntu-7:/opt/optware#
What a lucky week guys !
I'll retry.
Thanks again for your help and patience.
Max
It seems I'm loosing this battle... I hope to win this war against Linux...
This time I'm retrying to compile under VMware player/Ubuntu 7.04.
Well, to go on I manually changed /opt/optware/toolchain/buildroot/toolchain/binutils/binutils.mk file,
replacing:
withCode:BINUTILS_SITE:=ftp://ftp.kernel.org/pub/linux/devel/binutils
Now compilation continue downloading from kernel.org binutils-2.17.50.0.8.Code:BINUTILS_SITE:=http://www.kernel.org/pub/linux/devel/binutils
Some minutes of clear run and then a new stop; compiler needs makeinfo, texinfo and GNU gcc, but these tools are correctly installed.... no way even reinstalling:
Still waiting for better times...Code:jars@jars-desktop:/opt/optware$ sudo make toolchain rm -f /opt/optware/toolchain/buildroot/.built rm -rf /opt/optware/toolchain/mipsel-linux-uclibc/gcc-4.1.1-uclibc-0.9.28 make -C /opt/optware/toolchain/buildroot LINUX_HEADERS_SOURCE=linux-libc-headers-oleg.tar.bz2 LINUX_HEADERS_UNPACK_DIR=/opt/optware/toolchain/buildroot/toolchain_build_mipsel/linux \ UCLIBC_CONFIG_FILE=/opt/optware/sources/buildroot/uClibc-0.9.28.config make[1]: Entering directory `/opt/optware/toolchain/buildroot' Checking build system dependencies: CC clean: Ok CXX clean: Ok CPP clean: Ok CFLAGS clean: Ok CXXFLAGS clean: Ok sed works: Ok which installed: Ok GNU make version '3.81': Ok C compiler '/usr/bin/gcc' C compiler version '4.1.2': Ok bison installed: Ok flex installed: Ok gettext installed: Ok Build system dependencies: Ok make -j1 -C /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build all make[2]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build' make[3]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build' make[4]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/libiberty' make[5]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/libiberty/testsuite' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/libiberty/testsuite' make[4]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/libiberty' make[4]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/intl' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/intl' make[4]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd' Making info in doc make[5]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd/doc' restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && cd /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc && \ rm -rf $backupdir && mkdir $backupdir && \ if (/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/missing makeinfo --split-size=5000000 --split-size=5000000 --version) >/dev/null 2>&1; then \ for f in /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.info /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.info-[0-9] /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.info-[0-9][0-9] /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.i[0-9] /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/missing makeinfo --split-size=5000000 --split-size=5000000 -I /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc \ -o /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.info /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.texinfo; \ then \ rc=0; \ cd /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc; \ else \ rc=$?; \ cd /opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc && \ $restore $backupdir/* `echo ".//opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc WARNING: `makeinfo' is missing on your system. You should only need it if you modified a `.texi' or `.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy `make' (AIX, DU, IRIX). You might want to install the `Texinfo' package or the `GNU make' package. Grab either from any GNU archive site. make[5]: *** [/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8/bfd/doc/bfd.info] Error 1 make[5]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd/doc' Making info in po make[5]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd/po' make[5]: Nothing to be done for `info'. make[5]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd/po' make[5]: Entering directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd' make[5]: Nothing to be done for `info-am'. make[5]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd' make[4]: *** [info-recursive] Error 1 make[4]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/bfd' make[3]: *** [all-bfd] Error 2 make[3]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build' make[2]: *** [all] Error 2 make[2]: Leaving directory `/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build' make[1]: *** [/opt/optware/toolchain/buildroot/toolchain_build_mipsel/binutils-2.17.50.0.8-build/binutils/objdump] Error 2 make[1]: Leaving directory `/opt/optware/toolchain/buildroot' make: *** [/opt/optware/toolchain/buildroot/.built] Error 2 jars@jars-desktop:/opt/optware$
Max
The most funny thing is that I'm having all this troubles trying to compile a modded version of aMuled for WL-500gP...
I've just succesfully compiled, installed and run the same sources for Kubuntu (using the same VM machine), at first attempt... but still have problems with toolchain for WL500...
Max
Last edited by QMax; 13-05-2007 at 20:30.
Finally I win the war against toolchain.
I've cleaned up my Kubuntu installation, installed a lot of other development tools required to compile other packages, and then, turning back to optware, finally correctly compiled toolchain.
It's not clear to me what makes the difference, it should be a great thing if someone can put a list of the necessary packages needed to compile wl500 toolchain, starting from a simple linux base installation.
Toolchain compiled, first problem compiling amule for wl500... but now it's too late.... I'll be back soon...
Thanks al37818 and oleo for your great help, I really appreciated it.
Max
Do you know how to compile the new CVS version of emule (v2.20 which already supports protocol obfuscation) for the WL500?
Using Ubuntu 7.10 I've already setup the cross-compilation environment by successfully installing and compiling toolchain/buildroot.
Now the question is that I really don't know how to compile the amule CVS tarball... Do I need to write a custom makefile?
Thanks for your help!