LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2003, 03:26 AM   #1
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Rep: Reputation: 0
Angry I will destroy QT and all who follow it!!!! read here no solution yet


Ok... to the people out there at QT... argh <followed by stream of profanity>! But anyways after surmounting tons of problems I've gotten to the point where I have the following strange errors. I don't know what to do. I'm trying to compile apollon-0.8 on mandrake 9.1 with no luck. here is an excerpt from my config.log file.

configure: 22277: /usr/lib/qt3/include/qstyle.h
taking that
tried NO
configure:22387: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
/tmp/ccbqPFjR.o(.text+0xb): In function `main':
: undefined reference to `QString::null'
/tmp/ccbqPFjR.o(.text+0x10): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/ccbqPFjR.o(.text+0x1e): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/ccbqPFjR.o(.text+0x29): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
/tmp/ccbqPFjR.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x21): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccbqPFjR.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2a): In function `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/ccbqPFjR.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x27): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccbqPFjR.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x32): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccbqPFjR.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x5f): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/ccbqPFjR.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x6a): In function `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/ccbqPFjR.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIterator<QString>, QString const &)+0x27): In function `QValueListPrivate<QString>::insert(QValueListIterator<QString>, QString const &)':
: undefined reference to `QString::QString(QString const &)'
/tmp/ccbqPFjR.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x21): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::shared_null'
/tmp/ccbqPFjR.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<QString> const &)+0x2a): In function `QValueListPrivate<QString>::QValueListPrivate(QValueListPrivate<QString> const &)':
: undefined reference to `QString::makeSharedNull(void)'
collect2: ld returned 1 exit status
configure:22390: $? = 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 >= 0x030100)
#error 1
#endif


int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:22430: error: Qt (>= Qt 3.1 (20021021)) (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!


Ok and just to avoid things I've already considered. I know qt will have errors if you use the gcc-3.2.2 that's included with mandrake, so I'm now using 2.95. I also have the following includes in my ld.so.conf:

/usr/X11R6/lib
/usr/lib/wine
/usr/local/lib
/usr/local/include/giFT
/usr/include
/usr/lib/winex
/usr/lib/qt2/lib
/usr/include/linux
/usr/include/g++-3
/usr/include/c++/3.2.2/backward
/usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/include
/usr/lib/qt3/lib


and yes I do have qt-mt installed and it is finding the directory... Ok now that that's out of the way someone PLEEEEEEASE help me
Thanks

Last edited by ciphercam; 07-17-2003 at 02:57 AM.
 
Old 07-16-2003, 05:45 AM   #2
SuseBoy
Member
 
Registered: Jul 2003
Location: Between Florida and San Juan (PR)
Distribution: Suse 8.2/Fedora 5
Posts: 93

Rep: Reputation: 15
use GTK-Gnutella.
Im having the same problem with qt kind of,
it says I don't have headers/libraries installed but I do ! :<
 
Old 07-16-2003, 10:21 PM   #3
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
yeah I really want apollon and all the other programs that need qt to compile to work so if anyone can help me fix the problem please speak up. Thanks

Ohh and I moved the functions shared_null and makesharednull() from qstring.h into public and all the errors related to those two functions have ceased... the new signifigant part of config.log is:

configure:22387: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
In file included from /usr/lib/qt3/include/qwindowdefs.h:44,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from conftest.cc:3:
/usr/lib/qt3/include/qstring.h: In method `QString::QString()':
/usr/lib/qt3/include/qstring.h:772: `makeSharedNull' undeclared (first use this function)
/usr/lib/qt3/include/qstring.h:772: (Each undeclared identifier is reported only once
/usr/lib/qt3/include/qstring.h:772: for each function it appears in.)
configure:22390: $? = 1
configure: failed program was:

Last edited by ciphercam; 07-17-2003 at 12:51 AM.
 
Old 07-17-2003, 01:05 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
You need Qt 3.1 or higher. Also you need to compile it for threads. Look at the errors that came up.

When you have downloaded Qt 3.1, type ./configure -thread. This will give support for threads. Next you will need KDE 3.1 too. Either you can compile it or download the RPMs. Install these as runlevel 3 or 1. Don't forget to backup qt3 and kde3 directories, so if something doesn't work. You can always go back to your orginal settings.

After you have done all that you can re-do apollon's configure and continue compiling.
 
Old 07-17-2003, 01:33 AM   #5
ciphercam
LQ Newbie
 
Registered: Jun 2003
Posts: 9

Original Poster
Rep: Reputation: 0
I already have both kde 3.1 and qt 3.1 compiled with thread support and I looked at the error... It actually comes up for almost any problem when qt 3.1 fails to compile. So are there any other suggestions?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
destroy home configs?? coolblue Linux - Newbie 3 07-06-2005 02:06 AM
can destroy child process alaios Programming 2 06-01-2005 09:06 AM
Mutex destroy failure?? What the magis Linux - Newbie 15 03-04-2005 03:13 AM
Will it destroy my Monitor? chinaundead Linux - Hardware 9 04-01-2004 09:56 PM
follow up from before... juagut Linux - Newbie 2 04-13-2001 12:34 PM


All times are GMT -5. The time now is 02:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration