Bugs item #227569, was updated on 2001-01-04 12:31 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=111050&aid=227569&group_id=11050 Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Zdenek Kabelac (kabi) >Assigned to: Zdenek Kabelac (kabi) Summary: libaviplay is not compiled with -fPIC Initial Comment: Hi I'm building debian package from your program. I can't resolve this problem easily - I've tried to build libaviplay library with make CXXFLAGS+=-fPIC which creates library - however player can't be linked with this library because of these errors: make[2]: Entering directory `/mnt/hdd7/Alien/CVS/avifile-20010103/player' /bin/sh ../libtool --silent --mode=link c++ -I../include -I/usr/X11R6/include -I/usr/lib/qt2/include -I/usr/include/SDL -D_REENTRANT -DSHARE_PATH=\/tmp/aviplay/share/avifile\ -DWIN32_PATH=\/usr/lib/win32\ -march=i586 -lGL -lpthread -ldl -L/usr/X11R6/lib -lX11 -lXext -L/usr/lib/qt2/lib -lqt-mt -lXxf86dga -lXxf86vm -L/usr/lib -lSDL -lpthread -o aviplay main.o renderer.o mywidget_if.o MyConfig.o MyConfigImpl.o mywidget.o decoder_config.o mmx.o ../lib/libaviplay.la -lGL -lpthread -ldl ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::generate(void)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::wgetbits(int)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::generate_2(void)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::wgetbits9(int)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::layer3twopow2(int, int, int, int)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::layer3fixtostereo(int, float (*)[31][17])' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::generatesingle(void)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::huffmandecoder_1(HUFFMANCODETABLE const *, int *, int *)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::generatesingle_2(void)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::layer3twopow2_1(int, int, int)' ../lib/.libs/libaviplay.so: undefined reference to `Mpegtoraw::huffmandecoder_2(HUFFMANCODETABLE const *, int *, int *, int *, int *)' collect2: ld returned 1 exit status I'm not sure what is the cause of this error. Also is it really necessary to link this binaries with -rpath ? bye ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=111050&aid=227569&group_id=11050 _______________________________________________ Avifile mailing list [EMAIL PROTECTED] http://prak.org/mailman/listinfo/avifile
