[Gambas-user] Compiling problems under RH 9

Giuseppe Pica g.pica at ...272...
Sun Sep 28 22:38:42 CEST 2003


Hi,
I have Redhat 9 and I've updated Qt library as suggested in notes on
site and in a detailed previous post.
I'm afraid but during compiling source files (command make) there are many problems in file:
"moc_qeditor.cpp"

This is a part of the errors list:
.......
Making all in editor
make[5]: Entering directory `/root/gambas-0.70a/src/lib/qt/editor'
source='moc_qeditor.cpp' object='moc_qeditor.lo' libtool=yes \
depfile='.deps/moc_qeditor.Plo' tmpdepfile='.deps/moc_qeditor.TPlo' \
depmode=gcc3 /bin/sh ../../../../depcomp \
/bin/sh ../../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../../../.. -I../../../../src/share  -I/usr/lib/qt-3.1/include/
-D_THREAD_SAFEÂ Â Â  -g -O2 -pipe -Wall -fno-exceptions -g -O0 -c -o
moc_qeditor.lo `test -f 'moc_qeditor.cpp' || echo './'`moc_qeditor.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I../../../../src/share
-I/usr/lib/qt-3.1/include/ -D_THREAD_SAFE -g -O2 -pipe -Wall
-fno-exceptions -g -O0 -c moc_qeditor.cpp -MT moc_qeditor.lo -MD -MP -MF
.deps/moc_qeditor.TPlo  -fPIC -DPIC -o moc_qeditor.lo
moc_qeditor.cpp:30: no `void QEditor::initMetaObject()' member function
declared in class `QEditor'
moc_qeditor.cpp: In member function `void QEditor::initMetaObject()':
moc_qeditor.cpp:34: `badSuperclassWarning' undeclared (first use this
function)
moc_qeditor.cpp:34: (Each undeclared identifier is reported only once
for each
function it appears in.)
moc_qeditor.cpp: At global scope:
moc_qeditor.cpp:41: prototype for `QString QEditor::tr(const char*)'
does not
match any in class `QEditor'
qeditor.h:107: candidate is: static QString QEditor::tr(const char*,
const
char* = 0)
moc_qeditor.cpp: In static member function `static QMetaObject*
QEditor::staticMetaObject()':
moc_qeditor.cpp:135: no method `QMetaObject::new_metadata'
moc_qeditor.cpp:136: no method `QMetaObject::new_metaaccess'
moc_qeditor.cpp:138: `struct QMetaData' has no member named `ptr'
moc_qeditor.cpp:138: `QMember' undeclared (first use this function)
moc_qeditor.cpp:138: parse error before `;' token
moc_qeditor.cpp:141: `struct QMetaData' has no member named `ptr'
moc_qeditor.cpp:141: parse error before `;' token
moc_qeditor.cpp:144: `struct QMetaData' has
.......
.......
make[3]: Leaving directory `/root/gambas-0.70a/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/gambas-0.70a/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/gambas-0.70a'
make: *** [all] Error 2

I've also tried to use configure command with "--disable-kde-component"
but never has changed...

what's the problem?
Thanks in Advance
Peppe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20030928/cc6cac52/attachment.html>


More information about the User mailing list