[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
compile error with rtems 4.6.5
- Date: Thu, 22 Mar 2007 12:42:53 +0800 (CST)
- From: yanmiaobest at 163.com (yanmiaobest)
- Subject: compile error with rtems 4.6.5
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://rtems.rtems.org/pipermail/rtems-users/attachments/20070322/72f1e1b4/attachment-0001.html