This is a discussion on /usr/bin/ld: cannot find -lgcc_s within the Debian Linux support forums, part of the Debian Linux category; --> Hi, I installed Damn Small Linux and I've been having fun with it. I have a question about compiling. ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi, I installed Damn Small Linux and I've been having fun with it. I have a question about compiling. I untarred a RevealRadio program in my home directory and used "make". It stops with this error: /usr/bin/ld: cannot find -lgcc_s >From searching usenet I know that it's a problem of not finding the library. So I look in /usr/lib and libgcc_s.so is there but the compiler is looking in a different directory which has a symbolic link to libgcc_s.so. Why won't it work? Thanks, Mike |
| ||||
| mwhite@aristotle.net wrote: > Hi, > > I installed Damn Small Linux and I've been having fun with it. I have > a question about compiling. I untarred a RevealRadio program in my > home directory and used "make". It stops with this error: > /usr/bin/ld: cannot find -lgcc_s > > >From searching usenet I know that it's a problem of not finding the > library. So I look in /usr/lib and libgcc_s.so is there but the > compiler is looking in a different directory which has a symbolic link > to libgcc_s.so. Why won't it work? > > Thanks, > Mike For anyone interested I did finally get the program to compile. I did a smaller test program "Hello World" and put in all of the include statements that the radio program used. I just typed in a simple gcc statement and didn't use a make file and everything compiled. Next I commented out extra instructions for the compiler in the radio program makefile and the program compiled. Mike |
| Thread Tools | |
| Display Modes | |
|
|