crosstool 0.38 - can´t cross compile gcc3.3.4 and glibc 2.3.3 with 2.4.14 kernel headers
Mon Oct 3 13:10:00 GMT 2005
I have modified a linux kernel 2.4.14 to include MLS controls on the
filesystem module (for i386 only), I have changed various kernel system
calls (not interfaces) and I have added new ones. Now I need to cross
compile a set of user programs to make a system to install and test the
new kernel. (I've test it with static programs and it runs properly, but
now I need to build a standard distribution with coreutils, bash and so
on, dinamically linked with glibc).
So, I have installed crosstools 0.38 and I have choose glibc 2.3.3 and gcc
3.3.4. I put the modified kernel 2.4.14 sources and I ran the demo-i386.sh
The problem occurs when the script trys to test the gcc and glibc already
compiled and these errors happens:
-static hello.c -o i386-unknown-linux-gnu-hello-static
hello.c: In function `main':
hello.c:4: error: `PATH_MAX' undeclared (first use in this function)
hello.c:4: error: (Each undeclared identifier is reported only once
hello.c:4: error: for each function it appears in.)
I have tried to compile the same combination of glibc and gcc with the
original kernel 2.4.26 but the same error happend.
What can I do?
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc