bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sys_socket: inconsistent linker warnings?


From: Bruno Haible
Subject: Re: sys_socket: inconsistent linker warnings?
Date: Tue, 21 Oct 2008 04:01:42 +0200
User-agent: KMail/1.5.4

Hi Simon,

> Linking gsasl on mingw fails with:
> 
> gsasl.o: In function `readln':
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl.c:101: undefined reference to 
> `_recv_used_without_requesting_gnulib_module_recv'
> gsasl.o: In function `main':
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl.c:480: undefined reference to 
> `_rpl_connect'
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl.c:483: undefined reference to 
> `_rpl_close'
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl.c:473: undefined reference to 
> `_rpl_socket'
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl.c:825: undefined reference to 
> `_shutdown_used_without_requesting_gnulib_module_shutdown'
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl.c:826: undefined reference to 
> `_rpl_close'
> gsasl_cmd.o: In function `cmdline_parser_file_save':
> /home/jas/src/gsasl/gsasl-0.2.29/src/gsasl_cmd.c:447: undefined reference to 
> `_rpl_fclose'

More details, please?
It looks like in your case the autoconf variable @GNULIB_CONNECT@ expands to 1
but either the C macro GNULIB_CONNECT is not 1, or there are two different
winsock.o lying around and the linker is picking up the wrong one.

It might be related to the problem you mentioned in the other mail.

Bruno





reply via email to

[Prev in Thread] Current Thread [Next in Thread]