[Gambas-user] Sig 11

Benoit Minisini gambas at ...1...
Fri Jul 25 18:52:48 CEST 2008


On vendredi 25 juillet 2008, Steven Lobbezoo wrote:
> Hi,
>
> As for weeks now, I get a signal 11 returning from :
>     fileselector.ShowDialog
>
> I tried to compile the latest trunk (2.7), but i get :
> Making all in ext
> make[5]: entrant dans le répertoire « /home/steven/2.0/gb.qt/src/ext »
> /bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I../.. -I/usr/lib/qt3/include/ -I -D_REENTRANT -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
>  g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/lib/qt3/include/ -I -D_REENTRANT
> -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 CDial_moc.cpp  -fPIC -DPIC -o .libs/CDial_moc.o
> CDial_moc.cpp:12:2: error: #error "The header file 'CDial.h' doesn't
> include <QObject>."
> CDial_moc.cpp:20: error: expected constructor, destructor, or type
> conversion before 'static'
> CDial_moc.cpp:40: error: 'const QMetaObject CDial::staticMetaObject' is
> not a static member of 'class CDial'
> CDial_moc.cpp:40: error: variable 'const QMetaObject
> CDial::staticMetaObject' has initializer but incomplete type
> CDial_moc.cpp:42: error: 'qt_meta_data_CDial' was not declared in this
> scope
> CDial_moc.cpp:45: 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:50: error: no 'void* CDial::qt_metacast(const char*)'
> member function declared in class 'CDial'
> CDial_moc.cpp:58: error: 'int CDial::qt_metacall' is not a static member
> of 'class CDial'
> CDial_moc.cpp:58: error: incomplete type 'QMetaObject' used in nested
> name specifier
> CDial_moc.cpp:58: error: expected primary-expression before 'int'
> CDial_moc.cpp:58: error: expected primary-expression before 'void'
> CDial_moc.cpp:58: error: initializer expression list treated as compound
> expression
> CDial_moc.cpp:59: error: expected ',' or ';' before '{' token
> make[5]: *** [CDial_moc.lo] Erreur 1
> make[5]: quittant le répertoire « /home/steven/2.0/gb.qt/src/ext »
> make[4]: *** [all-recursive] Erreur 1
> make[4]: quittant le répertoire « /home/steven/2.0/gb.qt/src »
> make[3]: *** [all-recursive] Erreur 1
> make[3]: quittant le répertoire « /home/steven/2.0/gb.qt »
> make[2]: *** [all] Erreur 2
> make[2]: quittant le répertoire « /home/steven/2.0/gb.qt »
> make[1]: *** [all-recursive] Erreur 1
> make[1]: quittant le répertoire « /home/steven/2.0 »
> make: *** [all] Erreur 2
>
> So, nu luck also (although .configure -C does exactly as expected, and
> does not complain).
>
> Steven
>

Apparently, you get that when having a both QT3 and QT4 development packages 
installed. Can you check that, and send me the full output of "./configure" 
so that I try to fix the problem?

Regards,

-- 
Benoit Minisini




More information about the User mailing list