[CM] Problem building lates Gtk Snd / errors using Motif Snd
Frank Barknecht
fbar@footils.org
Wed, 14 Apr 2004 22:09:47 +0200
Hallo,
I could need a helping hand building the latest Snd (from 12-Apr 04)
with Gtk. make fails at xg.c with this error:
$ make
gcc -c -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -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/include/freetype2 -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I. -g -O2 xg.c
xg.c:330: error: parse error before '*' token
xg.c: In function `C_TO_XEN_GtkFileFilterInfo_':
xg.c:330: error: `val' undeclared (first use in this function)
xg.c:330: error: (Each undeclared identifier is reported only once
xg.c:330: error: for each function it appears in.)
xg.c: At top level:
xg.c:330: error: parse error before '*' token
xg.c: In function `XEN_TO_C_GtkFileFilterInfo_':
xg.c:330: error: `GtkFileFilterInfo' undeclared (first use in this function)
xg.c:330: error: parse error before ')' token
xg.c:330: error: parse error before ')' token
xg.c: At top level:
xg.c:331: error: parse error before '*' token
xg.c: In function `C_TO_XEN_GtkEntryCompletion_':
xg.c:331: error: `val' undeclared (first use in this function)
xg.c: At top level:
xg.c:331: error: parse error before '*' token
xg.c: In function `XEN_TO_C_GtkEntryCompletion_':
xg.c:331: error: `GtkEntryCompletion' undeclared (first use in this function)
xg.c:331: error: parse error before ')' token
xg.c:331: error: parse error before ')' token
make: *** [xg.o] Error 1
My configure line fro config.log is:
$ ./configure --with-jack --with-alsa --with-esd=no --with-ladspa
--without-ruby --with-guile --with-modules --with-editres
--with-static-xm --with-gtk
This is on a Debian unstable Linux box with the libgtk2.0 2.2.4-3
package.
The Motif version build just fine, but I need to test the Gtk one as
well.
Problem 2:
Using the Motif-Snd there also seem to be some problems with some .scm
files, which I couldn't sort out yet. I normally use Kjetil's
snd_conffile.scm.
If Kjetil's file is active (loaded in ~/.snd) I can open files but as
soon as I try to play, snd crashes with:
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0xc0096f
Serial number of failed request: 27860
Current serial number in output stream: 27860
or similar.
(Using Dave Phillips' set works btw.)
Any ideas about this problem?
Ciao
--
Frank Barknecht _ ______footils.org__