compile error with rtems 4.6.5
yanmiaobest
yanmiaobest at 163.com
Thu Mar 22 04:42:53 UTC 2007
Hello,
I got many compile errors when I tried to build rtems 4.6.5 for sparc under FC6. My configurations is:
configure --target=sparc-rtems --prefix=/opt/rtems --enable-tests
sparc-rtems-gcc --pipe -DPACKAGE_NAME=\"rtems-cpukit-librpc\" -DPACKAGE_TARNAME= \"rtems-cpukit-librpc\" -DPACKAGE_VERSION=\"4.6.5\" -DPACKAGE_STRING=\"rtems-cpu kit-librpc\ 4.6.5\" -DPACKAGE_BUGREPORT=\"rtems-bugs at rtems.com\" -isystem ../ ../../../../../erc32/lib/include '-D__P(x)=x' -mcpu=cypress -O4 -g -Wall - o o-optimize/xdr.o -c ../../../../../../../../rtems-4.6.5/c/src/../../cpukit/lib rpc/src/xdr/xdr.c
In file included from ../../../../../../../../rtems-4.6.5/c/src/../../cpukit/lib rpc/src/xdr/xdr.c:51:
./../../../../../erc32/lib/include/rpc/xdr.h:102: error: parse error before "int32_t"
./../../../../../erc32/lib/include/rpc/xdr.h:104: error: parse error before '*' token
./../../../../../erc32/lib/include/rpc/xdr.h:104: error: `int32_t' declared as function returning a function
..
..
..
but when I disabled networking, it worked!
It seems someone reported the same problem before(he/she was trying to build rtems 4.6.2)in Mailing list, and I checked the cpukit/librpc/include/rpc/xdr.h,
it does't have int32_t at that line number.
what's wrong with it?
best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070322/72f1e1b4/attachment.html>
More information about the users
mailing list