[mythtv] CVS + !MMX doesn't compile (and other ./configure issues)
Chris Petersen
lists at forevermore.net
Sat Mar 26 07:33:02 UTC 2005
I've been working on a new rpm specfile, and part of that is trying to
stick with redhat's odd desire to have i386 arch (or at least i586)
tuned to pentiumpro or pentium4 (you'll have to ask one of their people
why they chose this, but they seem to have good reasons)
First of all, --enable-mmx doesn't work. gcc knows what to do if I say
i[35]86 arch with mmx optimizations, so the configure script really
should let me override this with whatever I want, esp. since the redhat
way to allow for the via c3 chips AND other chips is to do i[35]86 to
account for the c3 missing some commandsets, but allow for the other
modern optimizaions like mmx, which they do have.
Secondly, if I try any of the non-mmx archs, the build goes for awhile
and then dies with the following:
make[2]: Entering directory `/var/tmp/BUILD/mythtv-0.18/programs/mythepg'
g++ -c -pipe -march=i686 -Wall -W -g -D_REENTRANT -DUSING_IVTV
-DUSING_DVB -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-I/usr/lib/qt-3.3/mkspecs/default -I. -I../../libs -I../../libs/libmyth
-I/usr/include -I../../linuxtv-dvb-1.1.1/linux/include
-I/usr/lib/qt-3.3/include -o main.o main.cpp
cd mythprogfind && make -f Makefile
make[2]: Entering directory
`/var/tmp/BUILD/mythtv-0.18/programs/mythprogfind'
g++ -c -pipe -march=i686 -Wall -W -g -D_REENTRANT -DUSING_IVTV
-DUSING_DVB -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-I/usr/lib/qt-3.3/mkspecs/default -I. -I../../libs -I../../libs/libmyth
-I/usr/include -I../../linuxtv-dvb-1.1.1/linux/include
-I/usr/lib/qt-3.3/include -o main.o main.cpp
cd mythtv && make -f Makefile
make[2]: Entering directory `/var/tmp/BUILD/mythtv-0.18/programs/mythtv'
g++ -c -pipe -march=i686 -Wall -W -g -D_REENTRANT -DUSING_IVTV
-DUSING_DVB -DUSING_XRANDR -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr\" -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_NO_DEBUG
-I/usr/lib/qt-3.3/mkspecs/default -I. -I../../libs/libmythtv
-I../../libs/libmyth -I../../libs -I/usr/include
-I../../linuxtv-dvb-1.1.1/linux/include -I/usr/lib/qt-3.3/include -o
main.o main.cpp
g++ -o mythtv main.o -L/usr/lib/qt-3.3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libavformat
-lmythtv-0.17 -lmythavformat-0.17 -lmythavcodec-0.17 -lmyth-0.17
-lfreetype -lmp3lame -lasound -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm
-lqt-mt -lXext -lX11 -lm -lpthread
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_mmx'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_add_mmx'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_copy_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_mmx_init'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_add_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_3dnow'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_copy_mmx'
collect2: ld returned 1 exit status
make[2]: *** [mythtv] Error 1
make[2]: Leaving directory `/var/tmp/BUILD/mythtv-0.18/programs/mythtv'
make[1]: *** [sub-mythtv] Error 2
make[1]: *** Waiting for unfinished jobs....
g++ -o mythprogfind main.o -L/usr/lib/qt-3.3/lib
-L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavcodec
-L../../libs/libavformat -lmythtv-0.17 -lmythavformat-0.17
-lmythavcodec-0.17 -lmyth-0.17 -lfreetype -lmp3lame -lasound
-L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm -lqt-mt -lXext -lX11 -lm
-lpthread
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_mmx'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_add_mmx'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_copy_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_mmx_init'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_add_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_3dnow'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_copy_mmx'
collect2: ld returned 1 exit status
make[2]: *** [mythprogfind] Error 1
make[2]: Leaving directory
`/var/tmp/BUILD/mythtv-0.18/programs/mythprogfind'
make[1]: *** [sub-mythprogfind] Error 2
g++ -o mythepg main.o -L/usr/lib/qt-3.3/lib -L../../libs/libmyth
-L../../libs/libmythtv -L../../libs/libavcodec -L../../libs/libavformat
-lmythtv-0.17 -lmythavformat-0.17 -lmythavcodec-0.17 -lmyth-0.17
-lfreetype -lmp3lame -lasound -L/usr/X11R6/lib -lXinerama -lXv -lXxf86vm
-lqt-mt -lXext -lX11 -lm -lpthread
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_mmx'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_add_mmx'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_copy_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_mmx_init'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_add_mmxext'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_mc_3dnow'
../../libs/libmythtv/libmythtv-0.17.so: undefined reference to
`mpeg2_idct_copy_mmx'
collect2: ld returned 1 exit status
make[2]: *** [mythepg] Error 1
make[2]: Leaving directory `/var/tmp/BUILD/mythtv-0.18/programs/mythepg'
make[1]: *** [sub-mythepg] Error 2
make: *** [sub-programs] Error 2
More information about the mythtv-dev
mailing list