The specific place make fails is here; [ 80%] Building CXX object gstreamer/CMakeFiles/phonon_gstreamer.dir/videographicsobject.cpp.o In file included from /usr/include/c++/4.9.2/x86_64-pc-linux-gnu/bits/os_defines.h:39:0, from /usr/include/c++/4.9.2/x86_64-pc-linux-gnu/bits/c++config.h:430, from /usr/include/c++/4.9.2/utility:68, from /usr/include/c++/4.9.2/algorithm:60, from /usr/include/qt4/QtCore/qglobal.h:68, from /usr/include/qt4/QtCore/qnamespace.h:45, from /usr/include/qt4/QtCore/qobjectdefs.h:45, from /usr/include/qt4/QtCore/qobject.h:47, from /usr/include/qt4/QtCore/QObject:1, from /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.h:25, from /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp:116:2: error: invalid preprocessing directive #warn #warn GST1 ^ /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp: In static member function 'static void Phonon::Gstreamer::VideoGraphicsObject::renderCallback(GstBuffer*, void*)': /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp:107:76: error: 'GST_BUFFER_CAPS' was not declared in this scope GstStructure *structure = gst_caps_get_structure(GST_BUFFER_CAPS(buffer), 0); ^ /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp:119:69: error: 'GST_BUFFER_DATA' was not declared in this scope reinterpret_cast<const char*>(GST_BUFFER_DATA(buffer)), ^ /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp:120:39: error: 'GST_BUFFER_SIZE' was not declared in this scope GST_BUFFER_SIZE(buffer)); ^ /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp: At global scope: /usr/src/phonon-backend-gstreamer-4.8.0/gstreamer/videographicsobject.cpp:150:83: warning: unused parameter 'offers' [-Wunused-parameter] QList<VideoFrame::Format> VideoGraphicsObject::offering(QList<VideoFrame::Format> offers) ^ gstreamer/CMakeFiles/phonon_gstreamer.dir/build.make:491: recipe for target 'gstreamer/CMakeFiles/phonon_gstreamer.dir/videographicsobject.cpp.o' failed make[2]: *** [gstreamer/CMakeFiles/phonon_gstreamer.dir/videographicsobject.cpp.o] Error 1 CMakeFiles/Makefile2:109: recipe for target 'gstreamer/CMakeFiles/phonon_gstreamer.dir/all' failed make[1]: *** [gstreamer/CMakeFiles/phonon_gstreamer.dir/all] Error 2 Makefile:117: recipe for target 'all' failed make: *** [all] Error 2 Reproducible: Always Steps to Reproduce: 1. cd phonon-backend-gstreamer-4.8.0/ 2. mkdir build && cd build && ccmake .. 3. finds all the dependencies except for package 'gstreamer-cdda-1.0' and 'gstreamer-netbuffer-1.0' 4. make Expected Results: successful compile I have gstreamer-1.4.4 and all the gst-plugins-* (version 1.4.4) installed.
Created attachment 89565 [details] phonon-backend-gtreamer-4.8.0 compile log
Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved.
This backend for Phonon is no longer maintained or supported, and has not been for quite some time. Please use the VLC backend instead--which is the recommended and maintained replacement--and see if you can reproduce the issue there. If you can, please open a new bug report at https://bugs.kde.org/enter_bug.cgi?product=phonon-backend-vlc. Thanks a lot!