kdewin32 not building

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Mon Mar 13 20:15:49 CET 2006


William A. Hoffman schrieb:
> I am getting the following errors when I try to build kdewin32.dll:
> 
> 
> Building C object CMakeFiles/kdewin32.dir/src/inet.objinet.c
> c:\Hoffman\kde\kdelibs\win\src\inet.c(51) : warning C4013: '_set_errno' undefined; assuming extern returning int
> Building C object CMakeFiles/kdewin32.dir/src/mmap.obj
> mmap.c
> c:\Hoffman\kde\kdelibs\win\src\mmap.c(104) : warning C4013: '_set_errno' undefin
> Linking CXX shared library kdewin32.dll
>    Creating library kdewin32.lib and object kdewin32.exp
> inet.obj : error LNK2019: unresolved external symbol __set_errno referenced in function _inet_ntop
> mmap.obj : error LNK2001: unresolved external symbol __set_errno
> kdewin32.dll : fatal error LNK1120: 1 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio .NET 2003\
> VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio .NET 2003\
> VC7\BIN\nmake.exe"' : return code '0x2'
> Stop.
> 
afais _set_errno() needs stdlib.h and errno.h which are correct
included. See also here:
http://msdn2.microsoft.com/en-us/library/hf1920a7.aspx
It compiles fine with msvc.net2003 & msvc2005 here

Christian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20060313/b163bae9/attachment.pgp 


More information about the Kde-buildsystem mailing list