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