bug-gnulib
[Top][All Lists]
Advanced

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

module gethostname


From: Sam Steingold
Subject: module gethostname
Date: Wed, 15 Sep 2010 11:41:17 -0400
User-agent: Thunderbird 2.0.0.24 (X11/20100721)

The only problem which gethostname module fixes is:

On mingw, this function has a prototype that differs from that
specified by POSIX, and it is defined only in the ws2_32 library.

why does it have such extensive dependencies? (sockets! errno!)

I have to reiterate my complaint that the gnulib dependencies mean that one has to include (almost) the whole of gnulib if one includes (almost) any part thereof.

the case in question is that I am now getting

undefined reference to `_gethostname_used_without_requesting_gnulib_module_gethostname'

gcc errors on mingw and I have to figure out which gnulib module did this to me.




reply via email to

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