[CM] compiling Snd --with-gl version

Ludger Bruemmer ludi@zkm.de
Tue, 18 Jun 2002 11:51:03 +0200


Hi,

did anyone succed with the compilation of the Snd --with-gl version? I
tried to compile it on a couple of different SGIs with 6.5 and allways
ran into the same errors during the compilation of gl.c. Any idea?

ludger


/tmp/snd-5[56]> ./configure --with-gl
checking build system type... mips-sgi-irix6.5
checking host system type... mips-sgi-irix6.5
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for a BSD-compatible install... /usr/freeware/bin/install -c
checking for gsl-config... no
checking for GSL... no
checking for main in -lm... yes
checking for main in -lc... yes
checking for main in -ldl... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking sys/soundcard.h usability... no
checking sys/soundcard.h presence... no
checking for sys/soundcard.h... no
checking soundcard.h usability... no
checking soundcard.h presence... no
checking for soundcard.h... no
checking machine/soundcard.h usability... no
checking machine/soundcard.h presence... no
checking for machine/soundcard.h... no
checking gsl/gsl_version.h usability... no
checking gsl/gsl_version.h presence... no
checking for gsl/gsl_version.h... no
checking libc.h usability... no
checking libc.h presence... no
checking for libc.h... no
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking ladspa.h usability... no
checking ladspa.h presence... no
checking for ladspa.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking sys/fpu.h usability... yes
checking sys/fpu.h presence... yes
checking for sys/fpu.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking /usr/local/lib/oss/include/sys/soundcard.h usability... no
checking /usr/local/lib/oss/include/sys/soundcard.h presence... no
checking for /usr/local/lib/oss/include/sys/soundcard.h... no
checking /usr/lib/oss/include/sys/soundcard.h usability... no
checking /usr/lib/oss/include/sys/soundcard.h presence... no
checking for /usr/lib/oss/include/sys/soundcard.h... no
checking /opt/oss/include/sys/soundcard.h usability... no
checking /opt/oss/include/sys/soundcard.h presence... no
checking for /opt/oss/include/sys/soundcard.h... no
checking /var/lib/oss/include/sys/soundcard.h usability... no
checking /var/lib/oss/include/sys/soundcard.h presence... no
checking for /var/lib/oss/include/sys/soundcard.h... no
checking sys/sam9407.h usability... no
checking sys/sam9407.h presence... no
checking for sys/sam9407.h... no
checking gnu/libc-version.h usability... no
checking gnu/libc-version.h presence... no
checking for gnu/libc-version.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking whether time.h and sys/time.h may both be included... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for mode_t... yes
checking for size_t... yes
checking for pid_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether byte ordering is bigendian... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
checking for off_t... yes
checking for preprocessor stringizing operator... yes
checking for int... yes
checking size of int... 4
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
checking for int *... yes
checking size of int *... 4
checking for float... yes
checking size of float... 4
checking for void *... yes
checking size of void *... 4
checking for off_t... (cached) yes
checking size of off_t... 8
checking for long longs... yes
checking for isnan... yes
checking for rfftw... no
checking return type of signal handlers... void
checking for strftime... yes
checking for getcwd... yes
checking for strerror... yes
checking for readlink... yes
checking for setlocale... yes
checking for access... yes
checking for opendir... yes
checking for sleep... yes
checking for signal... yes
checking for strdup... yes
checking for statfs... yes
checking for clock... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking whether closedir returns void... no
checking for vprintf... yes
checking for _doprnt... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XShapeCombineMask in -lXext... yes
checking for XpGetDocumentData in -lXp... no
checking for XmCreateForm in -lXm... yes
checking for XpmReadFileToPixmap in -lXpm... no
checking for XpmGetErrorString in -lXpm... no
checking for XpmCreateXpmImageFromPixmap in -lXpm... no
checking for /usr/lib/snd/bin/guile-config... no
checking for Guile... 1.4
checking for scm_set_smob_apply in -lguile... no
checking for scm_remember_upto_here in -lguile... no
checking for scm_make_real in -lguile... yes
checking for scm_object_to_string in -lguile... no
checking for scm_num2long_long in -lguile... yes
checking for scm_num2int in -lguile... no
checking for scm_c_make_vector in -lguile... no
checking for scm_c_define in -lguile... no
checking for scm_c_define_gsubr in -lguile... no
checking for scm_c_eval_string in -lguile... no
checking for scm_list_n in -lguile... no
checking for scm_str2symbol in -lguile... no
checking for scm_gc_malloc in -lguile... no
checking for scm_t_catch_body... no
checking whether gcc accepts -OPT:Olimit=0... no
checking for audio system... SGI
checking stafs args... 4
checking for sigsetjmp... yes
configure: creating ./config.status
config.status: creating makefile
config.status: creating config.h
/tmp/snd-5[57]> which guile-config
/usr/local/bin/guile-config
/tmp/snd-5[58]> make
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
headers.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
audio.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
io.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
sound.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
clm.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
xen.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
vct.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
sndlib2xen.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
clm2xen.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
midi.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-io.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-utils.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-listener.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-error.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-completion.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-menu.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-axis.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-data.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-fft.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-marks.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-file.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-edits.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-chn.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-dac.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-region.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-select.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-find.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-snd.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-help.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-main.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-print.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-trans.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-mix.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-env.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xen.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-ladspa.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-rec.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-kbd.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-sig.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-draw.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-run.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xutils.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xerror.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xhelp.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xfind.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xmenu.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xdraw.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xlistener.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xchn.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xsnd.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xregion.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xdrop.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xmain.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xmix.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xrec.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xenv.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-gxutils.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-gxbitmaps.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-gxcolormaps.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xfft.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xprint.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xfile.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
snd-xxen.c
        gcc -c -DHAVE_CONFIG_H  -I. -g -O2 -I/usr/local/include
