[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rpl_gethostname
From: |
Ben Pfaff |
Subject: |
Re: rpl_gethostname |
Date: |
Mon, 08 Feb 2010 20:38:15 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Michel Boaventura <address@hidden> writes:
> Now, I'm having this problem:
>
> libtool: compile: i686-mingw32-gcc -std=gnu99 -DHAVE_CONFIG_H
> -DEXEEXT=\".exe\" -I. -I../../pspp/gl -I..
> -I/usr/i686-mingw32/mingw/include -I/usr/i686-mingw32/mingw/include
> -Wdeclaration-after-statement -MT sockets.lo -MD -MP -MF
> .deps/sockets.Tpo -c ../../pspp/gl/sockets.c -DDLL_EXPORT -DPIC -o
> .libs/sockets.o
> In file included from ./sys/socket.h:123,
> from ../../pspp/gl/sockets.h:37,
> from ../../pspp/gl/sockets.c:23:
> /usr/i686-mingw32/mingw/include/winsock2.h:635: error: conflicting
> types for ‘rpl_gethostname’
> ./unistd.h:493: note: previous declaration of ‘rpl_gethostname’ was here
>
> This seems quite similar with a problem I had in the past
> (http://www.mail-archive.com/address@hidden/msg11889.html),
> but instead of gethostname, the problem is with rpl_gethostname.
I don't know exactly what is wrong, but I think that the problem
must be caused by or related to the "gethostname" module from
Gnulib. I noticed that PSPP doesn't actually use the
gethostname() function any longer, so I've now deleted that from
the list of Gnulib modules that PSPP imports. Perhaps if you
start over from a new "master" checkout, that will make the
problem go away.
--
Ben Pfaff
http://benpfaff.org
- rpl_gethostname, Michel Boaventura, 2010/02/08
- Re: rpl_gethostname,
Ben Pfaff <=