Error linking with g++
Paco Ros
paco at bergantells.net
Sun May 15 10:44:27 UTC 2005
El sáb, 14-05-2005 a las 17:53 -0700, Daniel Robitaille escribió:
> > I've written a little program in C++ that throws the following error whe
> > I complile it:
> >
> > "/usr/bin/ld: cannot find -lgcc_s"
> >
> > I've been googling for this error with no success. Google gives me so
> > much results that I can't find anything informative on them :-(
> >
> > I'm using a properly updated Ubuntu Hoary.
> >
> > Does anybody know anything about this error?
>
> do you have all the packages needed to compile codes in Ubuntu?
>
> Or in other words:
> sudo apt-get install build-essential
It was a Makefile problem. I added a second -Xlinker option and it
worked.
I haven't studied gcc yet and I don't know how some options work :-( But
I will do :-)
Thanks for your responses.
Kind regards.
--
Paco - www.pacoros.net
() ascii ribbon campaign
/\ against Outlook mail
More information about the ubuntu-users
mailing list