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

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to