
mythtv at lamedomainname
Sep 9, 2002, 5:50 PM
Post #1 of 6
(2011 views)
Permalink
|
|
3 Hiccups with current (Sept. 9) CVS
|
|
Isaac (et al.) Couple of strange errors when compiling current CVS snapshot. 1. If I edit the configure script to include lame support, then 'make', I get: gcc -c -pipe -w -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT -D_GNU_SOURCE -DMMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I../../../../../include -I/usr/local/src/qt/include -I/usr/local/src/qt/mkspecs/default -o mp3lameaudio.o mp3lameaudio.c In file included from mp3lameaudio.c:22: ../../../../../include/lame/lame.h:89: parse error before `1' make[1]: *** [mp3lameaudio.o] Error 1 make[1]: Leaving directory `/usr/local/src/mythCVS/cvs/MC/libavcodec' make: *** [sub-libavcodec] Error 2 I'm using the most recent version of lame (3.92), and the line in question from lame.h is: /*asm optimizations*/ typedef enum asm_optimizations_e { here-> MMX = 1, AMD_3DNOW = 2, SSE = 3 } asm_optimizations; On the assumption that an enum for MMX and a -DMMX are somehow (??!!??) confusing each other, if I rip out the -DMMX for just that compile line then everything is fine. This is a bit odd .... 2. Further along, when building the (new) epg, I get a really weird one: make[1]: Entering directory `/usr/local/src/mythCVS/cvs/MC/mythepg' g++ -c -pipe -Wall -W -O6 -march=pentiumpro -fomit-frame-pointer -funroll-loops -fexpensive-optimizations -finline-functions -D_REENTRANT -D_GNU_SOURCE -DMMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I../../../../../include -I../libmythtv -I../libNuppelVideo -I/usr/local/src/qt/include -I/usr/local/src/qt/mkspecs/default -o guidegrid.o guidegrid.cpp /usr/local/src/qt/include/qvaluevector.h: In method `QValueVectorPrivate<ChannelInfo>::QValueVectorPrivate(const QValueVectorPrivate<ChannelInfo> &)': /usr/local/src/qt/include/qvaluevector.h:476: instantiated from `QValueVector<ChannelInfo>::detachInternal()' /usr/local/src/qt/include/qvaluevector.h:459: instantiated from here /usr/local/src/qt/include/qvaluevector.h:125: Internal compiler error. /usr/local/src/qt/include/qvaluevector.h:125: Please submit a full bug report. /usr/local/src/qt/include/qvaluevector.h:125: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[1]: *** [guidegrid.o] Error 1 make[1]: Leaving directory `/usr/local/src/mythCVS/cvs/MC/mythepg' make: *** [sub-mythepg] Error 2 I'm on a Pentium 4, and gcc is 2.95.3. If I take out the -O6 optimization (wow, does the epg really need to be that optimized :-), then it compiles just fine. 3. Linking for -lvorbis and -lvorbisenc are not automatically included in the Makefile for ./mythtv/ and ./mythfrontend/ That's it, - Thor ---------------------------------------------------------------- Thor Sigvaldason <thor [at] sigvaldason> For my PGP/GnuPG public key, send an e-mail to thorskey [at] sigvaldason ----------------------------------------------------------------
|