Michel Boaventura <[email protected]> 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/[email protected]/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 _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
