[mythtv-users] SVN - compile error - libavcodec

Michael T. Dean mtdean at thirdcontact.com
Mon Dec 22 17:04:51 UTC 2008


On 12/22/2008 11:49 AM, A JM wrote:
>> There shouldn't be any reference to qt3 at all.
>>
>> How long ago did you last recompile? Before the switch to Qt4 (end of
>> March I think). If so you need to clean out all the old makefiles.
>> Probably easier to  grab a fresh checkout and start again.
> So my guess was correct in that it appears to still be using qt3?? Since it
> showed up in the output that was my guess...
>
> *make[2]: Entering directory `/home/mythtv/mythtv/libs/**libavcodec'
> ccache gcc -c -pipe -march=pentiumpro -fomit-frame-pointer -O3
> -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall
> -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls
> -Wno-pointer-sign -Wcast-qual -funit-at-a-time -Wwrite-strings
> -fno-math-errno -w -D_REENTRANT -DPIC -fPIC  -Di386 -D_GNU_SOURCE
> -D_FILE_OFFSET_BITS=64 -DHAVE_AV_CONFIG_H -D_LARGEFILE_SOURCE -DHAVE_XVMC
> -DHAVE_XVMC_VLD -I/usr/share/qt3/mkspecs/**default -I. -I.. -I../.. -o
> dsputil_mmx.o i386/dsputil_mmx.c*
>
> 2 questions...
>
> 1) How did you know the last time I recompiled...
>   

Because when making the switch from the Qt3-based build to the Qt4-based 
build, you /must/ have a pristine (=cleaner than make distclean) source 
directory.

> 2) Doesn't make distclean get rid of all the makefiles

Nope.  It does /not/ get rid of the versioned Makefile in the repo.  :)

find . -name 'Makefile' -delete
svn up
# then build

Mike


More information about the mythtv-users mailing list