Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8548 closed defect (fixed)

Compile error in Fedora 12 within vsync.cpp

Reported by: otto at kolsi dot fi Owned by: Isaac Richards
Priority: minor Milestone: 0.24
Component: MythTV - General Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

In Fedora 12, following build error occurs:

compiling vsync.cpp
vsync.cpp: In member function ‘virtual void OpenGLVideoSync::Start()’:
vsync.cpp:435: error: invalid use of incomplete type ‘struct VideoOutput’
vsync.h:25: error: forward declaration of ‘struct VideoOutput’
vsync.cpp: In member function ‘virtual void OpenGLVideoSync::WaitForFrame(int)’:
vsync.cpp:452: error: invalid use of incomplete type ‘struct VideoOutput’
vsync.h:25: error: forward declaration of ‘struct VideoOutput’
make[2]: *** [vsync.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/mnt/myth/trunk/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv-make_default] Error 2
make[1]: Leaving directory `/mnt/myth/trunk/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2 

Configure options:

$ ./configure --previous
Options:  --disable-audio-jack --disable-joystick-menu --disable-firewire --disable-ivtv --disable-v4l --disable-hdhomerun --disable-iptv --enable-silent_cc --disable-mheg --compile-type=profile
# Basic Settings
Compile type              profile
Compiler cache            symlink gcc
DistCC                    no
qmake                     /usr/bin/qmake-qt4
install prefix            /usr/local
runtime prefix            /usr/local
CPU                       x86 x86_32 (model name        : Intel(R) Pentium(R) 4 CPU 1.50GHz)
big-endian                no
runtime cpu detection     no
yasm                      no
MMX enabled               yes
MMX2 enabled              yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
CMOV enabled              yes

# Input Support
Joystick menu             no
lirc support              yes
Video4Linux sup.          no
ivtv support              no
HD-PVR support            no
FireWire support          no
DVB support               yes [/usr/include]
DVB-S2 support            yes
HDHomeRun support         no
IPTV support              no

# Sound Output Support
PulseAudio support        yes
OSS support               yes
ALSA support              no
JACK support              no
libfftw3 support          no

# Video Output Support
x11 support               yes
xrandr support            yes
xv support                no
XvMC support              no
XvMC VLD support          no
VDPAU support             no
OpenGL video              yes
OpenGL vsync              yes
DirectFB                  no
Fribidi formatting        no
MHEG support              no

# Misc Features
multi threaded libavcodec yes
Frontend                  yes
Backend                   yes

# Bindings
bindings_perl             yes
bindings_python           yes

Creating libs/libmythdb/mythconfig.h and libs/libmythdb/mythconfig.mak

libs/libmythdb/mythconfig.h is unchanged
libs/libavutil/avconfig.h is unchanged 

Change History (2)

comment:1 Changed 9 years ago by markk

Resolution: fixed
Status: newclosed

(In [25069]) Add an extra include to VSync. Closes #8548.

comment:2 Changed 9 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.