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 -
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
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
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
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:
>
> >
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
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
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
8 matches
Mail list logo