rtems source build error
박시형
inputsh at gmail.com
Mon Dec 21 08:14:04 UTC 2015
Hi, first thanks for reply and sorry for late.
Anyway, I tried to build without "--disable-posix" which you told.
And now some new error occurred.
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_rwlock_t... yes
checking for pthread_barrier_t... yes
checking for pthread_spinlock_t... yes
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 'leon3' failed
gmake[2]: *** [leon3] Error 1
gmake[2]: Leaving directory '/home/sh/leon3/sparc-rtems4.11/c'
Makefile:348: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory '/home/sh/leon3/sparc-rtems4.11/c'
Makefile:473: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
some thread in mailing list archive seems similar, but I can't solve using
their solution.
And if I may ask you where can I find newest page.
best regards.
Sean.
2015-12-18 17:43 GMT+09:00 Nick Withers <nick.withers at anu.edu.au>:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20151221/766ea67d/attachment-0002.html>
More information about the users
mailing list