Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 985
    • Issues 985
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 132
    • Merge requests 132
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #1430

Closed
Open
Created Oct 19, 2020 by Rémi Verschelde@akien

gstspanplc.c FTBFS on Mageia: error: invalid use of incomplete typedef ‘plc_state_t’

Hi,

When enabling spandsp support, gstreamer-plugins-bad 1.18.0 fails building on Mageia Cauldron with the following error:

[791/911] cc -Iext/spandsp/libgstspandsp.so.p -Iext/spandsp -I../ext/spandsp -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -O2 -g -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o -MF ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o.d -o ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o -c ../ext/spandsp/gstspanplc.c
FAILED: ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o 
cc -Iext/spandsp/libgstspandsp.so.p -Iext/spandsp -I../ext/spandsp -I. -I.. -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -fvisibility=hidden -fno-strict-aliasing -Wmissing-prototypes -Wdeclaration-after-statement -Wold-style-definition -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith -O2 -g -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fPIC -pthread -DHAVE_CONFIG_H -MD -MQ ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o -MF ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o.d -o ext/spandsp/libgstspandsp.so.p/gstspanplc.c.o -c ../ext/spandsp/gstspanplc.c
../ext/spandsp/gstspanplc.c: In function ‘gst_span_plc_create_stats’:
../ext/spandsp/gstspanplc.c:87:45: error: invalid use of incomplete typedef ‘plc_state_t’ {aka ‘struct plc_state_s’}
   87 |         "pitch", G_TYPE_INT, self->plc_state->pitch,
      |                                             ^~
../ext/spandsp/gstspanplc.c:88:52: error: invalid use of incomplete typedef ‘plc_state_t’ {aka ‘struct plc_state_s’}
   88 |         "pitch-offset", G_TYPE_INT, self->plc_state->pitch_offset, NULL);
      |                                                    ^~

Full build log: build.log

Assignee
Assign to
Time tracking