You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, October 31st 2007, 4:43am

Compiling

i compiled qt3.3.8 into /usr prefix. it finished without error. i am trying to compile http://pastie.caboo.se/112604
but arts doesnt want to continue
i also passed qt the -thread configure option so i am not sure why arts is unhappy
ls *qt-mt* in /usr/lib shows libqt-mt.la libqt-mt.prl libqt-mt.so libqt-mt.so.3 libqt-mt.so.3.3 libqt-mt.so.3.3.8

Anyone has an idea why arts doesnt want to find the libqt-mt.so library in /usr/lib?

EDIT: I meanwhile switched to another prefix... just so you dont get confused about differen paths, the lib paths are all in /etc/ld.so.conf too and i always run ldconfig

This post has been edited 1 times, last edit by "shevegen" (Oct 31st 2007, 2:58pm)


2

Wednesday, October 31st 2007, 2:50pm

RE: Compiling

Here is the error part of config.log

if anyone has an idea...



configure:32942: checking for perl
configure:33002: result: /System/Links/Executables/perl
configure:33128: checking for Qt
configure: 33193: /Programs/Qt/3.3.8/include/qstyle.h
taking that
tried NO
configure:33310: rm -rf SunWS_cache; g++ -o conftest -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -I/Programs/Qt/3.3.8/include -I. -DQT_THREAD_SUPPORT -I/System/Headers -D_REENTRANT -L/System/Links/Libraries -L/Programs/Qt/3.3.8/lib

conftest.cpp -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/System/Links/Libraries/libqt-mt.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4'
/System/Links/Libraries/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
/System/Links/Libraries/libqt-mt.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4'
/System/Links/Libraries/libqt-mt.so: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4'
/System/Links/Libraries/libqt-mt.so: undefined reference to `operator new(unsigned int)@GLIBCXX_3.4'
/System/Links/Libraries/libqt-mt.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
/System/Links/Libraries/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3'
/System/Links/Libraries/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'
collect2: ld returned 1 exit status
configure:33313: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030300 && QT_VERSION < 0x040000)
#error 1
#endif

int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:33353: error: Qt (>= Qt 3.3 and < 4.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!