All right, so after a little playing and some verification, I successfully compiled a simple hello world program. I am using the stock 'gumstix-basic-image', so the following may be different for other images. The problem I was having was caused by a broken symlink, which didn't point to the proper location because I installed packages to an MMC device.

From a clean image, I had to install the following packages via ipkg (after performing 'ipkg update'):


Please note that lib6c-dev will satisfy a few dependencies if they are not already present:

If these packages were installed to a CF or MMC device, you will need to issue the appropriate 'ipkg-link' commands. Also, a symbolic link is broken if not installed to the root filesystem, so it needs to be fixed using the following commands:

rm /media/card/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/
ln -s /lib/ /media/card/usr/lib/gcc/arm-angstrom-linux-gnueabi/4.1.2/
(These commands will use different paths for CF users)

At this point, all required items are present to build a simple program.

On Sat, Mar 1, 2008 at 1:12 PM, Steve Sakoman <> wrote:

This has been on my todo list  -- I've played around with it a little
to make sure I had the basic packages in the repository.

I think you need at least:


If you do get it working, please keep track & post a how to on the
list or the User Wiki!

There are some sdk tasks in snapshot/packages/tasks that have big
supersets of what you need, but I've been looking for the minimum for
"hello world" type apps.


On Sat, Mar 1, 2008 at 12:00 PM, Jeremy Halter <> wrote:
> I have been trying to use ipkg to install the necessary packages for native
> compilation on the Gumstix, but I have not had much success. I have searched
> the packages generated from 'ipkg list' and have not found a generic
> 'build-essential' type package, so I've tried installing most of the
> packages related to gcc and libc, but still have errors from the linker
> reporting messages like:
> /bin/ld: cannot find -lgcc_s
> Can anyone point me to a list of packages needed for a build system, or a
> relevant tutorial?
> Thanks for any help,
> Jeremy
> -------------------------------------------------------------------------
>  This email is sponsored by: Microsoft
>  Defy all challenges. Microsoft(R) Visual Studio 2008.
> _______________________________________________
>  gumstix-users mailing list

This email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
gumstix-users mailing list