rtems source build error

Nick Withers nick.withers at anu.edu.au
Fri Dec 18 08:43:26 UTC 2015


Hi Sean,

On Fri, 2015-12-18 at 17:33 +0900, 박시형 wrote:
> Hello.
> I'm trying to build rtems source code.
> 
> I followed this page:
> https://devel.rtems.org/wiki/TBR/UserManual/Quick_Start
> 
> But, when I run make after configure like this
> ../rtems/configure --target=sparc-rtems4.11 --enable-rtemsbsp=sis \
>   --enable-tests=samples --disable-posix
> 
> some error occurred.
> 
> checking for struct _pthread_cleanup_context... no
> configure: error: struct _pthread_cleanup_context in <pthread.h> is
> mandatory
> configure: error: /bin/sh
> '../../../../../rtems4.11/c/src/../../cpukit/configure' failed for
> ../../cpukit
> Makefile:784: recipe for target 'sis' failed
> gmake[2]: *** [sis] Error 1
> gmake[2]: Leaving directory '/home/sh/b-sis/sparc-rtems4.11/c'
> Makefile:348: recipe for target 'all-recursive' failed
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory '/home/sh/b-sis/sparc-rtems4.11/c'
> Makefile:473: recipe for target 'all-recursive' failed
> make: *** [all-recursive] Error 1
> 
> 
> how can I solve this problem?

Could you please retry without the "--disable-posix" configure switch?

Unfortunately the wiki page you found isn't necessarily up to date.

> best regards.
> 
> sean
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users



More information about the users mailing list