messing files were can i find them

c++ -O2 main.o support.o manage.o interface.o servinterface.o clinterface.o sysinterface.o fsd.o cluser.o user.o servuser.o wprofile.o server.o client.o sysuser.o certificate.o mm.o process.o config.o authenticate.o -lnsl -lm  -static -o ../unix/fsd
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lnsl
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lm
/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status


i am trying to compile an make a file i keep getting an error
were can i find the above files

Hi

your compiler is expecting to find some link librariies (nsl, m and c) at someplace .

you need to provide the path where to look for them.

Cheers

only problem i have no idea were they are.

Hi welcome,

To help you properly we need lots more info. Which openSUSE? Default repos or “added a few of your own”? What are you trying to compile (sometimes a development environment pattern installs all you’re missing now, one thing at each attempt)?

i’am new at this so some the things you talking is confusing to me.
i was using another linux before it was 32 bit system now i am on a 64 bit
when i make clean this works fine
when i make it comes up with the messing files i am lost here. its almost to the point go back
to the other linux.but i would like to get one working.

And that other linux would have been??? Arch ???

On openSUSE compiling your own stuff is not common. The first thing one does, is check whether what’s desired / needed isn’t already available, by searching for it in Yast - Software - Softwaremanagement
Next option is to search for it on software.opensuse.org: Download openSUSE 12.2 .

And please note, no matter which linux you run, from the few lines you posted we can only see that you’re attempting to compile something and that other somethings aren’t there. Not enough to help you out.

the other linux was Ubuntu and it worked on there. but it was the 32bit
the package i am trying to make is FSD Server software
i need to contact the creater of FSD and see if he might have any idea’s what to do
he might tell me go back to ubuntu.
right now i am stuck dont know what to do next.

thank you for your time.

On 01/28/2013 03:26 PM, fsmatt wrote:
>
> the other linux was Ubuntu and it worked on there. but it was the 32bit
> the package i am trying to make is FSD Server software
> i need to contact the creater of FSD and see if he might have any
> idea’s what to do
> he might tell me go back to ubuntu.
> right now i am stuck dont know what to do next.
>
> thank you for your time.

You have an incomplete set of packages for development. The files you want are
libnsl, libm and libc. All of these are found in the glibc package. Make sure
you have installed it.

The other thing I see is that “-static” on the link line. The normal thing to do
is to link against the shared libraries. In fact, openSUSE does not supply
static versions of the libraries you are “missing”. Remove that static and see
if that helps.

thank you that did it working now.

this had been resolved working now thanks.