KearnstdSpace Elf Premium Member join:2002-01-22 Mullica Hill, NJ |
Kearnstd
Premium Member
2002-May-12 3:58 am
qt-3.0.4 compile with gcc-3.0.4?just wondering where do i tell qt to compile with the later gcc3, last time i tried i got a huge string of errors id paste here if i could figure to copy text from my term window to the browser. |
|
| |
c&p: you should be able to select the text in the term window and then use the center mouse button (or if you only have two you probably have it set up to emulate the third button by pressing both)... that should paste it for you. |
|
KearnstdSpace Elf Premium Member join:2002-01-22 Mullica Hill, NJ |
Kearnstd
Premium Member
2002-May-12 1:37 pm
t::~QGDict()' moc_yacc.o: In function `QPtrList::clear()': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8ArgumentE5clearEv+0xb): undefined reference to `QGList::clear()' moc_yacc.o: In function `QDict::clear()': moc_yacc.o(.gnu.linkonce.t._ZN5QDictIcE5clearEv+0xb): undefined reference to `QGDict::clear()' moc_yacc.o: In function `QPtrList::deleteItem(void*)': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI9ClassInfoE10deleteItemEPv+0x1d): undefined reference to `QCString::~QCString()' moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI9ClassInfoE10deleteItemEPv+0x25): undefined reference to `QCString::~QCString()' moc_yacc.o: In function `QPtrList::deleteItem(void*)': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8PropertyE10deleteItemEPv+0x1d): undefined reference to `QCString::~QCString()' moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8PropertyE10deleteItemEPv+0x28): undefined reference to `QCString::~QCString()' moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8PropertyE10deleteItemEPv+0x33): undefin ed reference to `QCString::~QCString()' moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8PropertyE10deleteItemEPv+0x3e): more un defined references to `QCString::~QCString()' follow moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI13NamespaceInfoE+0x18): undefined refer ence to `QPtrCollection::newItem(void*)' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI13NamespaceInfoE+0x20): undefined refer ence to `QGList::compareItems(void*, void*)' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI13NamespaceInfoE+0x24): undefined refer ence to `QGList::read(QDataStream&, void*&)' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI13NamespaceInfoE+0x28): undefined refer ence to `QGList::write(QDataStream&, void*) const' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI8ArgumentE+0x18): undefined reference t o `QPtrCollection::newItem(void*)' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI8ArgumentE+0x20): undefined reference t o `QGList::compareItems(void*, void*)' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI8ArgumentE+0x24): undefined reference t o `QGList::read(QDataStream&, void*&)' moc_yacc.o(.gnu.linkonce.d._ZTV8QPtrListI8ArgumentE+0x28): undefined reference t o `QGList::write(QDataStream&, void*) const' moc_yacc.o: In function `QPtrList::~QPtrList()': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8ArgumentED1Ev+0x1b): undefined referenc e to `QGList::~QGList()' moc_yacc.o: In function `QPtrList::~QPtrList()': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI8ArgumentED0Ev+0x1b): undefined referenc e to `QGList::~QGList()' moc_yacc.o: In function `QPtrList::~QPtrList()': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI13NamespaceInfoED1Ev+0x1b): undefined re ference to `QGList::~QGList()' moc_yacc.o: In function `QPtrList::~QPtrList()': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI13NamespaceInfoED0Ev+0x1b): undefined re ference to `QGList::~QGList()' moc_yacc.o: In function `QPtrList::clear()': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI13NamespaceInfoE5clearEv+0xb): undefined reference to `QGList::clear()' moc_yacc.o: In function `QPtrList::deleteItem(void*)': moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI13NamespaceInfoE10deleteItemEPv+0x2d): u ndefined reference to `QGDict::~QGDict()' moc_yacc.o(.gnu.linkonce.t._ZN8QPtrListI13NamespaceInfoE10deleteItemEPv+0x35): u ndefined reference to `QCString::~QCString()' collect2: ld returned 1 exit status gmake[2]: *** [../../bin/moc] Error 1 gmake[2]: Leaving directory `/usr/lib/qt-x11-free-3.0.1/src/moc' gmake[1]: *** [src-moc] Error 2 gmake[1]: Leaving directory `/usr/lib/qt-x11-free-3.0.1' gmake: *** [init] Error 2 |
|
| Kearnstd |
Kearnstd
Premium Member
2002-May-12 7:15 pm
oops forgot to note this is a fresh install of MDK 8.2 but for a ceratain program i need qt to be compiled with gcc3 instead of gcc-2.x.x |
|
rolfp5 join:2001-09-12 Oakland, CA |
to Kearnstd
$ rpm -qa | grep cc gcc-2.96-0.76mdk gcc-cpp-2.96-0.76mdk libgcc3.0-3.0.4-2mdk gcc-c++-2.96-0.76mdk
You can install different versions of gcc side-by-side (might need the cpp and c++ packages, also). Then, as root, do
update-alternatives --config gcc
This gives you a little dialog to choose which version you want to be used. |
|
KearnstdSpace Elf Premium Member join:2002-01-22 Mullica Hill, NJ |
Kearnstd
Premium Member
2002-May-13 12:19 am
cool, its compiling so far but man that celeron laptop is still compiling timp for a dualy MP 1900 with too much RAM. |
|
ftzsee Premium Member join:2001-11-22 |
ftzsee
Premium Member
2002-May-13 10:17 am
said by Kearnstd: cool, its compiling so far but man that celeron laptop is still compiling timp for a dualy MP 1900 with too much RAM.
I compiled QT for the first time about 2 weeks ago, and it took forever. |
|
| |
to Kearnstd
QT takes a long time to compile. The embedded version is MUCH faster. If you have any QT questions go here » lists.trolltech.com/qt-interest/ first. It has probably been asked before. |
|