build problem on Ubuntu

15 views
Skip to first unread message

D Peter Siddons

unread,
Nov 28, 2011, 8:25:21 PM11/28/11
to rtems...@rtems.org
I just built RTEMS-4.10 on my Ubuntu 11.04 system. I followed the
"getting started" instructions for Debian-based releases and all of the
packages converted OK using alien. When I came to building, I got the
"compiler can't create executables" error. THe guide tells me to install
the libc-dev package. On investigating, Ubuntu has libc6-dev, which was
already installed. So I tried to compile a simple "Hello world" program
free-standing, using:

m68k-rtems4.10-gcc -c hello.c

It failed, complaining about not finding two libraries. I committed the
following sins:

In /usr/lib/ I did

ln -s libmpfr.so.4 libmpfr.so.1
ln -s libcloog-debian.so.0 libcloog.so.0

After that, hello world compiled, and the full rtems build completed
successfully.

What should I have done?

Pete.


--
D. Peter Siddons
Detector Development Group Leader
NSLS, Bldg. 725D
Photon Sciences Directorate,
Brookhaven National Laboratory
Upton, NY 11973

email: sid...@bnl.gov
Phone: (631) 344-2738

_______________________________________________
rtems-users mailing list
rtems...@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users

Feng, Kate

unread,
Nov 28, 2011, 11:09:53 PM11/28/11
to Siddons, David, rtems...@rtems.org

I can not remember what error message I got after I used the alien
for PowerPC on Ubutu.  It was either 4.9 or 4.10, or both.
My solution was to download the source code of the
compiling tools for PowerPC and build it. 

Kate Feng

Reply all
Reply to author
Forward
0 new messages