Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-bad
gst-plugins-bad
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,011
    • Issues 1,011
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 199
    • Merge Requests 199
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #1430

Closed
Open
Opened 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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-bad#1430