Bug 165255 - Compiling fail on kdebindings/smoke/phonon/x_6.cpp
Summary: Compiling fail on kdebindings/smoke/phonon/x_6.cpp
Status: RESOLVED NOT A BUG
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-29 00:31 UTC by Andre Barboza
Modified: 2008-06-30 23:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andre Barboza 2008-06-29 00:31:42 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          GCC 4.2.3 
OS:                Linux

[  8%] Building CXX object smoke/phonon/CMakeFiles/smokephonon.dir/x_6.o                                                     
/usr/bin/c++   -Dsmokephonon_EXPORTS -O2 -march=i486 -mtune=i686  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline -fPIC -I/tmp/SBo/build-kdebindings/smoke/phonon -I/tmp/SBo/kdebindings/smoke/phonon -I/tmp/SBo/kdebindings -I/tmp/SBo/build-kdebindings -I/tmp/SBo/kdebindings/smoke -I/usr/include/KDE -I/usr/lib/qt-4.4.0/include/QtWebKit -I/usr/lib/qt-4.4.0/include/QtHelp -I/usr/lib/qt-4.4.0/include/QtAssistant -I/usr/lib/qt-4.4.0/include/QtDBus -I/usr/lib/qt-4.4.0/include/QtTest -I/usr/lib/qt-4.4.0/include/QtUiTools -I/usr/lib/qt-4.4.0/include/QtScript -I/usr/lib/qt-4.4.0/include/QtSvg -I/usr/lib/qt-4.4.0/include/QtXml -I/usr/lib/qt-4.4.0/include/QtSql -I/usr/lib/qt-4.4.0/include/QtOpenGL -I/usr/lib/qt-4.4.0/include/QtNetwork -I/usr/lib/qt-4.4.0/include/QtDesigner -I/usr/lib/qt-4.4.0/include/Qt3Support -I/usr/lib/qt-4.4.0/include/QtGui -I/usr/lib/qt-4.4.0/include/QtCore -I/usr/lib/qt-4.4.0/include/Qt -I/usr/lib/qt-4.4.0/mkspecs/default -I/usr/lib/qt-4.4.0/include   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -DGCC_VISIBILITY -o smoke/phonon/CMakeFiles/smokephonon.dir/x_6.o -c /tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp              
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp: In member function 'void x_Phonon__AudioOutput::x_10(Smoke::StackItem*) const':                                                                                                                          
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:71: error: 'ObjectDescription' was not declared in this scope                
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:71: error: 'AudioOutputDeviceType' was not declared in this scope            
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:71: error: 'xret' was not declared in this scope                             
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:72: error: expected primary-expression before 'void'                         
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:72: error: expected `)' before 'void'
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp: In member function 'void x_Phonon__AudioOutput::x_15(Smoke::StackItem*)':
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:96: error: ISO C++ forbids declaration of 'type name' with no type
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:96: error: ISO C++ forbids declaration of 'type name' with no type
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:96: error: expected primary-expression before 'const'
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:96: error: expected `)' before 'const'
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp: In member function 'void x_Phonon__AudioOutput::x_19(Smoke::StackItem*)':
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:116: error: ISO C++ forbids declaration of 'type name' with no type
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:116: error: ISO C++ forbids declaration of 'type name' with no type
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:116: error: expected primary-expression before 'const'
/tmp/SBo/build-kdebindings/smoke/phonon/x_6.cpp:116: error: expected `)' before 'const'
make[2]: *** [smoke/phonon/CMakeFiles/smokephonon.dir/x_6.o] Error 1
make[2]: Leaving directory `/tmp/SBo/build-kdebindings'
make[1]: *** [smoke/phonon/CMakeFiles/smokephonon.dir/all] Error 2
make[1]: Leaving directory `/tmp/SBo/build-kdebindings'
make: *** [all] Error 2
Comment 1 Christophe Marin 2008-06-29 02:54:46 UTC
Please do not report bugs about stuff that doesn't compile.
Comment 2 Andre Barboza 2008-06-29 06:36:29 UTC
Sorry... the configure process show me that my system configuration was good (so all optional stuff too).
Is there a problem with my system configuration?
Should I simple disable this thing that doesn't compile?
Comment 3 Arno Rehn 2008-06-29 13:14:24 UTC
Actually this time the bug report was important, since it was a bug in the code generation. Normally it's a problem with your configuration, that stuff doesn't compile. With Smoke this can be caused by bugs in kalyptus, though.
Anyway, it's fixed now. Thanks for the report.
Comment 4 Andre Barboza 2008-06-29 20:38:56 UTC
I got another error message... 


[ 48%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o
/usr/bin/c++   -Dpython_module_PyKDE4_akonadi_EXPORTS -O2 -march=i486 -mtune=i686  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -Woverloaded-virtual  -fvisibility-inlines-hidden -g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline -fPIC -I/tmp/SBo/build-kdebindings/python/pykde4 -I/tmp/SBo/kdebindings/python/pykde4 -I/tmp/SBo/kdebindings -I/tmp/SBo/build-kdebindings -I/tmp/SBo/kdebindings/python/pykde4/extra/kde3930 -I/usr/include/KDE -I/usr/lib/qt-4.4.0/include/QtWebKit -I/usr/lib/qt-4.4.0/include/QtHelp -I/usr/lib/qt-4.4.0/include/QtAssistant -I/usr/lib/qt-4.4.0/include/QtDBus -I/usr/lib/qt-4.4.0/include/QtTest -I/usr/lib/qt-4.4.0/include/QtUiTools -I/usr/lib/qt-4.4.0/include/QtScript -I/usr/lib/qt-4.4.0/include/QtSvg -I/usr/lib/qt-4.4.0/include/QtXml -I/usr/lib/qt-4.4.0/include/QtSql -I/usr/lib/qt-4.4.0/include/QtOpenGL -I/usr/lib/qt-4.4.0/include/QtNetwork -I/usr/lib/qt-4.4.0/include/QtDesigner -I/usr/lib/qt-4.4.0/include/Qt3Support -I/usr/lib/qt-4.4.0/include/QtGui -I/usr/lib/qt-4.4.0/include/QtCore -I/usr/lib/qt-4.4.0/include/Qt -I/usr/lib/qt-4.4.0/mkspecs/default -I/usr/lib/qt-4.4.0/include -I/usr/include/python2.5 -I/usr/include/solid -I/usr/include/kio -I/usr/include/kdeprint -I/usr/include/kdeprint/lpr -I/usr/include/dom -I/usr/include/ksettings -I/usr/include/knewstuff2 -I/usr/include/dnssd   -D_BSD_SOURCE -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -o python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o -c /tmp/SBo/build-kdebindings/python/pykde4/sip/akonadi/sipakonadipart1.cpp
In file included from /usr/include/python2.5/Python.h:8,
                 from /usr/include/python2.5/sip.h:28,
                 from /tmp/SBo/build-kdebindings/python/pykde4/sip/akonadi/sipAPIakonadi.h:11,
                 from /tmp/SBo/build-kdebindings/python/pykde4/sip/akonadi/sipakonadipart1.cpp:7:
/usr/include/python2.5/pyconfig.h:951:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
sipakonadipart1.cpp: In member function 'virtual bool sipAkonadi_ItemSync::addSubjob(KJob*)':
sipakonadipart1.cpp:12423: error: cannot call member function 'virtual bool Akonadi::TransactionSequence::addSubjob(KJob*)' without object
sipakonadipart1.cpp: In member function 'virtual void sipAkonadi_ItemSync::slotResult(KJob*)':
sipakonadipart1.cpp:12469: error: cannot call member function 'virtual void Akonadi::TransactionSequence::slotResult(KJob*)' without object
sipakonadipart1.cpp: In member function 'void sipAkonadi_ItemSync::sipProtect_commit()':
sipakonadipart1.cpp:12794: error: cannot call member function 'void Akonadi::TransactionSequence::commit()' without object
sipakonadipart1.cpp: In member function 'bool sipAkonadi_ItemSync::sipProtectVirt_addSubjob(bool, KJob*)':
sipakonadipart1.cpp:12799: error: cannot call member function 'virtual bool Akonadi::TransactionSequence::addSubjob(KJob*)' without object
sipakonadipart1.cpp: In member function 'void sipAkonadi_ItemSync::sipProtectVirt_slotResult(bool, KJob*)':
sipakonadipart1.cpp:12804: error: cannot call member function 'virtual void Akonadi::TransactionSequence::slotResult(KJob*)' without object
sipakonadipart1.cpp: In function 'PyObject* meth_Akonadi_ItemSync_setPartSyncItems(PyObject*, PyObject*)':
sipakonadipart1.cpp:13692: error: 'class Akonadi::ItemSync' has no member named 'setPartSyncItems'
make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/sip/akonadi/sipakonadipart1.o] Error 1
make[2]: Leaving directory `/tmp/SBo/build-kdebindings'
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
make[1]: Leaving directory `/tmp/SBo/build-kdebindings'
make: *** [all] Error 2
Comment 5 Simon Edwards 2008-06-30 23:01:11 UTC
That last error is caused by recent API changes to Akonadi affecting the Python bindings now.

I'm busy fixing theses problems at the moment.