Mail Archives: djgpp/2000/12/19/11:22:56
> 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/
- Raw text -