[linux-audio-user] jack_fst build question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,
Mark Knecht <mknecht@xxxxxxxxxxxxxx> wrote:

> Jesse Chappell wrote:
> <SNIP>
> > Either re-configure and install libfst with the --prefix=/usr
> > option (recommended for most people, especially gentoo'ers)
> 
> Thanks Jesse,
>     One step forward anyway. Now:
> 
> mark@flash jack_fst-1.2 $ make
> make  all-am
> make[1]: Entering directory `/home/mark/data/jack_fst-1.2'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2   -I/usr/include/gtk-2.0 
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 
> -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/vst 
>    -MT jfst.o -MD -MP -MF ".deps/jfst.Tpo" \
>    -c -o jfst.o `test -f 'jfst.c' || echo './'`jfst.c; \
> then mv -f ".deps/jfst.Tpo" ".deps/jfst.Po"; \
> else rm -f ".deps/jfst.Tpo"; exit 1; \
> fi
> In file included from jfst.c:25:
> /usr/include/vst/aeffectx.h:934: error: syntax error before "VstFileType"
> /usr/include/vst/aeffectx.h:951: error: syntax error before '}' token
> make[1]: *** [jfst.o] Error 1
> make[1]: Leaving directory `/home/mark/data/jack_fst-1.2'
> make: *** [all] Error 2
> mark@flash jack_fst-1.2 $

I believe this has been said here before, but: In that file aeffectx.h,
after having run the fixheaders script, I had to manually change one
line in it (exactly the line where your error appears, 934):
Change from:
   VstFileType *fileTypes; // list of fileTypes
to:
   struct VstFileType *fileTypes; // list of fileTypes

Then it compiled&linked fine for me (though on my Debian system I still
keep having this problem that any program using libfst/wine gets stuck
at one point, eating 100% CPU doing nothing - which has also been reported
here before).

Greetings,
Frank

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux