delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/10/11:08:28

From: psion AT mv DOT mv DOT com (Chris Williams)
Subject: Link errors.
10 Mar 1997 11:08:28 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33241CC6.5A77.cygnus.gnu-win32@mv.mv.com>
Mime-Version: 1.0
X-Mailer: Mozilla 4.0b2 (WinNT; I)
Original-To: Gnu-Win32 Mailing List <gnu-win32 AT cygnus DOT com>
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

I've been trying to compile the Genesis ColdC driver with cygwin32, and
have finally gotten everything to compile without errors, but it goes to
link all the little object files, it gives me a whole shitload of errors
like this:

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
with all the options in it which supposedly turn on winsock support..

-- 
                                  -Chris^`~'*.,_,.*'~`^P$iON-
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM/IT/M/S d-- s+: a15 C++++$ UL+ P L-- E? W++(+++) N+ o? K? w++++@
O--- M-- V- PS++ PE- Y+ PGP- t+ 5++ X+ R+ tv+ b++ DI+++ D+
G++ e* h! r y- 
------END GEEK CODE BLOCK------
-
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