[Gambas-user] 0.93a compile problem

Benoit Minisini gambas at ...1...
Wed May 19 22:32:40 CEST 2004


On Wednesday 19 May 2004 13:54, Grahame White wrote:
> I've downloaded the updated 0.93a source and tried to compile it but I'm
> getting the following errors :
>
> c++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
> -I/usr/include/qt3/ -D_REENTRANT -g -O2 -pipe -Wall -fno-exceptions -g -Os
> -c moc_qeditor.cpp  -fPIC -DPIC -o moc_qeditor.lo
> moc_qeditor.cpp:30: error: no `void QEditor::initMetaObject()' member
> function
>    declared in class `QEditor'
> moc_qeditor.cpp: In member function `void QEditor::initMetaObject()':
> moc_qeditor.cpp:34: error: `badSuperclassWarning' undeclared (first use
> this
>    function)
> moc_qeditor.cpp:34: error: (Each undeclared identifier is reported only
> once
>    for each function it appears in.)
> moc_qeditor.cpp: At global scope:
> moc_qeditor.cpp:41: error: prototype for `QString QEditor::tr(const char*)'
>    does not match any in class `QEditor'
> qeditor.h:112: error: candidate is: static QString QEditor::tr(const char*,
>    const char*)
> moc_qeditor.cpp: In static member function `static QMetaObject*
>    QEditor::staticMetaObject()':
> moc_qeditor.cpp:135: error: 'class QMetaObject' has no member named '
>    new_metadata'
> moc_qeditor.cpp:136: error: 'class QMetaObject' has no member named '
>    new_metaaccess'
> moc_qeditor.cpp:138: error: 'struct QMetaData' has no member named 'ptr'
> moc_qeditor.cpp:138: error: `QMember' undeclared (first use this function)
> moc_qeditor.cpp:138: error: parse error before `;' token
> moc_qeditor.cpp:141: error: 'struct QMetaData' has no member named 'ptr'
> moc_qeditor.cpp:141: error: parse error before `;' token
> moc_qeditor.cpp:144: error: 'struct QMetaData' has no member named 'ptr'
> moc_qeditor.cpp:144: error: parse error before `;' token
> moc_qeditor.cpp:147: error: 'struct QMetaData' has no member named 'ptr'
> moc_qeditor.cpp:147: error: parse error before `;' token
> moc_qeditor.cpp:150: error: 'struct QMetaData' has no member named 'ptr'
> moc_qeditor.cpp:150: error: parse error before `;' token
> moc_qeditor.cpp:153: error: 'struct QMetaData' has no member named 'ptr'
> moc_qeditor.cpp:153: error: parse error before `;' token
> moc_qeditor.cpp:156: error: 'struct QMetaData' has no member named 'ptr'
>
> <snip loads more>
>
> It's odd as 0.93 compiled fine :/
>
> I'm using debian/unstable
> with 2.6.4 kernel
> gcc 3.3.3
> qt 3.2.3
>
> Grahame
>

I made a stupid bug in the configure script that prevents moc to be detected 
on systems where it is located in an exotic directory.

I will release a 0.93b to fix it soon.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list