Hi Adam, I see the Command not found error from your logfile. You might have a typo?
jerome make[1]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command not found make[1]: Entering directory `/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28' make[1]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command not found make[2]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command not found make[2]: Entering directory `/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extra/ config' make[2]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: http://www.techsier.com - Blog http://www.boholweb.com - Bohol tourism website http://www.auza.net - enabling e-services in Bohol Adam Niedzwiedzki wrote: >Hmm I just tried the full path, same issue.... come on guys, what am I >missing here? >How can this be so hard? > >This is the error >downloading: uClibc-0.9.28.tar.gz from server kernel.org type http [0.K.] >calling 'make source' for buildenv make source failed for >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/buildtool.mk , please >have a look at the logfile log/buildtoollog at buildtool/Make/Source.pm line >398. > >And the buildtool log file > ><snip> >uClibc-0.9.28/README >uClibc-0.9.28/INSTALL >uClibc-0.9.28/TODO >uClibc-0.9.28/DEDICATION.mjn3 >uClibc-0.9.28/MAINTAINERS >uClibc-0.9.28/Makefile >uClibc-0.9.28/COPYING.LIB >zcat uClibc-path.patch.gz | patch -d >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28 -p1 >patching file ldso/ldso/dl-elf.c >touch >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.unpack >ed >cp /home/leaf/src/bering-uclibc/buildtool/source/buildenv/.config >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e >'s,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="/home/leaf/src/bering-uc >libc/buildtool/staging/bin/i386-linux-",g' \ > >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e 's,^.*TARGET_i386.*,TARGET_i386=y,g' \ > >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"i386\",g' >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e >'s,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"/home/leaf/src/bering-uclibc/buildtool/ >source/linux/linux\",g' \ > >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \ > >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/\",g' \ > >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >perl -i -p -e >'s,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \ > >/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.config >make -C /home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28 >\ > PREFIX=/home/leaf/src/bering-uclibc/buildtool/staging/ \ > DEVEL_PREFIX=/ \ > RUNTIME_PREFIX=/home/leaf/src/bering-uclibc/buildtool/staging/ \ > pregen install_dev; >make[1]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: >Command not found >make[1]: Entering directory >`/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28' >make[1]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: >Command not found >make[2]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: >Command not found >make[2]: Entering directory >`/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extra/ >config' >make[2]: /home/leaf/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: >Command not found >cp zconf.tab.h_shipped zconf.tab.h >gcc -O2 -Wall -I. -c conf.c -o conf.o >conf.c:6:19: error: ctype.h: No such file or directory >conf.c:7:20: error: stdlib.h: No such file or directory >conf.c:8:20: error: string.h: No such file or directory >conf.c:9:20: error: unistd.h: No such file or directory >conf.c:10:18: error: time.h: No such file or directory >conf.c:11:22: error: sys/stat.h: No such file or directory >In file included from lkc.h:9, > from conf.c:14: >expr.h:13:19: error: stdio.h: No such file or 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 >`/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extra/ >config' >make[1]: *** [include/bits/uClibc_config.h] Error 2 >make[1]: Leaving directory >`/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28' >make: *** >[/home/leaf/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.confi >gured] Error 2 >make: Leaving directory >`/home/leaf/src/bering-uclibc/buildtool/source/buildenv' > >This is my MasterInclude.mk > >export HOSTCC:=/usr/bin/gcc-3.3 > >and of course > >[EMAIL PROTECTED]:~/src/bering-uclibc/buildtool$ /usr/bin/gcc-3.3 --version >gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-15) >Copyright (C) 2003 Free Software Foundation, Inc. >This is free software; see the source for copying conditions. There is NO >warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > >ANYONE!!!!! > > >-----Original Message----- >From: davidMbrooke [mailto:[EMAIL PROTECTED] >Sent: Tuesday, 23 October 2007 3:36 AM >To: Adam Niedzwiedzki >Cc: [EMAIL PROTECTED]; leaf-user@lists.sourceforge.net >Subject: Re: [leaf-devel] Can't get buildtool to work..STILL!!!!! > >Hi Ad, > >I tried buildtool for the first time last week and hit the gcc v3 versus >gcc v4 issue (I'm running on Fedora 7). > >The buildtool docs describe the need to edit make/MasterInclude.mk and >change the setting of HOSTCC to point to gcc 3.3 or 3.4. I installed gcc >3.4 in /usr/local/bin and found that I had to specify the full path >rather than just the command name, since I guess /usr/local/bin isn't in >the command search path for the build environmnent. > >Specifying: > export HOSTCC:=/usr/local/bin/gcc34 >worked for me. > >davidMbrooke > > >On Mon, 2007-10-22 at 16:10 +1000, Adam Niedzwiedzki wrote: > > >>Hi guys, >> >>Ok these has to be a way to get this to work... I really need to setup a >>build environment. >>I've tried everything, I've tried several installs I've tried different >>versions of gcc3.3 gcc3.4 etc etc >>My build still dies at the same place. >> >>As my leaf user gcc --version outputs the correctly mapped gcc, is it the >>perl version? 5.8 v's 5.6 etc.. >> >>Surely it's just something simple, but where can I begin to find what? >> >>Please HELP!!!!! Anyone!!!! >> >>Cheers >>Ad >> >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf Of KP >>Kirchdoerfer >>Sent: Saturday, 4 August 2007 9:31 AM >>To: [EMAIL PROTECTED] >>Subject: Re: [leaf-devel] Can't get buildtool to work.. >> >>On Thursday 02 August 2007 08:33:04 Adam Niedzwiedzki wrote: >> >> >>>Hi Martin, >>> >>>Tried all that :( >>> >>>[EMAIL PROTECTED]:~/src/bering-uclibc/buildtool$ which gcc >>>/usr/bin/gcc >>>[EMAIL PROTECTED]:~/src/bering-uclibc/buildtool$ gcc --version >>>gcc (GCC) 3.4.6 (Debian 3.4.6-5) >>>Copyright (C) 2006 Free Software Foundation, Inc. >>>This is free software; see the source for copying conditions. There is >>> >>> >NO > > >>>warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >>> >>> >>PURPOSE. >> >> >>>gcc is mapped correctly, but buildtool still dies >>> >>>-----Original Message----- >>>From: [EMAIL PROTECTED] >>>[mailto:[EMAIL PROTECTED] On Behalf Of Martin >>> >>> >Hejl > > >>>Sent: Wednesday, 1 August 2007 2:59 AM >>>To: [EMAIL PROTECTED] >>>Subject: Re: [leaf-devel] Can't get buildtool to work.. >>> >>>Adam Niedzwiedzki wrote: >>> >>> >>>>Resend, I couldn't attach the zip'd logfile (it can be gotten from >>>>http://www.genis-x.net/buildtoollog.zip) >>>> >>>> >>>tried it on Centos 5, and it works fine without any problems (well, I >>>temporarily had to replace gcc 4.1 with gcc 3.x, but that's a known >>>issue, and I think it's also documented). >>>Not that it working on Centos helps you a great deal, but it suggests >>>it's something debian related. >>> >>> >>> >>>>It's like it's not following >>>>/home/leaf/src/bering-uclibc/buildtool/source/buildenv/buildtool.mk at >>>>all it handles binuntils fine then totally skips gcc and goes on with >>>>uClibc >>>> >>>> >>>Not quite. It's doing the stuff that's part of "./buildtool.pl source" >>>for uclibc - and that causes the host gcc to be invoked, which can't be >>>found, hence make quits. >>> >>>What does "which gcc" say on your box (as user leaf)? It seems to me >>>like there's no gcc in the path of user leaf on your box. >>> >>>Martin >>> >>> >>> >>Hi; >> >>Martin's question helped me to get it up and running in a VM with Debian 4 >> >> > > > >>iso-image. >> >>My previous fault has been that I didn't install gcc, but only gcc-3.3.3. >> >> >So > > >>I >>had no link any gcc. >> >>I removed gcc-3.3.3 - installed gcc, and added gcc-3.3.3 again. Removed >> >> >the > > >>old buildtool directories. Then I've finally been able to build the >>buildenv. >> >>So I suggest you may start from scratch again. It is working :) >> >>kp >> >>------------------------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. >>Still grepping through log files to find problems? Stop. >>Now Search log events and configuration files using AJAX and a browser. >>Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >>_______________________________________________ >>leaf-devel mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/leaf-devel >> >> >> >>------------------------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. >>Still grepping through log files to find problems? Stop. >>Now Search log events and configuration files using AJAX and a browser. >>Download your FREE copy of Splunk now >> http://get.splunk.com/ >> >>_______________________________________________ >>leaf-devel mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/leaf-devel >> >> > > > > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >------------------------------------------------------------------------ >leaf-user mailing list: leaf-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/leaf-user >Support Request -- http://leaf-project.org/ > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/