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]

Re: Crosstool problem! PATH_MAX undeclared!


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


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