Subject: RE: Link errors.
From: [email-masked] (Sergey Okhapkin)

11 Mar 1997 02:27:30 -0800
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
Original-To: Gnu-Win32 Mailing List <[email-masked]>,
        "'Chris Williams'"
	 <[email-masked]>
Encoding: 17 TEXT
Original-Sender: [email-masked]

Chris Williams wrote:
> net.o: In function `grab_port':
> /Genesis-1.0p24/src/net.c:228: undefined reference to `htons@4'
> /Genesis-1.0p24/src/net.c:236: undefined reference to `socket@12'
> /Genesis-1.0p24/src/net.c:243: undefined reference to `setsockopt@20'
> /Genesis-1.0p24/src/net.c:246: undefined reference to `bind@12'
> 
> What are the little @numbers at the end, and why's this happening?
> I'm including <Windows32/Sockets.h> in net.c, and I've messed around

Include <sys/socket.h> instead.

-- 
Sergey Okhapkin
Moscow, Russia
Looking for a job.

-
For help on using this list, send a message to
"[email-masked]" with one line of text: "help".