Build errors on windows (msvc 2005/nmake) for kdelibs4_snapshot

Paulo Moura Guedes moura at kdewebdev.org
Sun May 7 19:43:41 CEST 2006


On Sunday 07 May 2006 14:28, Michael Biebl wrote:
> I currently get the following build errors under Windows XP using msvc
> 2005/cmake 2.4.1/nmake:
>
> 1.)
> Linking CXX shared module ..\..\bin\keramik.dll
>    Creating library ..\..\bin\keramik.lib and object ..\..\bin\keramik.exp
> keramik.obj : error LNK2019: unresolved external symbol
> "__declspec(dllimport) p ublic: static struct KStyle::DoubleButtonOption *
> __cdecl KStyle::OptionBase<str uct KStyle::DoubleButtonOption,struct
> KStyle::Option>::defaultOption(void)" (__i
> mp_?defaultOption@?$OptionBase at UDoubleButtonOption@KStyle@@UOption at 2@@KStyl
>e@@SA PAUDoubleButtonOption at 2@XZ) referenced in function "protected: static
> struct KSt yle::DoubleButtonOption const * __cdecl
> KStyle::extractOption<struct KStyle::Dou bleButtonOption const *>(struct
> KStyle::Option *)" (??$extractOption at PBUDoubleBu
> ttonOption at KStyle@@@KStyle@@KAPBUDoubleButtonOption at 0@PAUOption at 0@@Z)
> ..\..\bin\keramik.dll : fatal error LNK1120: 1 unresolved externals NMAKE :
> fatal error U1077: '"C:\Programme\Microsoft Visual Studio 8\VC\BIN\link.
> EXE"' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
> 8\VC\BIN\nmake .exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
> 8\VC\BIN\nmake .exe"' : return code '0x2'
> Stop.

> 2.)
> Scanning dependencies of target kabc_file_plugin
> Building CXX object
> kabc/plugins/file/CMakeFiles/kabc_file_plugin.dir/resourcefi leplugin.obj
> resourcefileplugin.cpp
> NMAKE : fatal error U1071: cycle in dependency tree for target
> 'bin\kabc_file.dl l'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
> 8\VC\BIN\nmake .exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
> 8\VC\BIN\nmake .exe"' : return code '0x2'
> Stop
>
> The same error also happens for kabc_net and kabc_ldapkio

Yes, 1) and 2) are known, I had already reported this problems on the list and 
you can see them on the nightly builds logs.

> 3.)
> Generating kdewidgets.cpp
> NMAKE : fatal error U1077: '..\bin\makekdewidgets.exe' : return code
> '0xc0000135 '
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
> 8\VC\BIN\nmake .exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio
> 8\VC\BIN\nmake .exe"' : return code '0x2'
> Stop.

This is a path problem I think.

> Everything else builds fine if I run nmake with /I.
> Just thought I let you know. Maybe someone has a fix for it.

I don't think so :(

Paulo


More information about the Kde-buildsystem mailing list