[uClibc]buildroot and signal.h missing (again)

Robin Gilks robin.gilks at tait.co.nz
Wed May 28 13:33:31 UTC 2003


Greetings

I seem to have hit the same problem as reported on the list back in 
February - but I couldn't find a resolution there.

My main interest at present it to create a cross compiling toolchain 
hosted on i386 Linux (Mandrake 9.1 distro) and targeted at PowerPC which 
will use uclibc - I have no interest in uclibc on the host (yet!)

The error I get is:
/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-initial/gcc/xgcc 
-B/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-initial/gcc/ 
-B/home/packages/uclibc/buildroot/build_powerpc/staging_dir/powerpc-linux/bin/ 
-B/home/packages/uclibc/buildroot/build_powerpc/staging_dir/powerpc-linux/lib/ 
-isystem 
/home/packages/uclibc/buildroot/build_powerpc/staging_dir/powerpc-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/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc 
-I/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc/. 
-I/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc/config 
-I/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc/../include 
  -fPIC -mstrict-align -DL_muldi3 -c 
/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc/libgcc2.c 
-o libgcc/./_muldi3.o
In file included from tconfig.h:21,
                  from 
/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc/libgcc2.c:36:
/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/gcc/config/rs6000/linux.h:81:20: 
signal.h: No such file or directory
/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-3.2.3/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 
`/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-initial/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory 
`/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory 
`/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-initial'
make: *** 
[/home/packages/uclibc/buildroot/toolchain_build_powerpc/gcc-initial/.compiled] 
Error 2
[gilksr at localhost buildroot]$


I gather this is related to headers on my host? I've loaded the 
requisite kernel sources (and headers) but since I have no need to 
compile a kernel thats as much as I've done. I infer from the partial 
fix on the list [From psanchez at nortelnetworks.com  Mon Feb  3 17:34:06 
2003 - Message-ID: <1044293647.1186.17.camel at pcard0ze>] that I need to 
run a make on my i386 kernel? - sounds a bit suspect to me!!

[gilksr at localhost buildroot]$ locate signal.h
/usr/share/doc/qt-3.1.1/doc/html/qsignal.html
/usr/share/doc/HTML/en/kdevelop/reference/C/MAN/signal.htm
/usr/lib/qt3/include/qsignal.h
/usr/include/asm/signal.h
/usr/include/signal.h
/usr/include/sys/signal.h
/usr/include/linux/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/asm-alpha/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/asm-i386/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/asm-ia64/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/asm-m68k/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/asm-ppc/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/asm-x86_64/signal.h
/usr/src/linux-2.4.21-0.13mdk/include/linux/signal.h
[gilksr at localhost buildroot]$

Any assistance appreciate - hopefully this will get me up the learning 
curve, its a few years since I did a bootstrap of gcc:-))


-- 
Robin Gilks
Senior Design Engineer          Phone: (+64)(3) 357 1569
Tait Electronics                Fax  :  (+64)(3) 359 4632
PO Box 1645 Christchurch        Email : robin.gilks at tait.co.nz
New Zealand



More information about the uClibc mailing list