gl.c
gl.c: In function `define_integers':
gl.c:5030: `GL_TEXTURE_BINDING_3D' undeclared (first use in this
function)
gl.c:5030: (Each undeclared identifier is reported only once
gl.c:5030: for each function it appears in.)
gl.c:5194: `GL_TEXTURE0_ARB' undeclared (first use in this function)
gl.c:5195: `GL_TEXTURE1_ARB' undeclared (first use in this function)
gl.c:5196: `GL_TEXTURE2_ARB' undeclared (first use in this function)
gl.c:5197: `GL_TEXTURE3_ARB' undeclared (first use in this function)
gl.c:5198: `GL_TEXTURE4_ARB' undeclared (first use in this function)
gl.c:5199: `GL_TEXTURE5_ARB' undeclared (first use in this function)
gl.c:5200: `GL_TEXTURE6_ARB' undeclared (first use in this function)
gl.c:5201: `GL_TEXTURE7_ARB' undeclared (first use in this function)
gl.c:5202: `GL_TEXTURE8_ARB' undeclared (first use in this function)
gl.c:5203: `GL_TEXTURE9_ARB' undeclared (first use in this function)
gl.c:5204: `GL_TEXTURE10_ARB' undeclared (first use in this function)
gl.c:5205: `GL_TEXTURE11_ARB' undeclared (first use in this function)
gl.c:5206: `GL_TEXTURE12_ARB' undeclared (first use in this function)
gl.c:5207: `GL_TEXTURE13_ARB' undeclared (first use in this function)
gl.c:5208: `GL_TEXTURE14_ARB' undeclared (first use in this function)
gl.c:5209: `GL_TEXTURE15_ARB' undeclared (first use in this function)
gl.c:5210: `GL_TEXTURE16_ARB' undeclared (first use in this function)
gl.c:5211: `GL_TEXTURE17_ARB' undeclared (first use in this function)
gl.c:5212: `GL_TEXTURE18_ARB' undeclared (first use in this function)
gl.c:5213: `GL_TEXTURE19_ARB' undeclared (first use in this function)
gl.c:5214: `GL_TEXTURE20_ARB' undeclared (first use in this function)
gl.c:5215: `GL_TEXTURE21_ARB' undeclared (first use in this function)
gl.c:5216: `GL_TEXTURE22_ARB' undeclared (first use in this function)
gl.c:5217: `GL_TEXTURE23_ARB' undeclared (first use in this function)
gl.c:5218: `GL_TEXTURE24_ARB' undeclared (first use in this function)
gl.c:5219: `GL_TEXTURE25_ARB' undeclared (first use in this function)
gl.c:5220: `GL_TEXTURE26_ARB' undeclared (first use in this function)
gl.c:5221: `GL_TEXTURE27_ARB' undeclared (first use in this function)
gl.c:5222: `GL_TEXTURE28_ARB' undeclared (first use in this function)
gl.c:5223: `GL_TEXTURE29_ARB' undeclared (first use in this function)
gl.c:5224: `GL_TEXTURE30_ARB' undeclared (first use in this function)
gl.c:5225: `GL_TEXTURE31_ARB' undeclared (first use in this function)
gl.c:5226: `GL_ACTIVE_TEXTURE_ARB' undeclared (first use in this
function)
gl.c:5227: `GL_CLIENT_ACTIVE_TEXTURE_ARB' undeclared (first use in this
function)
gl.c:5228: `GL_MAX_TEXTURE_UNITS_ARB' undeclared (first use in this
function)
gl.c:5296: `GL_COLOR_TABLE_FORMAT_EXT' undeclared (first use in this
function)
gl.c:5297: `GL_COLOR_TABLE_WIDTH_EXT' undeclared (first use in this
function)
gl.c:5298: `GL_COLOR_TABLE_RED_SIZE_EXT' undeclared (first use in this
function)
gl.c:5299: `GL_COLOR_TABLE_GREEN_SIZE_EXT' undeclared (first use in this
function)
gl.c:5300: `GL_COLOR_TABLE_BLUE_SIZE_EXT' undeclared (first use in this
function)
gl.c:5301: `GL_COLOR_TABLE_ALPHA_SIZE_EXT' undeclared (first use in this
function)
gl.c:5302: `GL_COLOR_TABLE_LUMINANCE_SIZE_EXT' undeclared (first use in
this function)
gl.c:5303: `GL_COLOR_TABLE_INTENSITY_SIZE_EXT' undeclared (first use in
this function)
gl.c:5304: `GL_TEXTURE_INDEX_SIZE_EXT' undeclared (first use in this
function)
gl.c:5305: `GL_COLOR_INDEX1_EXT' undeclared (first use in this function)

gl.c:5306: `GL_COLOR_INDEX2_EXT' undeclared (first use in this function)

