LinuxQuestions.org
Visit Jeremy's Blog.
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 12-02-2005, 05:10 PM   #1
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Rep: Reputation: 15
camstream compile error


I'm trying to get my logitech quickcam 4000pro webcam to work in RHEL 4.
I have the pwc driver installed already but am getting errors trying to install camstream.

When I try to ciompile it gives a whole bunch of errors that look like this:

Code:
/usr/local/src/camstream/camstream-0.26.3/camstream/lib/FTPClient.moc.cc:259:
undefined reference to `QObject::activate_signal(char const*, int)'
lib/lib.a(FTPClient.moc.o)(.text+0x395): In function
`CFTPClient::StateChange(int, int, int, QString const&)':
/usr/local/src/camstream/camstream-0.26.3/camstream/lib/FTPClient.moc.cc:161:
undefined reference to `QObject::receivers(char const*) const'
lib/lib.a(FTPClient.moc.o)(.text+0x3b9): In function
`CFTPClient::StateChange(int, int, int, QString const&)':
/usr/lib/qt-2.3.1//include/qlist.h:111: undefined reference to
`QGListIterator::QGListIterator(QGList const&)'
lib/lib.a(FTPClient.moc.o)(.text+0x3dd):/usr/lib/qt-2.3.1//include/qlist.h:130:undefined
reference to `QGListIterator::operator++()'
lib/lib.a(FTPClient.moc.o)(.text+0x402):/usr/lib/qt-2.3.1//include/qlist.h:112:undefined
reference to `QGListIterator::~QGListIterator()'
lib/lib.a(FTPClient.moc.o)(.text+0x4c0):/usr/lib/qt-2.3.1//include/qlist.h:112:undefined
reference to `QGListIterator::~QGListIterator()'
lib/lib.a(FTPClient.moc.o)(.gnu.linkonce.r._ZTV10CFTPClient+0x10): undefined
reference to `QObject::event(QEvent*)'
lib/lib.a(FTPClient.moc.o)(.gnu.linkonce.r._ZTV10CFTPClient+0x14): undefined
reference to `QObject::eventFilter(QObject*, QEvent*)'
lib/lib.a(FTPClient.moc.o)(.gnu.linkonce.r._ZTV10CFTPClient+0x20): undefined
reference to `QObject::setName(char const*)'
lib/lib.a(FTPClient.moc.o)(.gnu.linkonce.r._ZTV10CFTPClient+0x40): undefined
reference to `QObject::checkConnectArgs(char const*, QObject const*, char
const*)'
lib/lib.a(FTPClient.moc.o)(.gnu.linkonce.r._ZTI10CFTPClient+0x8): undefined
reference to `typeinfo for QObject'
collect2: ld returned 1 exit status
make[1]: *** [camstream] Error 1
rm CamStreamMainWindow.moc.cc WebCamViewer.moc.cc CamWindow.moc.cc
make[1]: Leaving directory `/usr/local/src/camstream/camstream-0.26.3/camstream'
make: *** [all] Error 2
Only there are alot more of them. I'm using camstream0.26.3, qt-2.3.1-5,
qt-devel-2.3.1-5, gcc 3.4.4. I've tried using the most recent snapshot and
it gave me errors about the soundcard, I wasn't really expecting that one to
work. But I also tried 0.26.2 and it gave me the same udefined reference
errors. Does anyone have any ideas?
 
Old 12-02-2005, 07:59 PM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
looks like it ( the linker) is having trouble picking up the qt libs, or the qt version you have does not meet the requirements for the package. where is qt installed? does:

Code:
echo $QTDIR
give you a response when you run the command?

is the path to the qt libraries in /etc/ld.so.conf and ldconfig run or are you using a flag to tell the linker where the libraries are?
 
Old 12-06-2005, 02:41 PM   #3
nmayotte
Member
 
Registered: Jan 2004
Location: Minnesota
Distribution: SuSE 8.0-9.0
Posts: 37

Original Poster
Rep: Reputation: 15
Here are these:

[root@mlemons camstream-0.26.3]# echo $QTDIR
/usr/lib/qt-2.3.1/
[root@mlemons camstream-0.26.3]# more /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/lib/qt-2.3.1/lib

One thing I should note is that I have qt & qt-devel 2.3.1 installed parallel to versions 3.3.3. Could this be causing my problems? If I remove 3.3.3 I have a feeling that it will break quite a few things on my system. Before I run the ./configure I do QTDIR=/usr/lib/qt-2.3.1/ and export QTDIR...
 
Old 12-06-2005, 02:57 PM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
yeah i wouldn't recommend removing the 3.3.3.

take a look at the config.log file in the source directory and see what it says when it's checking for the qt libs and headers, there may be a clue there as to what and where it's looking.

HTH
 
  


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
Compile Error Randomcasualty Linux - Newbie 9 07-10-2005 07:30 AM
compile error... apenguinlinux Programming 0 02-07-2005 05:06 AM
Error after compile to 2.6.7 Reefcrazed Slackware 22 08-13-2004 08:59 PM
compile error: #error unknown processor family kmack2001 Linux - Newbie 0 02-14-2004 11:52 AM
Alsa compile error, and a WINE error scheidel21 Linux - Software 1 12-08-2003 08:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:52 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
Open Source Consulting | Domain Registration