Call for Testers: MythTV 0.22

Torfinn Ingolfsen torfinn.ingolfsen at
Fri Nov 20 17:12:37 UTC 2009

On Fri, 20 Nov 2009 11:55:58 +0100 (CET)
Bernhard Froehlich <decke at> wrote:

> Looks like what i described one mail ago. We cannot use --extra-cflags
> because it WILL break in weird ways. It pulls in header files from
> /usr/local/include because "-g -I/usr/local/include" is earlier than
> "-I." and so it breaks.
> As a hackish workaround just until i fix it correctly you could try
> --extra-cflags="-g -I. -I/usr/local/include" --extra-ldflags="-L.
> -L/usr/local/lib"

OK, the CONFIGURE_ARGS line  now looks like this:
CONFIGURE_ARGS= --enable-xvmc --enable-opengl-vsync --disable-directfb --enable-ivtv \
                --disable-xvmc-pro --disable-xvmc-vld --disable-xvmcw \
                --disable-dvb --extra-ldflags="-L. -L/usr/local/lib" \
                --prefix=${PREFIX} --extra-cflags="-g -I. -I/usr/local/include" --extra-cxxflags=-g

and it gets a bit further before it dies:
gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libmythui'
cd libmyth/ && /usr/local/bin/qmake-qt4 -unix QMAKE=/usr/local/bin/qmake-qt4 -o Makefile
cd libavcodec/ && /usr/local/bin/qmake-qt4 -unix QMAKE=/usr/local/bin/qmake-qt4 -o Makefile
yasm: No input files specified
cd libavcodec/ && gmake -f Makefile all
gmake[2]: Entering directory `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libavcodec'
yasm -f elf -DARCH_X86_64 -m amd64 -DPIC -I x86/ -o fft_mmx.o x86/fft_mmx.asm
yasm -f elf -DARCH_X86_64 -m amd64 -DPIC -I x86/ -o dsputil_yasm.o x86/dsputil_yasm.asm
yasm -f elf -DARCH_X86_64 -m amd64 -DPIC -I x86/ -o h264_deblock_sse2.o x86/h264_deblock_sse2.asm
yasm -f elf -DARCH_X86_64 -m amd64 -DPIC -I x86/ -o h264_idct_sse2.o x86/h264_idct_sse2.asm
gcc -c -pipe -march=k8 -fomit-frame-pointer -O3 -O2 -fno-strict-aliasing -pipe -D_ISOC99_SOURCE -std=c99 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -pthread -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wundef -fno-math-errno -g -I. -I/usr/local/include -w -DPIC -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -I/usr/local/share/qt4/mkspecs/freebsd-g++ -I. -I.. -I../.. -I/usr/local/include -o allcodecs.o allcodecs.c
In file included from /usr/local/include/libavutil/common.h:283,
                 from /usr/local/include/libavutil/avutil.h:56,
                 from avcodec.h:30,
                 from allcodecs.c:27:
./internal.h:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
gmake[2]: *** [allcodecs.o] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs/libavcodec'
gmake[1]: *** [sub-libavcodec-all] Error 2
gmake[1]: Leaving directory `/usr/ports/multimedia/mythtv/work/mythtv-0.22/libs'
gmake: *** [sub-libs-all-ordered] Error 2
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.
*** Error code 1

Stop in /usr/ports/multimedia/mythtv.


More information about the freebsd-multimedia mailing list