Crosstool problem! PATH_MAX undeclared!
Dan Kegel
dank@kegel.com
Fri Oct 14 03:01:00 GMT 2005
Nitesh Guinde wrote:
> + cd /home/nitesh/KERNEL_SOURCES/crosstool-0.38
> + sh testhello.sh
> + cd /opt/powerpc-405-linux
> + test '!' -d tmp
> + mkdir tmp
> + cd tmp
> + test x '!=' x
> + cat
> + /opt/powerpc-405-linux/bin/powerpc-405-linux-gnu-gcc
> -static hello.c -o powerpc-405-linux-gnu-hello-static
> hello.c: In function `main':
> hello.c:4: error: `PATH_MAX' undeclared (first use in
> this function)
This is http://gcc.gnu.org/PR22541
See patches/gcc*/*fixinc*.patch for a workaround
The workaround is only provided for a few versions of gcc.
Which version of gcc are you building?
You may be able to simply copy the patch for another
version of gcc.
- Dan
--
Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list