delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/11/02:27:30

From: sos AT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Link errors.
11 Mar 1997 02:27:30 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <01BC2E1C.6918DB90.cygnus.gnu-win32@gater.krystalbank.msk.ru>
Original-To: Gnu-Win32 Mailing List <gnu-win32 AT cygnus DOT com>,
"'Chris Williams'"
<psion AT mv DOT mv DOT com>
Encoding: 17 TEXT
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Chris Williams wrote:
> net.o: In function `grab_port':
> /Genesis-1.0p24/src/net.c:228: undefined reference to `htons AT 4'
> /Genesis-1.0p24/src/net.c:236: undefined reference to `socket AT 12'
> /Genesis-1.0p24/src/net.c:243: undefined reference to `setsockopt AT 20'
> /Genesis-1.0p24/src/net.c:246: undefined reference to `bind AT 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
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019