<div dir="ltr"><div><div>On Sat, Nov 30, 2013 at 6:35 PM, Kate Feng <span dir="ltr"><<a href="mailto:kate007.feng@gmail.com" target="_blank">kate007.feng@gmail.com</a>></span> wrote:<br><br>> gmake RTEMS_BSP="mvme5500<br>
<br></div>I meant to type :<br>gmake RTEMS_BSP="mvme5500"<br><br></div><div>or<br><br></div><div>gmake all<br></div><div><br></div><div>Cheers,<br></div><div>Kate Feng<br></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Sat, Nov 30, 2013 at 6:35 PM, Kate Feng <span dir="ltr"><<a href="mailto:kate007.feng@gmail.com" target="_blank">kate007.feng@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">I used the following configure options (before 'gmake') for RTEMS 4.10.2<br>on Ubuntu 12.04 (precise) 64-bit, and it works well. <div><div class="gmail_extra"><br>../rtems-4.10.2/configure -target=powerpc-rtems4.10 -prefix=/opt/rtems-4.10.2 --enable-cxx --enable-rdbg --disable-tests --enable-maintainer-mode --enable-networking --enable-posix --enable-itron RTEMS_CFLAGS=-g -enable-rtemsbsp=mvme5500<br>
<br>gmake RTEMS_BSP="mvme5500<br><br></div><div class="gmail_extra">You should delete the old build directory, and restart a new build.<br><br></div><div class="gmail_extra">Hope that this helps.<br><br></div><div class="gmail_extra">
Cheers,<br></div><div class="gmail_extra">Kate Feng<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Nov 21, 2013 at 7:41 PM, Nadia Gruman <span dir="ltr"><<a href="mailto:Nadia.Gruman@pro-dex.com" target="_blank">Nadia.Gruman@pro-dex.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Tahoma">Hello,
<br>
<br>
I'm building rtems 4.11 on Ubuntu 12.04 (precise) 64-bit for the powerpc mvme5500. I have built and installed the tools successfully:<br>
<br>
ls /opt/rtems-4.11/bin/<br>
powerpc-rtems4.11-addr2line* powerpc-rtems4.11-gdb*<br>
powerpc-rtems4.11-ar* powerpc-rtems4.11-gprof*<br>
powerpc-rtems4.11-as* powerpc-rtems4.11-ld*<br>
powerpc-rtems4.11-c++* powerpc-rtems4.11-ld.bfd*<br>
powerpc-rtems4.11-c++filt* powerpc-rtems4.11-nm*<br>
powerpc-rtems4.11-cpp* powerpc-rtems4.11-objcopy*<br>
powerpc-rtems4.11-elfedit* powerpc-rtems4.11-objdump*<br>
powerpc-rtems4.11-g++* powerpc-rtems4.11-ranlib*<br>
powerpc-rtems4.11-gcc* powerpc-rtems4.11-readelf*<br>
powerpc-rtems4.11-gcc-4.8.1* powerpc-rtems4.11-run*<br>
powerpc-rtems4.11-gcc-ar* powerpc-rtems4.11-size*<br>
powerpc-rtems4.11-gcc-nm* powerpc-rtems4.11-strings*<br>
powerpc-rtems4.11-gcc-ranlib* powerpc-rtems4.11-strip*<br>
powerpc-rtems4.11-gcov*<br>
<br>
and now building rtems. I got the source from git and did the following:<br>
<br>
<pre>export PATH=/opt/rtems-4.11/bin:$PATH
./bootstrap
cd ..
mkdir b-sis
cd b-sis
../rtems/configure --target=powerpc-rtems4.11 --enable-rtemsbsp=mvme5500 --enable-tests=samples --disable-posix<br>make<br><br>on make I get the following errors: <br>powerpc-rtems4.11-gcc -B../../../../../mvme5500/lib/ -specs bsp_specs -qrtems -mcpu=7450 -mtune=7450 -Dmpc7455 -O2 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -mcpu=7450 -mtune=7450 -Dmpc7455 -o hello.exe init.o <br>
/opt/rtems-4.11/lib/gcc/powerpc-rtems4.11/4.8.1/../../../../powerpc-rtems4.11/lib/m7400/libc.a(lib_a-fflush.o): In function `_fflush_r':<br>/home/nadgru/tools/b-gcc/powerpc-rtems4.11/m7400/newlib/libc/stdio/../../../../../../gcc-4.8.1/newlib/libc/stdio/fflush.c:229: undefined reference to `pthread_setcancelstate'<br>
/home/nadgru/tools/b-gcc/powerpc-rtems4.11/m7400/newlib/libc/stdio/../../../../../../gcc-4.8.1/newlib/libc/stdio/fflush.c:231: undefined reference to `pthread_setcancelstate'<br>/opt/rtems-4.11/lib/gcc/powerpc-rtems4.11/4.8.1/../../../../powerpc-rtems4.11/lib/m7400/libc.a(lib_a-findfp.o): In function `__sfp':<br>
/home/nadgru/tools/b-gcc/powerpc-rtems4.11/m7400/newlib/libc/stdio/../../../../../../gcc-4.8.1/newlib/libc/stdio/findfp.c:111: undefined reference to `pthread_setcancelstate'<br>/home/nadgru/tools/b-gcc/powerpc-rtems4.11/m7400/newlib/libc/stdio/../../../../../../gcc-4.8.1/newlib/libc/stdio/findfp.c:135: undefined reference to `pthread_setcancelstate'<br>
/home/nadgru/tools/b-gcc/powerpc-rtems4.11/m7400/newlib/libc/stdio/../../../../../../gcc-4.8.1/newlib/libc/stdio/findfp.c:124: undefined reference to `pthread_setcancelstate'<br>/opt/rtems-4.11/lib/gcc/powerpc-rtems4.11/4.8.1/../../../../powerpc-rtems4.11/lib/m7400/libc.a(lib_a-fwrite.o):/home/nadgru/tools/b-gcc/powerpc-rtems4.11/m7400/newlib/libc/stdio/../../../../../../gcc-4.8.1/newlib/libc/stdio/fwrite.c:122: more undefined references to `pthread_setcancelstate' follow<br>
collect2: error: ld returned 1 exit status<br>make[6]: *** [hello.exe] Error 1<br>make[6]: Leaving directory `/home/nadgru/tools/b-sis/powerpc-rtems4.11/c/mvme5500/testsuites/samples/hello'<br>make[5]: *** [all-recursive] Error 1<br>
make[5]: Leaving directory `/home/nadgru/tools/b-sis/powerpc-rtems4.11/c/mvme5500/testsuites/samples'<br>make[4]: *** [all] Error 2<br>make[4]: Leaving directory `/home/nadgru/tools/b-sis/powerpc-rtems4.11/c/mvme5500/testsuites/samples'<br>
make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/nadgru/tools/b-sis/powerpc-rtems4.11/c/mvme5500/testsuites'<br>make[2]: *** [all-recursive] Error 1<br>make[2]: Leaving directory `/home/nadgru/tools/b-sis/powerpc-rtems4.11/c/mvme5500'<br>
make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/nadgru/tools/b-sis/powerpc-rtems4.11/c'<br>make: *** [all-recursive] Error 1<br>nadgru@lx-test:~/tools/b-sis$ <br><br>Has anyone encountered this? I tried adding --enable-posix, but that didn't help. <br>
<br>Thank you. <span><font color="#888888"><br>Nadia. <br></font></span></pre>
<br>
</div>
</div>
<br></div></div><div class="im">_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org" target="_blank">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div>