[linux-audio-user] Re: [ardour-users] jack_fst and gcc4

Mark Knecht markknecht at gmail.com
Sun Oct 23 14:23:02 EDT 2005


On 10/23/05, torbenh at gmx.de <torbenh at gmx.de> wrote:
>
> xfst IS fst. i just removed the hacky stuff.
> i removed the debug stuff from the makefile and it still works with my
> wine version.
>
> Wine 20050111
>
> i uploaded to
> http://galan.sf.net/xfst-0.4.tar.gz
>
> please report back.

Hi Torben,
   0.4 gets farther but still has problems for me. I commented out two
functions in aeffectx.h to get this far. Unfortunately this looks like
mostly an AMD64 problem:

mark at lightning ~/CODE/xfst-0.4 $ make
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o audiomaster.o audiomaster.c
In file included from ./fst.h:26,
                 from jackvst.h:8,
                 from audiomaster.c:23:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
In file included from audiomaster.c:24:
./vst/aeffectx.h:21: warning: malformed '#pragma pack(push[, id],
<n>)' - ignored
./vst/aeffectx.h:1000: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o fst.o fst.c
In file included from fst.h:26,
                 from fst.c:4:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o fstinfofile.o fstinfofile.c
In file included from fst.h:26,
                 from fstinfofile.c:2:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
In file included from fstinfofile.c:3:
vst/aeffectx.h:21: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
vst/aeffectx.h:1000: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o gtk.o gtk.c
In file included from ./fst.h:26,
                 from jackvst.h:8,
                 from gtk.c:20:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
gtk.c: In function `bypass_handler':
gtk.c:34: warning: cast to pointer from integer of different size
gtk.c: In function `mute_handler':
gtk.c:42: warning: cast to pointer from integer of different size
gtk.c: In function `remove_handler':
gtk.c:49: warning: cast to pointer from integer of different size
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o jfst.o jfst.c
In file included from ./fst.h:26,
                 from jfst.c:23:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
In file included from jfst.c:25:
./vst/aeffectx.h:21: warning: malformed '#pragma pack(push[, id],
<n>)' - ignored
./vst/aeffectx.h:1000: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o vsti.o vsti.c
In file included from ./fst.h:26,
                 from ./jackvst.h:8,
                 from vsti.c:32:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
In file included from vsti.c:33:
./vst/aeffectx.h:21: warning: malformed '#pragma pack(push[, id],
<n>)' - ignored
./vst/aeffectx.h:1000: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
vsti.c: In function `queue_midi':
vsti.c:77: warning: assignment from incompatible pointer type
winegcc -c  `pkg-config --cflags gtk+-2.0` `pkg-config --cflags jack`
`pkg-config --cflags jack` -I.   -o vstwin.o vstwin.c
In file included from fst.h:26,
                 from vstwin.c:14:
./vst/AEffect.h:35: warning: malformed '#pragma pack(push[, id], <n>)' - ignored
./vst/AEffect.h:49: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:70: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:72: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:74: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:75: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:100: warning: `__cdecl__' attribute ignored
./vst/AEffect.h:191: warning: #pragma pack (pop) encountered without
matching #pragma pack (push, <n>)
vstwin.c:56: warning: `__stdcall__' attribute ignored
vstwin.c:153: warning: `__stdcall__' attribute ignored
vstwin.c: In function `fst_create_editor':
vstwin.c:381: warning: cast from pointer to integer of different size
vstwin.c: In function `fst_load':
vstwin.c:514: warning: assignment from incompatible pointer type
winegcc -mwindows -o xfst.exe audiomaster.o fst.o fstinfofile.o gtk.o
jfst.o vsti.o vstwin.o     `pkg-config --libs gtk+-2.0` `pkg-config
--libs jack` `pkg-config --libs alsa` -L/usr/X11R6/lib -lX11   -luuid
ld: Relocatable linking with relocations from format elf64-x86-64
(audiomaster.o) to format elf32-i386 (xfst.qiWLmx.o) is not supported
winebuild: ld -m elf_i386 -r failed with status 256
winegcc: winebuild failed.
make: *** [xfst.exe] Error 2
mark at lightning ~/CODE/xfst-0.4 $

I will try it on a 32-bit machine later today or tomorrow.

Thanks,
Mark




More information about the Linux-audio-user mailing list