build problem on Ubuntu
Feng, Kate
feng at bnl.gov
Tue Nov 29 04:09:53 UTC 2011
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
-----Original Message-----
From: rtems-users-bounces at rtems.org on behalf of Siddons, David
Sent: Mon 11/28/2011 8:25 PM
To: rtems-users at rtems.org
Subject: build problem on Ubuntu
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: siddons at bnl.gov
Phone: (631) 344-2738
_______________________________________________
rtems-users mailing list
rtems-users at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20111128/7c2e67fb/attachment-0001.html>
More information about the users
mailing list