Building the environment fails
Stefan Schulz
schulz.stefan at gmail.com
Wed Apr 5 11:11:10 CEST 2006
Sorry for using this ML as my personal helpdesk, but i believe there
is a problem in the build process for l4env. I checked the current
version out from CVS, and used "make config" to configure. While
"make" was running, the process failed with
... Compiling ARCH-all/libc/misc/internals/__uClibc_main.o
LD_PRELOAD=/l4/tmp/l4/tool/gendep/libgendep.so
GENDEP_TARGET=ARCH-all/libc/misc/internals/__uClibc_main.o
GENDEP_BINARY=cc1 gcc -c -nostdinc -include
../../../lib/uclibc/ARCH-all/include/libc-symbols.h -DNDEBUG
-D_LIBC -DSTATIC -DSYSTEM_x86_586 -DARCH_x86 -DCPUTYPE_586 -DL4API_
-DCONFIG_L4_CALL_SYSCALLS -DCONFIG_L4_ABS_SYSCALLS
-I../ARCH-x86/include -I../ARCH-all/include
-I../../../../../include/x86 -I../../../../../include
-I/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include -fno-builtin -gstabs+
-g -O2 -fno-strict-aliasing -march=i586 -Wall -Wstrict-prototypes
-fno-common /l4/tmp/l4/pkg/uclibc/lib/uclibc/ARCH-all/libc/misc/internals/__uClibc_main.c
-o ARCH-all/libc/misc/internals/__uClibc_main.o
/l4/tmp/l4/pkg/uclibc/lib/uclibc/ARCH-all/libc/misc/internals/__uClibc_main.c:2:49:
l4/sys/consts.h: No such file or directory
/l4/tmp/l4/pkg/uclibc/lib/uclibc/ARCH-all/libc/misc/internals/__uClibc_main.c:15:
error: `L4_PAGESIZE' undeclared here (not in a function)
make[4]: *** [ARCH-all/libc/misc/internals/__uClibc_main.o] Error 1
make[4]: Leaving directory `/l4/tmp/l4/pkg/uclibc/lib/uclibc/OBJ-x86_586'
make[3]: *** [OBJ-x86_586] Error 2
make[3]: Leaving directory `/l4/tmp/l4/pkg/uclibc/lib/uclibc'
make[2]: *** [virt_dep] Error 2
make[2]: Leaving directory `/l4/tmp/l4/pkg/uclibc'
make[1]: *** [uclibc.headers] Error 2
make[1]: Leaving directory `/l4/tmp/l4/pkg'
make: *** [pkg] Error 2
Even if i "fixed" this error (by manually defining L4_PAGESIZE",
similar problems crept up all over the build, far too many to manually
fix. I tried this build on an IBM T43, using current sources, gcc3.4.5
and make 3.80
Is the build process really broken, or am i doing something wrong?
More information about the l4-hackers
mailing list