[uClibc]Problem with buildroot and own kernel build (missing *.h files)

Pedro Sanchez psanchez at nortelnetworks.com
Mon Feb 3 17:34:06 UTC 2003


Hello,

I'm trying to run the latest (from CVS) buildroot using my own kernel
(TARGETS+=linux is enabled in the Makefile). My host system is a PC and
my target is powerpc.

The compilation aborts during the gcc-initial stage because some *.h
files can't be found. In particular it first breaks because of signal.h
(which is of course in the kernel include tree).

I modified linux.mk to redefine DOWNLOAD_LINUX_VERSION and LINUX_VERSION
to match my kernel. Is there something else I have to do? 

Thanks ,

-- 
Pedro

...
make[3]: Entering directory
`/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-initial/gcc'
for d in libgcc nof libgcc/nof; do \
  if [ -d $d ]; then true; else /bin/sh
/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-initial/gcc/xgcc
-B/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-initial/gcc/
-B/usr/local/users/pedro/dev/uclibc/buildroot/build/staging_dir/powerpc-eabi-linux/bin/ -B/usr/local/users/pedro/dev/uclibc/buildroot/build/staging_dir/powerpc-eabi-linux/lib/ -isystem /usr/local/users/pedro/dev/uclibc/buildroot/build/staging_dir/powerpc-eabi-linux/include -O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc -I/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/. -I/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/config -I/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/../include  -fPIC -mstrict-align -DL_muldi3 -c /usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/libgcc2.c -o libgcc/./_muldi3.o
In file included from tconfig.h:21,
                 from
/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/libgcc2.c:36:
/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/config/rs6000/linux.h:81:20: signal.h: No such file or directory
/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-3.2.1/gcc/config/rs6000/linux.h:82:26: sys/ucontext.h: No such file or directory
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory
`/usr/local/users/pedro/dev/uclibc/buildroot/build/gcc-initial/gcc'
make[2]: *** [stmp-multilib] Error 2
ma
...







More information about the uClibc mailing list