This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How do I link libnsl.a in Cygwin? It is not available in the Cygwin installed.


 
Following is the error message i recieve :-
--------------------------------------------

g++  -g -O2 -o run run.o libsim.a  ../../bfd/libbfd.a
../../opcodes/libopcodes.a 
../../libiberty/libiberty.a -lnsl  -lm 
/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/../../../../i686-pc-cygwin/bin/ld:
cannot
find -lnsl
collect2: ld returned 1 exit status
make[2]: *** [run] Error 1

Note: forwarded message attached. 


	
	
		
____________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html
--- Begin Message ---
Hi All,

I am trying to port my Linux 8.0 code to Cygwin.
However my source code uses libnsl.a which is not to
be found in the package...!
Where can I download this library ?
Is there any other package that I can use  ??
Plzzz help !!


Thanks in advance,
Megha.



	
	
		
Chat instantly with your online friends?  Get the
FREE Yahoo! Messenger http://uk.messenger.yahoo.com/

--- End Message ---
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]