Sam,

> now I get a linking error:
> 
> Warning: resolving _gethostname by linking to _gethostn...@8
> Use --enable-stdcall-fixup to disable these warnings
> Use --disable-stdcall-fixup to disable these fixups
> libgnu_cl.a(sockets.o): In function `close_fd_maybe_socket':
> /cygdrive/c/sds/dev/current/build-mingw-O-2/gllib/../../src/gllib/sockets.c:44:
> undefined reference to `_wsaenumnetworkeve...@12'
> collect2: ld returned 1 exit status

Looks like you need to link with $(LIBSOCKET). I mean, if you want to call
_gethostn...@8, you need to call gl_sockets_startup first, and this function
sits in sockets.c and requires linking with $(LIBSOCKET).

> curiously, this happens only when I link the base linking set; the boot 
> linking 
> set is created just fine

Hmm? clisp's socket.d also needs linking with -lws2_32 on mingw, no?

Bruno

Reply via email to