Build Rtems 4.6.1 question

alex daniloff alex_daniloff at mail.ru
Fri Jul 23 16:32:40 UTC 2004


Hello

I'm trying to build rtems 4.6.1
target   - powerpc-rtems
bsp      - eth_comm

My software configuration:
rtems    - 4.6.1
binutils - 2.13.1
gcc      - 3.2.1 + 20021203.diff
newlib   - 1.10.0 + 20021127.diff

../rtems-4.6.1/configure --target=powerpc-rtems --disable-posix
--disable-itron --enable-networking --enable-cxx
--enable-rtemsbsp=eth_comm --prefix=.....
successful
make install all

I've got two error:

In file included from
/home/dan/RTEMS/rtems-4.6.1/powerpc-rtems/include/sys/types.h:32,
     from ../../../../eth_comm/lib/include/rtems/rtems/cache.h:36,
     from ../../../../eth_comm/lib/include/rtems.h:46,
     from
../../../../../../rtems-4.6.1/cpukit/libcsupport/src/gxx_wrappers.c:30:
/home/dan/RTEMS/rtems-4.6.1/powerpc-rtems/include/machine/types.h:18:
conflicting types for `int8_t'
../../../../eth_comm/lib/include/rtems/stdint.h:21: previous declaration
of `int8_t'gmake[4]: *** [o-optimize/gxx_wrappers.o] Error 1

int8_t int16_t int32_t declared in "machine/types.h" and in 
"rtems/stdint.h".
Is it right?

And

powerpc-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../eth_comm/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src-tests-samples\" -DPACKAGE_TARNAME=\"rtems-c-src-tests-samples\" -DPACKAGE_VERSION=\"4.6.1\" -DPACKAGE_STRING=\"rtems-c-src-tests-samples\ 4.6.1\" -DPACKAGE_BUGREPORT=\"rtems-bugs at rtems.com\" -isystem ../../../../../eth_comm/lib/include     -mcpu=860 -Dmpc860 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF  -O4 -fno-keep-inline-functions -g -Wall -ansi -fasm  -o o-optimize/init.o -c ../../../../../../../rtems-4.6.1/c/src/tests/samples/hello/init.c
powerpc-rtems-gcc --pipe -B../../../../../lib/ -B../../../../../eth_comm/lib/ -specs bsp_specs -qrtems -mcpu=860 -Dmpc860 -DPPC_ABI=PPC_ABI_EABI -DPPC_ASM=PPC_ASM_ELF
-O4 -fno-keep-inline-functions -g -Wall -ansi -fasm         -o o-optimize/hello.exe
o-optimize/init.o ../../../../../eth_comm/lib/no-dpmem.rel ../../../../../eth_comm/lib/no-event.rel ../../../../../eth_comm/lib/no-msg.rel ../../../../../eth_comm/lib/no-mp.rel ../../../../../eth_comm/lib/no-part.rel ../../../../../eth_comm/lib/no-signal.rel ../../../../../eth_comm/lib/no-timer.rel ../../../../../eth_comm/lib/no-rtmon.rel
../../../../../eth_comm/lib/librtemscpu.a(newlibc.o): In function `libc_create_hook':
/mnt/ext2/home/dan/RTEMS/Rt-4.6.1/tools/build-rtems/powerpc-rtems/c/eth_comm/exec/libcsupport/../../../../../../rtems-4.6.1/cpukit/libcsupport/src/newlibc.c:130: undefined reference to `_REENT_INIT_PTR'

Thanks, Alex




More information about the users mailing list