Hi all,

I'm battling through... slowly...

When running ./buildtool.pl build buildenv

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/adstar/src/bering-uclibc/buildtool/source/buildenv/buildtool.mk ,
please have a look at the logfile log/buildtoollog at
buildtool/Make/Source.pm line 398.

checking link /lib/ld-uClibc.so
make: Entering directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv'
mkdir -p /home/adstar/src/bering-uclibc/buildtool/source/buildenv
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging/include
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging/lib/gcc-lib
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging/usr/lib
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging/usr/bin
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging/usr/include
mkdir -p /home/adstar/src/bering-uclibc/buildtool/staging/i386-linux/
(cd /home/adstar/src/bering-uclibc/buildtool/staging/i386-linux; ln -fs
../lib)
(cd /home/adstar/src/bering-uclibc/buildtool/staging/i386-linux; ln -fs
../include)
(cd /home/adstar/src/bering-uclibc/buildtool/staging/usr/lib; ln -fs
../../lib/gcc-lib)
touch /home/adstar/src/bering-uclibc/buildtool/staging/.setup
cp /home/adstar/src/bering-uclibc/buildtool/source/buildenv/.config
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e
's,^CROSS_COMPILER_PREFIX=.*,CROSS_COMPILER_PREFIX="/home/adstar/src/bering-
uclibc/buildtool/staging/bin/i386-linux-",g' \
 
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e 's,^.*TARGET_i386.*,TARGET_i386=y,g' \
 
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"i386\",g'
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e
's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"/home/adstar/src/bering-uclibc/buildtoo
l/source/linux/linux\",g' \
 
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
 
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/\",g' \
 
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
perl -i -p -e
's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
 
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.conf
ig
make -C
/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28 \
        PREFIX=/home/adstar/src/bering-uclibc/buildtool/staging/ \
        DEVEL_PREFIX=/ \
        RUNTIME_PREFIX=/home/adstar/src/bering-uclibc/buildtool/staging/ \
        pregen install_dev;
make[1]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
make[1]: Entering directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28'
make[1]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
make[2]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
make[2]: Entering directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extr
a/config'
make[2]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
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/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extr
a/config'
make[1]: *** [include/bits/uClibc_config.h] Error 2
make[1]: Leaving directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28'
make: ***
[/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/.con
figured] Error 2
make: Leaving directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv'

I think it's this section (there is no
/home/adstar/src/bering-uclibc/buildtool/staging/bin directory)

make[1]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
make[1]: Entering directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28'
make[1]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
make[2]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found
make[2]: Entering directory
`/home/adstar/src/bering-uclibc/buildtool/source/buildenv/uClibc-0.9.28/extr
a/config'
make[2]:
/home/adstar/src/bering-uclibc/buildtool/staging/bin/i386-linux-gcc: Command
not found

but I'n not sure what/where to go from here as it's just part of the
buildtool.pl script, any suggestions how to continue?

Cheers
Ad


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to