[Gambas-user] Error compiling from svn for 3.0
Benoit Minisini
gambas at ...1...
Wed Jun 11 11:55:38 CEST 2008
On mercredi 11 juin 2008, Rolf-Werner Eilert wrote:
> Just fyi, Benoit: When I try to compile from svn, I get the following
> error (I guess it starts here):
>
> Making all in gb.qt
> make[2]: Entering directory `/home/tester/gambastest/trunk/gb.qt'
> make all-recursive
> make[3]: Entering directory `/home/tester/gambastest/trunk/gb.qt'
> Making all in src
> make[4]: Entering directory `/home/tester/gambastest/trunk/gb.qt/src'
> Making all in ext
> make[5]: Entering directory `/home/tester/gambastest/trunk/gb.qt/src/ext'
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT main.lo -MD -MP -MF .deps/main.Tpo -c
> -o main.lo main.cpp
> /usr/bin//moc -o CLCDNumber_moc.cpp CLCDNumber.h
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CLCDNumber.lo -MD -MP -MF
> .deps/CLCDNumber.Tpo -c -o CLCDNumber.lo CLCDNumber.cpp
> /usr/bin//moc -o CDial_moc.cpp CDial.h
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CDial.lo -MD -MP -MF .deps/CDial.Tpo -c
> -o CDial.lo CDial.cpp
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT garray.lo -MD -MP -MF .deps/garray.Tpo
> -c -o garray.lo garray.cpp
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT gstring.lo -MD -MP -MF
> .deps/gstring.Tpo -c -o gstring.lo gstring.cpp
> CLCDNumber.h:0: Warning: No relevant classes found. No output generated.
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT gdocument.lo -MD -MP -MF
> .deps/gdocument.Tpo -c -o gdocument.lo gdocument.cpp
> /usr/bin//moc -o gview_moc.cpp gview.h
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT gview.lo -MD -MP -MF .deps/gview.Tpo -c
> -o gview.lo gview.cpp
> /usr/bin//moc -o CEditor_moc.cpp CEditor.h
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CEditor.lo -MD -MP -MF
> .deps/CEditor.Tpo -c -o CEditor.lo CEditor.cpp
> mv -f .deps/gstring.Tpo .deps/gstring.Plo
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CDraw.lo -MD -MP -MF .deps/CDraw.Tpo -c
> -o CDraw.lo CDraw.cpp
> mv -f .deps/garray.Tpo .deps/garray.Plo
> /usr/bin//moc -o CDrawing_moc.cpp CDrawing.h
> CDrawing.h:0: Warning: No relevant classes found. No output generated.
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CDrawing.lo -MD -MP -MF
> .deps/CDrawing.Tpo -c -o CDrawing.lo CDrawing.cpp
> mv -f .deps/main.Tpo .deps/main.Plo
> /usr/bin//moc -o CPrinter_moc.cpp CPrinter.h
> CPrinter.h:0: Warning: No relevant classes found. No output generated.
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CPrinter.lo -MD -MP -MF
> .deps/CPrinter.Tpo -c -o CPrinter.lo CPrinter.cpp
> mv -f .deps/CDraw.Tpo .deps/CDraw.Plo
> /usr/bin//moc -o CTextEdit_moc.cpp CTextEdit.h
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CTextEdit.lo -MD -MP -MF
> .deps/CTextEdit.Tpo -c -o CTextEdit.lo CTextEdit.cpp
> mv -f .deps/CLCDNumber.Tpo .deps/CLCDNumber.Plo
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CLCDNumber_moc.lo -MD -MP -MF
> .deps/CLCDNumber_moc.Tpo -c -o CLCDNumber_moc.lo CLCDNumber_moc.cpp
> mv -f .deps/CDrawing.Tpo .deps/CDrawing.Plo
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CDial_moc.lo -MD -MP -MF
> .deps/CDial_moc.Tpo -c -o CDial_moc.lo CDial_moc.cpp
> mv -f .deps/CLCDNumber_moc.Tpo .deps/CLCDNumber_moc.Plo
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT gview_moc.lo -MD -MP -MF
> .deps/gview_moc.Tpo -c -o gview_moc.lo gview_moc.cpp
> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
> include <QObject>."
> mv -f .deps/CDial.Tpo .deps/CDial.Plo
> ../../doltcompile g++ -DHAVE_CONFIG_H -I. -I../.. -DQT_SHARED
> -DQT_TABLET_SUPPORT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -D_REENTRANT
> -I/usr/lib/qt3//include -I../../share -I../../src/share -pipe -Wall
> -fno-exceptions -Wno-unused-value -fsigned-char -fvisibility=hidden -g
> -Os -fno-omit-frame-pointer -MT CEditor_moc.lo -MD -MP -MF
> .deps/CEditor_moc.Tpo -c -o CEditor_moc.lo CEditor_moc.cpp
> CEditor_moc.cpp:12:2: error: #error "The header file 'CEditor.h' doesn't
> include <QObject>."
> gview_moc.cpp:12:2: error: #error "The header file 'gview.h' doesn't
> include <QObject>."
> CDial_moc.cpp:39: error: ‘const QMetaObject CDial::staticMetaObject’ is
> not a static member of ‘class CDial’
> CDial_moc.cpp:39: error: variable ‘const QMetaObject
> CDial::staticMetaObject’ has initializer but incomplete type
> CDial_moc.cpp:44: error: prototype for ‘const QMetaObject*
> CDial::metaObject() const’ does not match any in class ‘CDial’
> CDial.h:51: error: candidate is: virtual QMetaObject*
> CDial::metaObject() const
> CDial_moc.cpp:44: error: ‘const QMetaObject* CDial::metaObject() const’
> cannot be overloaded
> CDial.h:51: error: with ‘virtual QMetaObject* CDial::metaObject() const’
> CDial_moc.cpp: In member function ‘const QMetaObject*
> CDial::metaObject() const’:
> CDial_moc.cpp:46: error: cannot convert ‘QMetaObject* (*)()’ to ‘const
> QMetaObject*’ in return
> CDial_moc.cpp: At global scope:
> CDial_moc.cpp:49: error: no ‘void* CDial::qt_metacast(const char*)’
> member function declared in class ‘CDial’
> CDial_moc.cpp: In member function ‘void* CDial::qt_metacast(const char*)’:
> CDial_moc.cpp:54: error: ‘qt_metacast’ is not a member of ‘QObject’
> CDial_moc.cpp: At global scope:
> CDial_moc.cpp:57: error: ‘int CDial::qt_metacall’ is not a static member
> of ‘class CDial’
> CDial_moc.cpp:57: error: incomplete type ‘QMetaObject’ used in nested
> name specifier
> CDial_moc.cpp:57: error: expected primary-expression before ‘int’
> CDial_moc.cpp:57: error: expected primary-expression before ‘void’
> CDial_moc.cpp:57: error: initializer expression list treated as compound
> expression
> CDial_moc.cpp:58: error: expected ‘,’ or ‘;’ before ‘{’ token
> make[5]: *** [CDial_moc.lo] Fehler 1
> make[5]: *** Warte auf noch nicht beendete Prozesse...
> mv -f .deps/CEditor.Tpo .deps/CEditor.Plo
> CEditor_moc.cpp:43: error: ‘const QMetaObject CEditor::staticMetaObject’
> is not a static member of ‘class CEditor’
> CEditor_moc.cpp:43: error: variable ‘const QMetaObject
> CEditor::staticMetaObject’ has initializer but incomplete type
> CEditor_moc.cpp:48: error: prototype for ‘const QMetaObject*
> CEditor::metaObject() const’ does not match any in class ‘CEditor’
> CEditor.h:62: error: candidate is: virtual QMetaObject*
> CEditor::metaObject() const
> CEditor_moc.cpp:48: error: ‘const QMetaObject* CEditor::metaObject()
> const’ cannot be overloaded
> CEditor.h:62: error: with ‘virtual QMetaObject* CEditor::metaObject()
> const’ CEditor_moc.cpp: In member function ‘const QMetaObject*
> CEditor::metaObject() const’:
> CEditor_moc.cpp:50: error: cannot convert ‘QMetaObject* (*)()’ to ‘const
> QMetaObject*’ in return
> CEditor_moc.cpp: At global scope:
> CEditor_moc.cpp:53: error: no ‘void* CEditor::qt_metacast(const char*)’
> member function declared in class ‘CEditor’
> CEditor_moc.cpp: In member function ‘void* CEditor::qt_metacast(const
> char*)’:
> CEditor_moc.cpp:58: error: ‘qt_metacast’ is not a member of ‘QObject’
> CEditor_moc.cpp: At global scope:
> CEditor_moc.cpp:61: error: ‘int CEditor::qt_metacall’ is not a static
> member of ‘class CEditor’
> CEditor_moc.cpp:61: error: incomplete type ‘QMetaObject’ used in nested
> name specifier
> CEditor_moc.cpp:61: error: expected primary-expression before ‘int’
> CEditor_moc.cpp:61: error: expected primary-expression before ‘void’
> CEditor_moc.cpp:61: error: initializer expression list treated as
> compound expression
> CEditor_moc.cpp:62: error: expected ‘,’ or ‘;’ before ‘{’ token
> mv -f .deps/CPrinter.Tpo .deps/CPrinter.Plo
> make[5]: *** [CEditor_moc.lo] Fehler 1
> mv -f .deps/gdocument.Tpo .deps/gdocument.Plo
> gview_moc.cpp:51: error: ‘const QMetaObject GEditor::staticMetaObject’
> is not a static member of ‘class GEditor’
> gview_moc.cpp:51: error: variable ‘const QMetaObject
> GEditor::staticMetaObject’ has initializer but incomplete type
> gview_moc.cpp:56: error: prototype for ‘const QMetaObject*
> GEditor::metaObject() const’ does not match any in class ‘GEditor’
> gview.h:53: error: candidate is: virtual QMetaObject*
> GEditor::metaObject() const
> gview_moc.cpp:56: error: ‘const QMetaObject* GEditor::metaObject()
> const’ cannot be overloaded
> gview.h:53: error: with ‘virtual QMetaObject* GEditor::metaObject() const’
> gview_moc.cpp: In member function ‘const QMetaObject*
> GEditor::metaObject() const’:
> gview_moc.cpp:58: error: cannot convert ‘QMetaObject* (*)()’ to ‘const
> QMetaObject*’ in return
> gview_moc.cpp: At global scope:
> gview_moc.cpp:61: error: no ‘void* GEditor::qt_metacast(const char*)’
> member function declared in class ‘GEditor’
> gview_moc.cpp: In member function ‘void* GEditor::qt_metacast(const
> char*)’: gview_moc.cpp:66: error: ‘qt_metacast’ is not a member of
> ‘QGridView’ gview_moc.cpp: At global scope:
> gview_moc.cpp:69: error: ‘int GEditor::qt_metacall’ is not a static
> member of ‘class GEditor’
> gview_moc.cpp:69: error: incomplete type ‘QMetaObject’ used in nested
> name specifier
> gview_moc.cpp:69: error: expected primary-expression before ‘int’
> gview_moc.cpp:69: error: expected primary-expression before ‘void’
> gview_moc.cpp:69: error: initializer expression list treated as compound
> expression
> gview_moc.cpp:70: error: expected ‘,’ or ‘;’ before ‘{’ token
> make[5]: *** [gview_moc.lo] Fehler 1
> mv -f .deps/gview.Tpo .deps/gview.Plo
> mv -f .deps/CTextEdit.Tpo .deps/CTextEdit.Plo
> make[5]: Leaving directory `/home/tester/gambastest/trunk/gb.qt/src/ext'
> make[4]: *** [all-recursive] Fehler 1
> make[4]: Leaving directory `/home/tester/gambastest/trunk/gb.qt/src'
> make[3]: *** [all-recursive] Fehler 1
> make[3]: Leaving directory `/home/tester/gambastest/trunk/gb.qt'
> make[2]: *** [all] Fehler 2
> make[2]: Leaving directory `/home/tester/gambastest/trunk/gb.qt'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/tester/gambastest/trunk'
> make: *** [all] Fehler 2
> tester at ...1924...:~/gambastest/trunk>
>
You did something wrong I think: try to do a "make clean" before recompiling,
or a "./reconf" if needed.
Regards,
--
Benoit Minisini
More information about the User
mailing list