gl.c:5307: `GL_COLOR_INDEX4_EXT' undeclared (first use in this function)

gl.c:5308: `GL_COLOR_INDEX8_EXT' undeclared (first use in this function)

gl.c:5309: `GL_COLOR_INDEX12_EXT' undeclared (first use in this
function)
gl.c:5310: `GL_COLOR_INDEX16_EXT' undeclared (first use in this
function)
gl.c:5311: `GL_CLIP_VOLUME_CLIPPING_HINT_EXT' undeclared (first use in
this function)
gl.c:5313: `GL_INCR_WRAP_EXT' undeclared (first use in this function)
gl.c:5314: `GL_DECR_WRAP_EXT' undeclared (first use in this function)
gl.c:5315: `GL_NORMAL_MAP_NV' undeclared (first use in this function)
gl.c:5316: `GL_REFLECTION_MAP_NV' undeclared (first use in this
function)
*** Error code 1 (bu21)
[1]  + Exit 1                 /usr/local/lib/snd-5/snd
32-01huber+frot.aiff
Tue Jun 18 00:43:31 CEST 2002
/tmp/snd-5[59]>

--
______________________________________________________________________
Ludger Brummer                  http://ludi.sumtone.com
Sonic Arts Research Centre      Center for Art and Media
Queen's University Belfast      Institute for Music and Acoustic
Riddel Hall                     Lorenzstr. 19
                                76135 Karlsruhe, Germany
                                tel.: + 49 721 8100 1600
Office +44 28 9033 5627
Pearl Young, secretary +44 28 90 33 4829

Germany: Gartenstr. 56 A,76133 Karlsruhe, Germany
mobile +49 160 5300 230  tel.:  +49 721 831 6993
Northern Ireland: Flat1 38 Windsor Park, Belfast BT9 6FS
______________________________________________________________________