fluidsynth-dssi.c:170:20: error: variable has incomplete type 'fluid_preset_t' (aka 'struct _fluid_preset_t') fluid_preset_t preset; ^ /usr/local/include/fluidsynth/types.h:41:16: note: forward declaration of 'struct _fluid_preset_t' typedef struct _fluid_preset_t fluid_preset_t; /**< SoundFont preset */ ^ fluidsynth-dssi.c:209:16: error: incomplete definition of type 'struct _fluid_sfont_t' fluid_sfont->iteration_start(fluid_sfont); ~~~~~~~~~~~^ /usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of 'struct _fluid_sfont_t' typedef struct _fluid_sfont_t fluid_sfont_t; /**< SoundFont */ ^ fluidsynth-dssi.c:210:23: error: incomplete definition of type 'struct _fluid_sfont_t' while (fluid_sfont->iteration_next(fluid_sfont, &preset)) { ~~~~~~~~~~~^ /usr/local/include/fluidsynth/types.h:40:16: note: forward declaration of 'struct _fluid_sfont_t' typedef struct _fluid_sfont_t fluid_sfont_t; /**< SoundFont */ ^ build log: https://ptpb.pw/mXqW
A commit references this bug: Author: tobik Date: Sun Nov 25 14:34:54 UTC 2018 New revision: 485865 URL: https://svnweb.freebsd.org/changeset/ports/485865 Log: audio/fluidsynth-dssi: Fix build with FluidSynth 2.x fluidsynth-dssi.c:170:20: error: variable has incomplete type 'fluid_preset_t' (aka 'struct _fluid_preset_t') fluid_preset_t preset; ^ PR: 233503 Reported by: jbeich Obtained from: PLD Linux Changes: head/audio/fluidsynth-dssi/Makefile head/audio/fluidsynth-dssi/files/patch-src_fluidsynth-dssi.c