Re: help for a newbie C Programmer

2003-08-14 Thread Gerrit P. Haase
Hallo Jag, Am Mittwoch, 13. August 2003 um 12:57 schriebst du: > 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 -

help for a newbie C Programmer

2003-08-14 Thread Jag
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 direc

Re: Fw: help for a newbie C Programmer

2003-08-14 Thread Ronald Landheer-Cieslak
that I am porting > some AIX code onto windows 2k. That's what I WAGed. rlc > Thanks > > - Original Message - > > From: "Ronald Landheer-Cieslak" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, August 13, 2003

RE: help for a newbie C Programmer

2003-08-14 Thread Norman Vine
Jag writes: > > I tried that, but I am still getting the following error. > > $ gcc -shared -o > libbridge.dll -Wl,--out-implib=libbridge.dll.a -Wl,--export-al > l-symbols -Wl,--enable-auto-import -Wl,--whole-archive bridge.o nwutil.o > jagsoc > ket.o -Wl,--no-whole-archive > Creating library

Re: help for a newbie C Programmer

2003-08-14 Thread Jag
Haase" <[EMAIL PROTECTED]> To: "Jag" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, August 13, 2003 2:08 PM Subject: Re: help for a newbie C Programmer > Hallo Jag, > > Am Mittwoch, 13. August 2003 um 12:57 schriebst du: > > >

Re: help for a newbie C Programmer

2003-08-14 Thread Ronald Landheer-Cieslak
On Wed, Aug 13, 2003 at 11:57:23AM +0100, Jag wrote: > I am trying to port some socket code from AIX onto unix. AFAIK, AIX is a UNIX platform.. > 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

Re: help for a newbie C Programmer

2003-08-14 Thread Gerrit P. Haase
Hallo Jag, Am Mittwoch, 13. August 2003 um 19:46 schriebst du: > Hi Gerrit, > I tried that, but I am still getting the following error. > $ gcc -shared -o > libbridge.dll -Wl,--out-implib=libbridge.dll.a -Wl,--export-al > l-symbols -Wl,--enable-auto-import -Wl,--whole-archive bridge.o nwutil.o

Fw: help for a newbie C Programmer

2003-08-14 Thread Jag
TECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, August 13, 2003 12:41 PM > Subject: Re: help for a newbie C Programmer > > > > On Wed, Aug 13, 2003 at 11:57:23AM +0100, Jag wrote: > > > I am trying to port some socket code from AIX onto unix. > > AFA