Qt προβλήματα...

Big Lebowski chem482 at edu.uoc.gr
Thu Nov 22 11:28:00 EET 2001


Γεια σας,
έχω το εξής προβλημα.

Όποτε πάώ να κάνω compile καποιο προγραμμα το οποίο χρησιμοποιεί QT και lib 
του KDE, έχω τα ακόλουθα προβλήματα[1]. Παρακάτω δείχνω τον τρόπο με τον 
οποίο σταματάει το make. Από ότι μπορώ να καταλάβω είναι πρόβλημα του linker.
Το εκάστοτε παντως ./configure, βρίσκει μια χαρά την QT και δεν βγάζει λάθος.
Έχω Qt=2.3.0, την οποία την έχω κάνει compile ως εξής:
./configure -gif -system-jpeg -no-g++-exceptions -system-libpng -xft -kde
Tο KDE το έχω εγκαταστίσει με Rpm από Redhat (KDEversion=2.2). H διανομή μου 
είναι Redhat 7.0.
Ο gcc είναι 3.0.1

[1] To συγκεκριμένο make είναι από το Koffice 1.1


Eυχαριστώ,

Νίκος Γ.

c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/include/kde 
-I/usr/local/qt/include -
I/usr/X11R6/include -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE 
-DQT
_NO_COMPAT -DQT_NO_ASCII_CAST -c libkstore_la_closure.cc  -fPIC -DPIC -o 
.libs/l
ibkstore_la_closure.o
libtool: link: warning: `-version-info' is ignored for programs
c++ -O2 -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT 
-DQT_
NO_ASCII_CAST -o libkstore.la.closure .libs/libkstore_la_closure.o 
.libs/koStore
.o  -L/usr/lib /usr/lib/libksycoca.so /usr/lib/libkio.so -L/usr/X11R6/lib 
-L/usr
/lib/qt-2.3.1/lib -L/usr/lib/gcc-lib/i386-redhat-linux/2.96 
-L/usr/lib/gcc-lib/i
386-redhat-linux/2.96/../../.. /usr/lib/libkdesu.so -lutil 
/usr/lib/libkssl.so /
usr/lib/libkdeui.so /usr/lib/libkdecore.so -ldl /usr/lib/libDCOP.so -lqt 
-lpng /
usr/lib/libjpeg.so -lXext -lX11 -lSM -lICE -lresolv -lz /usr/lib/libfam.so 
/usr/
local/lib/libstdc++.so -lm -lc -lgcc -Wl,--rpath -Wl,/usr/local/lib 
-Wl,--rpath
-Wl,/usr/local/lib
.libs/koStore.o: In function `KoStore::KoStore(QString const&, KoStore::Mode, 
QC
String const&)':
.libs/koStore.o(.text+0x54): undefined reference to `QString::shared_null'
.libs/koStore.o(.text+0x77): undefined reference to `QGArray::QGArray()'
.libs/koStore.o(.text+0xa7): undefined reference to `kdDebug(int)'
.libs/koStore.o(.text+0xc7): undefined reference to `QString::fromUtf8(char 
cons
t*, int)'
.libs/koStore.o(.text+0xd3): undefined reference to 
`QString::operator+=(QString
 const&)'
.libs/koStore.o(.text+0xf3): undefined reference to 
`QStringData::deleteSelf()'
.libs/koStore.o(.text+0x150): undefined reference to `kdbgstream::flush()'
.libs/koStore.o(.text+0x168): undefined reference to 
`QString::operator+=(QStrin
g const&)'
.libs/koStore.o(.text+0x1aa): undefined reference to `kdbgstream::flush()'
.libs/koStore.o(.text+0x1ca): undefined reference to `QString::fromUtf8(char 
con
st*, int)'
.libs/koStore.o(.text+0x1d6): undefined reference to 
`QString::operator+=(QStrin
g const&)'
.libs/koStore.o(.text+0x1eb): undefined reference to `QString::shared_null'
.libs/koStore.o(.text+0x1fc): undefined reference to 
`QStringData::deleteSelf()'
.libs/koStore.o(.text+0x259): undefined reference to `kdbgstream::flush()'
.libs/koStore.o(.text+0x268): undefined reference to `QString::shared_null'
.libs/koStore.o(.text+0x286): undefined reference to `QString::setNum(long, 
int)



More information about the Linux-greek-users mailing list