f



vxworks powerpc cross compiler build error.

Hi,

I'm trying to build a cross compiler for VxWorks with powerpc target.
My build system is RH FC2.

I get this error:

/home/ju/new-gcc/gcc-2.95.3/objdir/gcc/xgcc
-B/home/ju/new-gcc/gcc-2.95.3/objdir/gcc/
-B/home/ju/new-gcc/vxworks/powerpc-wrs-vxworks/bin/ -c -DHAVE_CONFIG_H
-g -O2 -I. -I../../../libiberty/../include
.../../../libiberty/fdmatch.c -o pic/fdmatch.o
/home/ju/new-gcc/gcc-2.95.3/objdir/gcc/xgcc
-B/home/ju/new-gcc/gcc-2.95.3/objdir/gcc/
-B/home/ju/new-gcc/vxworks/powerpc-wrs-vxworks/bin/ -c -DHAVE_CONFIG_H
-g -O2 -I. -I../../../libiberty/../include  ../../../libiberty/fdmatch.c
In file included from ../../../libiberty/fdmatch.c:60:
/home/ju/new-gcc/vxworks/lib/gcc-lib/powerpc-wrs-vxworks/2.95.3/../../../../powerpc-wrs-vxworks/sys-include/sys/stat.h:44:
parse error before `ULONG'
/home/ju/new-gcc/vxworks/lib/gcc-lib/powerpc-wrs-vxworks/2.95.3/../../../../powerpc-wrs-vxworks/sys-include/sys/stat.h:44:
warning: no semicolon at end of struct or union
/home/ju/new-gcc/vxworks/lib/gcc-lib/powerpc-wrs-vxworks/2.95.3/../../../../powerpc-wrs-vxworks/sys-include/sys/stat.h:45:
warning: data definition has no type or storage class
/home/ju/new-gcc/vxworks/lib/gcc-lib/powerpc-wrs-vxworks/2.95.3/../../../../powerpc-wrs-vxworks/sys-include/sys/stat.h:46:
parse error before `st_mode'

Does anyone know how to fix this?

Thanks
0
j_kkachi (17)
8/13/2004 11:07:21 AM
comp.os.vxworks 5962 articles. 4 followers. motamedi24 (67) is leader. Post Follow

0 Replies
612 Views

Similar Articles

[PageSpeed] 14

Reply: