Compilation under Fedora Core 2

haavard holm <[email protected]> Tue, 20 Jul 2004 14:34:45 +0200
Newsgroups gmane.comp.multimedia.avifile.general
Message-ID <[email protected]>
Hello

I am running Ferdora core 2 and have some problems during compilation :
1. I have to add :
#include <ft2build.h>
#include FT_FREETYPE_H
at the top of file sub_ft.cpp.

2. The compilation stops at :
g++ -DHAVE_CONFIG_H -I. -I. -I../../include  -I/usr/lib/qt-3.3/include 
-I/usr/X11R6/include -I../../libavqt -Wall -Wno-unused -I../../include  
-O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c 
avicapwnd.cpp
g++ -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o 
.libs/avirec deinterlace-rgb.o deinterlace-yuv.o capproc.o ccap.o dsp.o 
avirec.o v4lxif.o qt_visual.o  ../../lib/.libs/libaviplay.so 
-L/usr/X11R6/lib /usr/lib/libSDL.so -lm -lasound -lpthread -lXft 
/usr/lib/libfreetype.so -lz -lXrender -lfontconfig -lSM -lICE -lXinerama 
-lXv -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -lnsl -ldl -Wl,--rpath 
-Wl,/usr/local/lib
capproc.o(.gnu.linkonce.r._ZTV6QGList+0xc): undefined reference to 
`QGList::clear()'
capproc.o(.gnu.linkonce.r._ZTV6QGList+0x10): undefined reference to 
`QGList::~QGList [in-charge]()'
capproc.o(.gnu.linkonce.r._ZTV6QGList+0x14): undefined reference to 
`QGList::~QGList [in-charge deleting]()'
capproc.o(.gnu.linkonce.r._ZTV6QGList+0x18): undefined reference to 
`QPtrCollection::newItem(void*)'
capproc.o(.gnu.linkonce.r._ZTV6QGList+0x20): undefined reference to 
`QGList::compareItems(void*, void*)'
capproc.o(.gnu.linkonce.r._ZTV6QGList+0x24): undefined reference to 
`QGList::read(QDataStream&, void*&)'
capproc.o(.gnu.linkonce.r._ZTV6QGList+0x28): undefined reference to 
`QGList::write(QDataStream&, void*) const'
capproc.o(.gnu.linkonce.r._ZTI6QGList+0x8): undefined reference to 
`typeinfo for QPtrCollection'
collect2: ld returned 1 exit status
make[3]: *** [avirec] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/usr/local/src/avifile0.7-0.7.37/samples/qtvidcap'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory 
`/usr/local/src/avifile0.7-0.7.37/samples/qtvidcap'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/avifile0.7-0.7.37/samples'
make: *** [install-recursive] Error 1


I have run './configure; make'

Can you help please ?

Best regards

Haavard Holm