rebuild complete dependency tree

Chris DeveloperChris at rebel.com.au
Sun Mar 2 04:13:08 UTC 2014


With respect to libattica I unmerged attica and rebuilt it. Still kdelib 
fails to find it.

libattica.dll.a does exist and in the right location, so I am not sure why 
kdelib cant find it. It built with no problems previously going to emerge 
master and back again seems to have cause the issue.

DC


On 2/03/2014 11:38 AM, Chris wrote:
> Hi Nicolas
>
> The first issue is a large number of warnings all centred around 
> mymoneymoney.h
>
> q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:308: warning: 
> 'MyMoneyMoney::MyMoneyMoney(const MyMoneyMoney&)' redeclared without 
> dllimport attribute after being referenced with dll linkage
> Again at...
> q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:313:
> q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:318:
> q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:347:
>
> These warnings appear to be a bug in mingw as the other inline methods 
> before line #308 don't have the same warnings and I see no substantive 
> difference from the lines that do cause the warnings.
>
>
> The real issues are multitudes of the following "undefined reference" 
> errors each for a different method.
>
> r:\mingw\bin\g++.exe   -D_WIN32_WINNT=0x0501 -DWINVER=0x0501 
> -D_WIN32_IE=0x0501 -DUNICODE -Wnon-virtual-dtor -Wno-long-long -Wundef 
> -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security 
> -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common 
> -Woverloaded-virtual -fno-threadsafe-statics -fexceptions 
> -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fno-common -O2 -g 
> -DNDEBUG -DQT_NO_DEBUG    -mwindows -Wl,--whole-archive 
> CMakeFiles\pivottabletest.dir/objects.a -Wl,--no-whole-archive  -o 
> ..\..\bin\pivottabletest.exe 
> -Wl,--out-implib,..\..\bin\libpivottabletest.dll.a 
> -Wl,--major-image-version,0,--minor-image-version,0  -Lr:\lib -LR:\lib 
> -LR:\build\extragear\kmymoney-4.6.1-20110918\work\mingw4-RelWithDebInfo-gitHEAD\bin 
> R:\lib\libqtmain.a ..\..\bin\libreports.a ..\..\bin\libsettings.a 
> ..\..\bin\libkmymoney_base.a ..\..\bin\libkmymoney_common.a 
> ..\..\bin\libdialogs.a ..\..\bin\libwidgets.a 
> ..\..\bin\libkmm_kdchart.dll.a ..\..\bin\libkmm_storage.a 
> ..\..\bin\libkmm_config.a r:\\lib\libkdeui.dll.a r:\\lib\libkdecore.dll.a 
> R:\lib\libQtGui4.a R:\lib\libQtXml4.a R:\lib\libQtCore4.a 
> R:\lib\libQtTest4.a r:\\lib\libkholidays.dll.a R:\lib\libgmp.dll.a 
> R:\lib\libalkimia.dll.a ..\..\bin\libkmm_widgets.dll.a 
> ..\..\bin\libkmm_mymoney.dll.a R:\lib\libQtXml4.a r:\\lib\libkdeui.dll.a 
> R:\lib\libQtGui4.a R:\lib\libQtSvg4.a r:\\lib\libkdecore.dll.a 
> R:\lib\libQtCore4.a R:\lib\libQtDBus4.a R:\lib\libkdewin.dll.a -luser32 
> -lshell32 -lws2_32 -lnetapi32 -luserenv ..\..\bin\libkmymoney_base.a 
> -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid 
> -lcomdlg32 -ladvapi32
> ..\..\bin\libkmymoney_base.a(kmymoneyedit.cpp.obj): In function 
> `_static_initialization_and_destruction_0':
> R:/build/extragear/kmymoney-4.6.1-20110918/work/mingw4-RelWithDebInfo-gitHEAD/kmymoney/widgets/kmymoneyedit.moc:55: 
> undefined reference to `_imp___ZN16QDoubleValidator16staticMetaObjectE'
> R:/build/extragear/kmymoney-4.6.1-20110918/work/mingw4-RelWithDebInfo-gitHEAD/kmymoney/widgets/kmymoneyedit.moc:165: 
> undefined reference to `_imp___ZN5KHBox16staticMetaObjectE'
> ..\..\bin\libkmymoney_base.a(kmymoneyedit.cpp.obj): In function 
> `ZN12kMyMoneyEdit11qt_metacastEPKc':
>
>
> It seems to be linking against the correct libraries so I can't work out 
> why the references are undefined.
>
>
> I am assuming there was another dependancy that was updated when I switch 
> to emerge master branch, presumably mingw.
>
> I have now switched back to kde-4.10 unmerged mingw-w32 and started 
> rebuilding KDELibs. unfortunately it fails with a missing required 
> dependancy, LibAttica. there does not appear to be a libattica package. 
> just attica which is already installed.
>
>
> -- The following REQUIRED packages have not been found:
>
>  * LibAttica (required version >= 0.4.2) , Support for Get Hot New Stuff , 
> <https://projects.kde.org/attica>
>
> CMake Error at 
> r:/dev-utils/share/cmake-2.8/Modules/FeatureSummary.cmake:430 (message):
>   feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
>
>
> Chris
>
>
>
> On 2/03/2014 10:49 AM, Nicolás Alvarez wrote:
>> 2014-03-01 21:17 GMT-03:00 Chris <DeveloperChris at rebel.com.au>:
>>> Hi I am compiling kmymoney. Using the kde-4.10 branch I successfully
>>> compiled kmymoney 4.6.1 it into a working application.
>>>
>>> At the suggestion of the kmymoney guys I decided to compile 4.6.4
>>>
>>> So I switched to kdewin master branch. edited kmymoney.py to point to
>>> gitHead and rebuilt kmymoney
>>>
>>> Sadly it failed with numerous errors. I reason that I may need to rebuild
>>> all dependencies and all their dependencies but I can find no switch to
>>> force a complete tree rebuild.
>> What errors did you get exactly?
>>
>
> _______________________________________________
> Kde-windows mailing list
> Kde-windows at kde.org
> https://mail.kde.org/mailman/listinfo/kde-windows



More information about the Kde-windows mailing list