[GSOC] How to compile with sparc-rtems4.11-g++ command?

Xiaochen Pan panx at seas.upenn.edu
Thu Jun 21 20:54:16 UTC 2012


Hello all,

Here is the command:

sparc-rtems4.11-g++ -o runner runner.cpp

Here are the error messages:

/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/../../../../sparc-rtems4.11/bin/ld: warning: cannot find entry symbol _start; defaulting to 00010074
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/libstdc++.a(eh_alloc.o): In function `__gthread_mutex_destroy':
/builddir/build/BUILD/rtems-4.11-sparc-rtems4.11-gcc-4.6.2/build/sparc-rtems4.11/libstdc++-v3/include/sparc-rtems4.11/bits/gthr-default.h:114: undefined reference to `rtems_gxx_mutex_destroy'
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/libstdc++.a(locale.o): In function `__gthread_mutex_destroy':
/builddir/build/BUILD/rtems-4.11-sparc-rtems4.11-gcc-4.6.2/build/sparc-rtems4.11/libstdc++-v3/include/sparc-rtems4.11/bits/gthr-default.h:114: undefined reference to `rtems_gxx_mutex_destroy'
/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/libstdc++.a(locale_init.o): In function `__gthread_mutex_destroy':
/builddir/build/BUILD/rtems-4.11-sparc-rtems4.11-gcc-4.6.2/build/sparc-rtems4.11/libstdc++-v3/include/sparc-rtems4.11/bits/gthr-default.h:114: undefined reference to `rtems_gxx_mutex_destroy'
collect2: ld returned 1 exit status

How to fix this problem?

regards,
xiaochen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20120621/1640d665/attachment.html>


More information about the devel mailing list