Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <007d01c36189$acf99f00$6401a8c0@jag750> From: "Jag" To: Subject: help for a newbie C Programmer Date: Wed, 13 Aug 2003 11:57:23 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 Hi, I am trying to port some socket code from AIX onto unix. When I try to link the code I get ' ld: cannot find -lsocket' The line being executed is : ld -dy -G -o libbridge.so bridge.o nwutil.o jagsocket.o -Bstatic -lc -lsocket -lnsl I have searched for socket.a and nsl.a in the cygwin directory but they aren't there. The makefile works on AIX and I was hoping it would be a straight forward compilation on windows 2k. Can anyone please point me in the right direction ! Thanks Jag -- 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/