sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #91164
Mythtv og framebuffer
Hej,
Da min gammel mythtv maskine døde, skulle en ny op, også ville jeg prøve
at have den op med framebuffer output i stedet for X.
Jeg køre med gentoo og har fået framebuffer op og køre på den. Jeg kører
med den sidste stable ebuild af mythtv 0.20_p12172.
Jeg har rettet i ebuilden for at få directfb med og X ud:
mythtv-0.20_p12172.ebuild:
SNIP
--enable-xrandr
--disable-xv
--enable-directfb
--disable-x11
--enable-proc-opt"
SNIP
Men den fejler under compling med dette output:
vsync.cpp: In destructor 'virtual OpenGLVideoSync::~OpenGLVideoSync()':
vsync.cpp:503: error: 'VideoOutputXv' was not declared in this scope
vsync.cpp:503: error: 'vo' was not declared in this scope
vsync.cpp:503: error: expected type-specifier before 'VideoOutputXv'
vsync.cpp:503: error: expected `>' before 'VideoOutputXv'
vsync.cpp:503: error: expected `(' before 'VideoOutputXv'
vsync.cpp:503: error: expected primary-expression before '>' token
vsync.cpp:503: error: expected `)' before ';' token
vsync.cpp: In member function 'virtual bool OpenGLVideoSync::TryInit()':
vsync.cpp:523: error: 'VideoOutputXv' was not declared in this scope
vsync.cpp:523: error: 'vo' was not declared in this scope
vsync.cpp:523: error: expected type-specifier before 'VideoOutputXv'
vsync.cpp:523: error: expected `>' before 'VideoOutputXv'
vsync.cpp:523: error: expected `(' before 'VideoOutputXv'
vsync.cpp:523: error: expected primary-expression before '>' token
vsync.cpp:523: error: expected `)' before ';' token
g++ -c -pipe -DQWS -march=pentium4 -I/usr/include/directfb -D_REENTRANT
-O3 -Wall -Wno-switch -fomit-frame-pointer -I/usr/include/freetype2
-D_REENTRANT -DPIC -fPIC -DMMX -Di386 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\"
-D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_DIRECTFB
-DUSING_OPENGL -DUSING_OPENGL_VSYNC -DUSING_FRONTEND -DUSING_V4L
-DUSING_IVTV -DUSING_DVB -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -I/usr/qt/3-embedded/mkspecs/qws/linux-x86-g++ -I.
-I/usr/include -I/usr/include -I../.. -I.. -I../libmyth -I../libavcodec
-I../libavutil -I../libmythmpeg2 -Idvbdev -Impeg
-I../libmythlivemedia/BasicUsageEnvironment/include
-I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include
-I../libmythlivemedia/UsageEnvironment/include
-I/usr/qt/3-embedded/include -I/usr/X11R6/include -o videoout_directfb.o
videoout_directfb.cpp
vsync.cpp: In member function 'virtual void OpenGLVideoSync::Start()':
vsync.cpp:677: error: 'VideoOutputXv' was not declared in this scope
vsync.cpp:677: error: 'vo' was not declared in this scope
vsync.cpp:677: error: expected type-specifier before 'VideoOutputXv'
vsync.cpp:677: error: expected `>' before 'VideoOutputXv'
vsync.cpp:677: error: expected `(' before 'VideoOutputXv'
vsync.cpp:677: error: expected primary-expression before '>' token
vsync.cpp:677: error: expected `)' before ';' token
vsync.cpp: In member function 'virtual void OpenGLVideoSync::Stop()':
vsync.cpp:748: error: 'VideoOutputXv' was not declared in this scope
vsync.cpp:748: error: 'vo' was not declared in this scope
vsync.cpp:748: error: expected type-specifier before 'VideoOutputXv'
vsync.cpp:748: error: expected `>' before 'VideoOutputXv'
vsync.cpp:748: error: expected `(' before 'VideoOutputXv'
vsync.cpp:748: error: expected primary-expression before '>' token
vsync.cpp:748: error: expected `)' before ';' token
make[2]: *** [vsync.o] Error 1
make[2]: *** Waiting for unfinished jobs....
videoout_directfb.cpp:188: error: too many initializers for 'const
unsigned int [117][2]'
videoout_directfb.cpp:205: error: extra qualification 'DirectfbData::' on
member 'DirectfbData'
videoout_directfb.cpp: In member function 'virtual void
VideoOutputDirectfb::PrepareFrame(VideoFrame*, FrameScanType)':
videoout_directfb.cpp:546: warning: dereferencing type-punned pointer will
break strict-aliasing rules
videoout_directfb.cpp:552: warning: dereferencing type-punned pointer will
break strict-aliasing rules
videoout_directfb.cpp: In member function 'bool
VideoOutputDirectfb::CreateDirectfbBuffers(DFBSurfaceDescription)':
videoout_directfb.cpp:761: warning: dereferencing type-punned pointer will
break strict-aliasing rules
videoout_directfb.cpp: In member function 'virtual int
VideoOutputDirectfb::SetPictureAttribute(int, int)':
videoout_directfb.cpp:841: warning: dereferencing type-punned pointer will
break strict-aliasing rules
videoout_directfb.cpp:875: warning: dereferencing type-punned pointer will
break strict-aliasing rules
make[2]: *** [videoout_directfb.o] Error 1
make[2]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-0.20_p12172/work/mythtv-0.20/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory
`/var/tmp/portage/media-tv/mythtv-0.20_p12172/work/mythtv-0.20/libs'
make: *** [sub-libs] Error 2
!!! ERROR: media-tv/mythtv-0.20_p12172 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3529: Called src_compile
mythtv-0.20_p12172.ebuild, line 195: Called die
Håber der er nogen der kan hjælpe.
Mvh Kim.