[mythtv-users] Help compiling mythtv from svn on Fedora

John Nissley jnissley at nissley.org
Fri Aug 28 17:29:05 UTC 2009


On 08/28/2009 08:27 AM, Joe Ripley wrote:
> On Fri, Aug 28, 2009 at 7:10 AM, John Nissley<jnissley at nissley.org>  wrote:
>    
>> I like the idea of building the RPM's because of the easy uninstall.  Thanks
>> for
>> pointing that out and I have tried to do the RPM build and ran into some
>> problems.
>> It appears that everything is going along fine until it reaches the vdpau
>> section.
>> It appears that the vdpau include file is not present.
>>
>> In file included from vdpau.c:32:
>> vdpau.h:47:25: error: vdpau/vdpau.h: No such file or directory
>> vdpau.h:48:29: error: vdpau/vdpau_x11.h: No such file or directory
>> In file included from vdpau.c:32:
>> vdpau.h:67: error: expected specifier-qualifier-list before
>> ‘VdpVideoSurface’
>> vdpau.c: In function ‘ff_vdpau_h264_set_reference_frames’:
>> vdpau.c:45: error: ‘VdpReferenceFrameH264’ undeclared (first use in this
>> function)
>> vdpau.c:45: error: (Each undeclared identifier is reported only once
>> vdpau.c:45: error: for each function it appears in.)
>> vdpau.c:45: error: ‘rf’ undeclared (first use in this function)
>> vdpau.c:45: error: ‘rf2’ undeclared (first use in this function)
>> vdpau.c:52: error: ‘struct vdpau_render_state’ has no member named ‘info’
>> vdpau.c:68: error: ‘struct vdpau_render_state’ has no member named ‘info’
>> vdpau.c:71: error: ‘struct vdpau_render_state’ has no member named ‘surface’
>> vdpau.c:79: error: ‘VDP_TRUE’ undeclared (first use in this function)
>>
>> How to I resolve this?
>>      
> This is probably related to your version of the NVIDIA drivers.  You
> either don't use NVIDIA drivers, or you're using and old version that
> does not have the VDPAU support included.  You may need to specify
> '--disable-vdpau' in your 'configure' command line (i.e. modify the
> spec file).
>
>    
I do have the NVIDIA drivers installed. I was initially using 
kmod-nvidia, then tried installing from the nvidia package to see if 
that would make any difference and it did not. In fact when I tried to 
install the nvidia devel it installed the kmod-nvidia package again.
I am currently trying to figure out where to place the --disable-vdpau 
command in the spec file (my first few tries did not work) just to see 
if I can get a compile to complete.
I tried the following in the spec file
# --without nvidia Disable NVidia XvMC and VDPAU support
--without nvidia
I just added the --without nvidia below the comment line but it did not 
work. What is the correct method to remove the vdpau compile when using 
the spec file?

I am now getting the following error
d mythshutdown/ && /usr/lib64/qt4/bin/qmake mythshutdown.pro -unix 
PREFIX=/usr/local -o Makefile
/usr/lib64/libGL.so: undefined reference to `_nv000030gl'
../../libs/libavcodec/libmythavcodec-0.22.so: undefined reference to 
`aac_decoder'
collect2: ld returned 1 exit status
make[2]: *** [mythtv] Error 1
make[2]: Leaving directory 
`/root/rpmbuild/BUILD/mythtv-0.22/mythtv-0.22/programs/mythtv'
make[1]: *** [sub-mythtv-make_default] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory 
`/root/rpmbuild/BUILD/mythtv-0.22/mythtv-0.22/programs'
make: *** [sub-programs-make_default-ordered] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.jpyxPA (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.jpyxPA (%build)
MythTV build error.



More information about the mythtv-users mailing list