Build error on kdelibs
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Wed Apr 11 18:39:47 CEST 2007
Andreas Pakulat schrieb:
> Hi,
>
> anybody with a hint how to fix this one:
>
> [ 0%] Building CXX object kdecore/CMakeFiles/kdecore.dir/network/netsupp.obj
> In file included from D:\MinGW\sources\kdelibs\kdecore\network\netsupp.cpp:48:
> D:\MinGW\sources\kdelibs\kdecore\network\netsupp.h:294:1: warning: "gai_strerror
> " redefined
> In file included from D:/MinGW/install/include/mingw/sys/socket.h:26,
> from D:\MinGW\sources\kdelibs\kdecore\network\netsupp.cpp:22:
> D:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/ws2tcpip.h:332:1: warn
> ing: this is the location of the previous definition
> D:\MinGW\sources\kdelibs\kdecore\network\netsupp.cpp:889: error: explicit qualif
> ication in declaration of `char* KDE::gai_strerror(int)'
> mingw32-make[2]: *** [kdecore/CMakeFiles/kdecore.dir/network/netsupp.obj] Error
> 1
> mingw32-make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
> mingw32-make: *** [all] Error 2
>
Adding
# ifdef gai_strerror
# undef gai_strerror
# endif
in netsupp.h around line 270 should work
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20070411/7998d705/attachment.pgp
More information about the Kde-windows
mailing list