Great! Thanks, it works.
-----Original Message-----
From: Manner Robert [mailto:[email protected]]
Sent: Thursday, March 03, 2011 11:01 PM
To: Huang, Deqing
Cc: [email protected]
Subject: Re: Build error of meego-controlpanel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I guess that our platform.pri is not prepared for all situations yet :)
If this is the case, you would get a notice like
Project MESSAGE: NON-MEEGO
when you run qmake.
Please use this workaround until we do it better:
qmake HOST_ARCH=meego CONFIG+=meego DEFINES+=MEEGO
make
etc.
Let me know if it helped,
Robert
On 03/03/2011 01:56 PM, Huang, Deqing wrote:
> Hi,
>
> I’m trying to build meego-controlpanel with latest commit on master
> branch, but ran into following error:
>
> g++ -c -pipe -g -Wall -W -D_REENTRANT -fPIC -DPREFIX=\""/usr"\"
> -DTHEMEDIR=\""/usr/share/themes/base/meegotouch/duicontrolpanel"\"
> -DCSSDIR=\""/usr/share/themes/base/meegotouch/duicontrolpanel/style/"\"
> -DAPPLET_LIBS=\""/usr/lib/duicontrolpanel/applets"\"
> -DDESKTOP_DIR=\""/usr/lib/duicontrolpanel"\"
> -DTRANSLATIONS_DIR=\""/usr/share/l10n/meegotouch"\"
> -DMOSTUSEDCOUNTER_GCONFKEY=\""/apps/duicontrolpanel/usagecount"\"
> -DDCP_CATEGORY_DIR=\""/usr/share/duicontrolpanel/categories"\"
> -DMOSTUSED -DDCP_DISABLE_DEPRECATION_WARNING
> -DM_LIBRARY_NAME=\"libduicontrolpanel\" -DQT_DBUS_LIB -DQT_GUI_LIB
> -DQT_CORE_LIB -DQT_SHARED
> -I/usr/local/Trolltech/Qt-4.7.0/mkspecs/linux-g++ -I.
> -I/usr/local/Trolltech/Qt-4.7.0/include/QtCore
> -I/usr/local/Trolltech/Qt-4.7.0/include/QtGui
> -I/usr/local/Trolltech/Qt-4.7.0/include/QtDBus
> -I/usr/local/Trolltech/Qt-4.7.0/include -I. -I.objects -I.moc -Iappletdb
> -Iservice_interface -Iwidget -Iinclude -Ipkgconfig
> -I/usr/include/meegotouch -I.moc -o .objects/dcpstylablewidget.o
> appletdb/dcpstylablewidget.cpp
> appletdb/dcpappletmetadata.cpp:33:21: error: sysinfo.h: No such file or
> directory
> appletdb/dcpappletplugin.cpp: In function ‘void dcpSyslog(const QString&)’:
> appletdb/dcpappletplugin.cpp:65: warning: format not a string literal
> and no format arguments
> appletdb/dcpappletmetadata.cpp: In function ‘const QString& product()’:
> appletdb/dcpappletmetadata.cpp:551: error: ‘sysinfo_init’ was not
> declared in this scope
> appletdb/dcpappletmetadata.cpp:552: error: ‘uint8_t’ was not declared in
> this scope
> appletdb/dcpappletmetadata.cpp:552: error: ‘data’ was not declared in
> this scope
> appletdb/dcpappletmetadata.cpp:554: error: ‘sysinfo_get_value’ was not
> declared in this scope
> appletdb/dcpappletmetadata.cpp:559: error: ‘sysinfo_finish’ was not
> declared in this scope
> make[2]: *** [.objects/dcpappletmetadata.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory
> `/home/deqing/work/meegotouch-controlpanel/lib/src'
> make[1]: *** [sub-src-make_default-ordered] Error 2
> make[1]: Leaving directory `/home/deqing/work/meegotouch-controlpanel/lib'
> make: *** [sub-lib-make_default-ordered] Error 2
>
>
> [deqing@dqdesktop]~/work/meegotouch-controlpanel$ git branch
> duicontrolpanel
> * master
> [deqing@dqdesktop]~/work/meegotouch-controlpanel$ git log
> 456c195 manner 2011-03-03 changelog up
> 66d3c73 manner 2011-03-03 Changelog for 0.12.1
> dbe5893 manner 2011-03-02 Fixes a unittest in ut_category
> 16c8596 manner 2011-03-02 Removes unix signal connections
>
>
> Any idea how to solve it?
>
> Thanks,
> Deqing.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJNb60jAAoJEFxyEaJhvswtDV8IAMKLV0AnrXeAdwPMpmvcQ9Kr
LAyzbucpJJWhgT/hBPPxu9gSc1Cbt9zGcbuQ0bgUyVJBeWZmQru/A6OXmFp0xtuS
pywaVSfw6+XCHDSvDZnkOXV22NGIo32T8Z2IEaystxOuwwhKaUytzU4JMZ5SkbrU
Wcw2sHquoldel4A0hTlEhoskEHBb+r3stD/dr8vNR/bbvNsGG44UWTN4uvLc2r4U
CR93WtpsoINyMDD38p3mWTraOP0r3zuwBPpj6JfHenkfoHRxWWhoJqjxV6EZatf8
q7T4UV4DgvRluqmS0FuEhSwFWZwmNkOZA569ZLwpvmM2L7xFObGi+kNaXR3cgLk=
=EJkP
-----END PGP SIGNATURE-----
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines