Evert Daman writes: 

> Hi all, 
> 
> i was using a very old gcc compiler (2.91) so i wanted to
> update that one. so i downloaded version 3.0.2 today, compiled
> it, and installed it. i recompiled some program's and everything
> was fine. until i wanted to recompile avifile. i tried several versions,
> even today's cvs, but all of them give me the same error (they
> did compile with 2.91 though): 
> 
> 
> configure:9541: checking for Qt
> configure:9641: checking for main in -lqt-mt
> configure:9661: gcc -o conftest -g -O2 -march=i586 -ffast-math  -pipe   -Wall 
> -Wno-unused -L/usr/lib/qt2//lib -L/usr/X11R6/lib conftest.c -lqt-mt  
> -lpthread -lnsl -ldl  -lm >&5
> configure:9664: $? = 0
> configure:9667: test -s conftest
> configure:9670: $? = 0
> configure:9681: result: yes
> configure:9707: g++ -o conftest -g -O2 -march=i586 -ffast-math  -pipe  
> -I/usr/lib/qt2//include  -Wall -Wno-unused -L/usr/lib/qt2//lib 
> -L/usr/X11R6/lib conftest.cc -lpthread -lnsl -ldl  -lm -lqt-mt -lXext -lX11  
>>&5
> 
> /tmp/ccKxX05e.o: In function `main':
> /root/avifile-0.6/conftest.cc:5: undefined reference to `QMovie::QMovie()'
> /root/avifile-0.6/conftest.cc:6: undefined reference to 
> `QMovie::setSpeed(int)'
> /root/avifile-0.6/conftest.cc:7: undefined reference to `QMovie::~QMovie()'
> /root/avifile-0.6/conftest.cc:7: undefined reference to `QMovie::~QMovie()'
> collect2: ld returned 1 exit status
> configure:9710: $? = 1
> configure: failed program was:
> #include "confdefs.h"
> #include <qmovie.h>
> #include <qapplication.h>
> int main() {
>   QMovie m;
>   m.setSpeed(20);
>   return 0;
> }
> configure:9840: result: no 
> 
> *** WARNING: Could not find usable Qt on your system! If it _is_ installed,
> *** delete ./config.cache and re-run ./configure, specifying path to
> *** Qt headers and libraries in configure options. Also possible reason
> *** could be you are trying to link Qt libraries compiled with different
> *** compiler - Qt libraries compiled with different compiler then the one
> *** used right now can't be linked TOGETHER - see ./config.log for the reason
> ***           Switching off compilation of Qt utilities. 
> 
> so, no aviplay for me now :(
> i tried to install a new qt-2.3.2, but that one fails on compiling the 
> designer, and uic, so i can't use that to. or are there any precompiled
> rpm's of qt? i couldn't found them on trolltech.com 
> 
It looks like you have the same problem I was wrestling with. For me, it was 
a combination of making sure I had the qt-devel package installed and using 
the --with-qt-dir option to point to my qt directory. Its worth a try 
anyway. 

Ian. 

Ian Truelsen
Masters program in Philosophy
University of Manitoba, Winnipeg, Canada
BA (Wilfrid Laurier University)
Email: [EMAIL PROTECTED] 

Current favourite quote:
"No great civilisation likes forests."
K.F. O'Connor
Lincoln College, Christchurch, New Zealand 

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to