Newbie RTEMs user's RTEMS build failing

jamesfit at paradise.net.nz jamesfit at paradise.net.nz
Thu Dec 19 21:29:21 UTC 2002


Hi all,
I am new to RTEMS and this is my first post to this list.

I have downloaded and successfully built (from source) the RTEMS toolchain on a 
Mac OS X host (my development machine) for an m68k target.

I encountered a problem building RTEMS itself however. I am building the latest 
snapshot and the mrm332 BSP. You can see the error below.

Thanks for any and all help you can provide,
regards,
James Fitzsimons

<snip>
Making all in src
make  all-am
mkdir o-optimize
m68k-rtems-gcc --pipe -isystem ../../../../../mrm332/lib/include -
DHAVE_CONFIG_H    -I. -D__RTEMS_INSIDE__ -ansi -fasm      -O4 -fomit-frame-
pointer -g -O2 -mcpu32  -o o-optimize/adasupp.o -c ../../../../../../../rtems-
ss-20021118/c/src/../../cpukit/posix/src/adasupp.c
m68k-rtems-gcc --pipe -isystem ../../../../../mrm332/lib/include -
DHAVE_CONFIG_H    -I. -D__RTEMS_INSIDE__ -ansi -fasm      -O4 -fomit-frame-
pointer -g -O2 -mcpu32  -o o-optimize/cancel.o -c ../../../../../../../rtems-ss-
20021118/c/src/../../cpukit/posix/src/cancel.c
m68k-rtems-gcc --pipe -isystem ../../../../../mrm332/lib/include -
DHAVE_CONFIG_H    -I. -D__RTEMS_INSIDE__ -ansi -fasm      -O4 -fomit-frame-
pointer -g -O2 -mcpu32  -o o-optimize/cancelrun.o -c ../../../../../../../rtems-
ss-20021118/c/src/../../cpukit/posix/src/cancelrun.c
../../../../../../../rtems-ss-
20021118/c/src/../../cpukit/posix/src/cancelrun.c: In function 
`_POSIX_Threads_cancel_run':
../../../../../../../rtems-ss-
20021118/c/src/../../cpukit/posix/src/cancelrun.c:55: `PTHREAD_CANCELED' 
undeclared (first use in this function)
../../../../../../../rtems-ss-
20021118/c/src/../../cpukit/posix/src/cancelrun.c:55: (Each undeclared 
identifier is reported only once
../../../../../../../rtems-ss-
20021118/c/src/../../cpukit/posix/src/cancelrun.c:55: for each function it 
appears in.)
make[6]: *** [o-optimize/cancelrun.o] Error 1
make[5]: *** [all] Error 2
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
bash-2.05a$ 
</snip>



More information about the users mailing list