build problem on Ubuntu

Feng, Kate feng at
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 on behalf of Siddons, David
Sent: Mon 11/28/2011 8:25 PM
To: rtems-users at
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
ln -s

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

What should I have done?


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

email: siddons at
Phone: (631) 344-2738

rtems-users mailing list
rtems-users at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list