Jump to content

Compile error


Guest daYz
 Share

Recommended Posts

Hi,

 

I trying to compile a program, but the installation gives me the next error:

 

gcc -fPIC -g -O2 -Wall -I. -static -o saveme saveme.c

/usr/bin/ld: cannot find -lc

collect2: ld returned 1 exit status

make: *** [saveme] Error 1

 

urpmf tells me that /usr/bin/ld is from binutils, but I have that installed. The Makefile contains the line LIBS = -lc. I have packages installed that contain libs. ./configure went fine I believe.

 

Does someone know how to solve this?

 

Thanks

Link to comment
Share on other sites

  • 2 weeks later...
Guest HaloScan

Thanks for the ./configure --help thing bvc. I had been having trouble compiling Gaim CVS since the configure script died on the GTK 2 check everytime but the ./configure --help showed a way around that. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...