This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

crosstool 0.38 - can´t cross compile gcc3.3.4 and glibc 2.3.3 with 2.4.14 kernel headers


Hi!
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
script.
The problem occurs when the script trys to test the gcc and glibc already
compiled and these errors happens:

/home/ggiusti/devel/prueba7/opt/crosstool/gcc-3.3.4-glibc-2.2.5/i386-unknown-linux-gnu/bin/i386-unknown-linux-gnu-gcc
-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?

Thanks!!

Gisela Giusti


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]