From: unuroboros AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: WATT-32 library compile for djgpp Date: Tue, 19 Dec 2000 15:48:15 GMT Organization: Deja.com Lines: 66 Message-ID: <91nvvr$vh1$1@nnrp1.deja.com> References: NNTP-Posting-Host: 209.194.151.194 X-Article-Creation-Date: Tue Dec 19 15:48:15 2000 GMT X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows 95) X-Http-Proxy: 1.0 ADMINPROXY, 1.0 x61.deja.com:80 (Squid/1.1.22) for client 209.194.151.194 X-MyDeja-Info: XMYDJUIDunuroboros To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > I don't think any functions were ever removed from the DJGPP library. > So I'd guess your problems have nothing to do with the newer DJGPP > version. Posting the relevant info, such as command lines used to > compile/link and the error messages, is the way to go about solving > this. > > Please also make sure you use the version of WATT-32 from > http://www.bgnett.no/~giva/. AFAIK, this is the only version which is > still being maintained for DJGPP. Here you are: when compiling, in the ld stage, I get numerous (too many to even fit on the screen) errors; some examples: gcc tcpinfo.c d:/djgpp/tmp\ccIoowkk.o(.text+0xabb):tcpinfo.c: undefined reference to `_inet_ntoa' d:/djgpp/tmp\ccIoowkk.o(.text+0xada):tcpinfo.c: undefined reference to `_bootpon' d:/djgpp/tmp\ccIoowkk.o(.text+0xae5):tcpinfo.c: undefined reference to `_gethostid' d:/djgpp/tmp\ccIoowkk.o(.text+0xb10):tcpinfo.c: undefined reference to `_bootphost' d:/djgpp/tmp\ccIoowkk.o(.text+0xb1b):tcpinfo.c: undefined reference to `_inet_ntoa' d:/djgpp/tmp\ccIoowkk.o(.text+0xb39):tcpinfo.c: undefined reference to `_bootptimeout' d:/djgpp/tmp\ccIoowkk.o(.text+0xb52):tcpinfo.c: undefined reference to `_w32_sock_delay' d:/djgpp/tmp\ccIoowkk.o(.text+0xb6b):tcpinfo.c: undefined reference to `_w32_mss' d:/djgpp/tmp\ccIoowkk.o(.text+0xb84):tcpinfo.c: undefined reference to `_w32_mtu' d:/djgpp/tmp\ccIoowkk.o(.text+0xbc4):tcpinfo.c: undefined reference to `wattcpVersion' d:/djgpp/tmp\ccIoowkk.o(.text+0xbdc):tcpinfo.c: undefined reference to `wattcpCapabilities' collect2: ld returned 1 exit status I use tcpinfo.c as an example. Any one of the .c in watt-32/bin fails in the same manner. This is the WATT-32 from bgnett - I followed the link directly from www.wattcp.com. I also followed the included instructions from the file "install" to the letter: o Extracted all three zips, directories left in-tact. o Set env WATT_ROOT o configur djgpp o make djgpp.mak o ln -f $WATT_ROOT/lib/libwatt.a $DJDIR/lib/libsocket.a o SET WATTCP.CFG=... and SET ETC=... I'm a little more concerned now that I may be missing something from DJGPP. This sounds a bit stupid to ask, but: do I need anything other than gcc (and related compiling tools) to re-compile the WATT-32 programs? Or do I need to feed some extra parameter to gcc to tell it where to find some of these external functions? (I got the impression libsocket.a would handle that?) Sent via Deja.com http://www.deja.com/