[CM] snd compile error

plutek@infinity.net plutek@infinity.net
Wed, 16 May 2007 12:23:40 -0400 (EDT)


greetings!

sorry.... this should really follow up on the thread "snd compilation problem" from earlier this month, but i did not save those messages.

i'm also trying to compile on SUSE 10.2 (specifically, the JAD audio distro), and having what appears to be the same problem. here's the compile error:

gcc -c -DLOCALE_DIR=\"/usr/local/share/locale\" -DSCRIPTS_DIR=\"/usr/local/share/snd\" -DHAVE_CONFIG_H -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12   -O2 -I. -g -O2 -pthread      snd-xen.c
snd-xen.c: In function ‘snd_catch_scm_error’:
snd-xen.c:457: error: ‘scm_the_last_stack_fluid’ undeclared (first use in this function)
snd-xen.c:457: error: (Each undeclared identifier is reported only once
snd-xen.c:457: error: for each function it appears in.)
snd-xen.c: In function ‘g_fmod’:
snd-xen.c:1764: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_j0’:
snd-xen.c:1773: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_j1’:
snd-xen.c:1780: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_jn’:
snd-xen.c:1788: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_y0’:
snd-xen.c:1795: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_y1’:
snd-xen.c:1802: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_yn’:
snd-xen.c:1810: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_erf’:
snd-xen.c:1817: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_erfc’:
snd-xen.c:1824: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_lgamma’:
snd-xen.c:1831: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_i0’:
snd-xen.c:1839: warning: return makes pointer from integer without a cast
snd-xen.c: In function ‘g_xen_initialize’:
snd-xen.c:2514: warning: passing argument 2 of ‘gh_define’ makes pointer from integer without a cast
make: *** [snd-xen.o] Error 1


there are also a lot of "pointer from integer without a cast" warnings, in various functions, before the error which stops the compile. i'm using the daily tarball.

bill, shall i send you my config.log and makefile? (off-list, i assume?) 

-- 
.pltk.