Some problem during the compilation of RTEMS.

Youren Shen shenyouren at
Thu Feb 20 02:21:31 UTC 2014

I am trying to transplant RTEMS to my mini24440 board(with S3C2440
processor,ARM 9).
However , I have meet some problem during compilation.
I've followed the RTEMS instructions and build my arm-rtems4.11-*
 tools,and when I compile RTEMS,This happened:

more undefined references to `pthread_setcancelstate' follow
collect2: error: ld returned 1 exit status

*So, I would like to know, which step probably causing this problem so I
can continue my job.*

Here is my configure of my Tools and RTEMS.

../binutils-2.24/configure --target=${TARGET} \

../gcc-4.8.1/configure --target=${TARGET} \
    --with-gnu-as --with-newlib --verbose \
    --enable-threads --enable-languages="c,c++" \

../rtems/configure --target=${TARGET} \
    --disable-posix --disable-networking \
    --disable-cxx --enable--rtemsbsp=smdk2410

By the way,I has suffer more problem before, and Here is one problem
impressed me.
I have been use binutils 2.20,and during te compilation of RTEMS:

arm-rtems4.11-gcc -B../../../../../smdk2410/lib/ -specs bsp_specs -qrtems
-mstructure-size-boundary=32 -mcpu=arm920t -mfpu=vfp -mfloat-abi=soft
-DCPU_S3C2410 -O2 -g -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs
 -mstructure-size-boundary=32 -mcpu=arm920t -mfpu=vfp -mfloat-abi=soft
-DCPU_S3C2410   -o hello.exe init.o
syntax error

So I googled it,and find this:[rtems commit] bsps/arm: Use
So I guess It's because of the version.Then I change the binutils to 2.24.
Then this problem seems not occur again for now.
The version of tools and there patches really confused me and I consider
that if we picked out the version information, there might be less

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list