<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello all,<div><br></div><div>Here is the command:</div><div><br></div><div>sparc-rtems4.11-g++ -o runner runner.cpp</div><div><br></div><div>Here are the error messages:</div><div><div style="background-color: transparent; font-family: Times; "><b id="internal-source-marker_0.6523060537874699" style="font-weight: normal; "><span style="font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; "><br></span></b></div><div style="background-color: transparent; "><b id="internal-source-marker_0.6523060537874699" style="font-weight: normal; "><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/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</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/libstdc++.a(eh_alloc.o): In function `__gthread_mutex_destroy':</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/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'</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/libstdc++.a(locale.o): In function `__gthread_mutex_destroy':</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/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'</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/opt/rtems-4.11/lib/gcc/sparc-rtems4.11/4.6.2/libstdc++.a(locale_init.o): In function `__gthread_mutex_destroy':</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">/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'</span><br><span style="color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; ">collect2: ld returned 1 exit status</span></b></div></div><div style="font-family: Times; background-color: transparent; "><b id="internal-source-marker_0.6523060537874699" style="font-weight: normal; "><span style="font-size: 15px; font-family: Arial; color: rgb(0, 0, 0); background-color: transparent; font-weight: normal; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap; "><br></span></b></div><div style="background-color: transparent; "><span class="Apple-style-span" style="white-space: pre-wrap; ">How to fix this problem?</span></div><div style="background-color: transparent; "><span class="Apple-style-span" style="white-space: pre-wrap; "><br></span></div><div style="background-color: transparent; "><span class="Apple-style-span" style="white-space: pre-wrap; ">regards,</span></div><div style="background-color: transparent; "><span class="Apple-style-span" style="white-space: pre-wrap;">xiaochen</span></div><div style="background-color: transparent; "><font class="Apple-style-span" face="Arial"><span class="Apple-style-span" style="font-size: 15px; white-space: pre-wrap;"><br></span></font></div></body></html>