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

extace alsa compile error



I'm running sid, and after downloading (apt-get source
extace) extace version 1.6.1 I am getting compile errors.

My intention is to enable alsa support.  To do this, I
entered the extracted directory and edited the file
'./debian/rules' and changed '--disable-alsa' to
'--enable-alsa'.  I then ran './debian/rules build'.  If I
leave alsa disabled, the compile is clean.  Here are
the version for packages installed on my machine:

  ii  alsa-base      0.9+0beta7-2
  ii  alsa-headers   0.9+0beta7-2
  ii  alsa-modules-2 0.9+0beta7-2+p
  ii  alsa-source    0.9+0beta7-2
  ii  alsa-utils     0.9.0beta7-1

The source package differs in version from the binary; could
this be part of the problem?  Is there a better forum for me
to report this? 

I've attached the log of my compile, separated into stdout and
stderr.  Thanks for comments.

-- 
Adam John Henry 
    <mail:hank@linuxfreemail.com> <gnupg:0x78194816>
dir.c: In function `update_dircontrol':
dir.c:119: warning: control reaches end of non-void function
sound.c:38: parse error before `*'
sound.c:38: warning: type defaults to `int' in declaration of `alsa_handle'
sound.c:38: warning: data definition has no type or storage class
sound.c: In function `open_sound':
sound.c:88: warning: implicit declaration of function `snd_pcm_loopback_open'
sound.c:88: `SND_PCM_LB_OPEN_PLAYBACK' undeclared (first use in this function)
sound.c:88: (Each undeclared identifier is reported only once
sound.c:88: for each function it appears in.)
sound.c:100: warning: implicit declaration of function `snd_pcm_loopback_block_mode'
sound.c:101: request for member `format' in something not a structure or union
sound.c:101: `SND_PCM_SFMT_S16_LE' undeclared (first use in this function)
sound.c:102: request for member `rate' in something not a structure or union
sound.c:103: request for member `voices' in something not a structure or union
sound.c:104: warning: implicit declaration of function `snd_pcm_loopback_format'
sound.c: In function `close_sound':
sound.c:159: warning: implicit declaration of function `snd_pcm_loopback_close'
sound.c: In function `alsa_starter_thread':
sound.c:412: `snd_pcm_loopback_callbacks_t' undeclared (first use in this function)
sound.c:412: parse error before `callbacks'
sound.c:416: `callbacks' undeclared (first use in this function)
sound.c:423: warning: implicit declaration of function `snd_pcm_loopback_read'
make[3]: *** [sound.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [build-stamp] Error 2
dh_testdir
libtoolize -f -c
You should add the contents of `/usr/share/aclocal/libtool.m4' to `aclocal.m4'.
aclocal
./configure --prefix=/usr --enable-alsa
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking host system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... yes
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... (cached) yes
checking whether make sets ${MAKE}... (cached) yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.0... yes
checking for esd-config... /usr/bin/esd-config
checking for ESD - version >= 0.2.8... yes
checking how to run the C preprocessor... gcc -E
checking for fcntl.h... yes
checking for sys/ioctl.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for snd_pcm_record_params in -lasound... no
checking for main in -lasound... yes
checking for rfftw_one in -lrfftw... yes
checking for rfftw_one in -lrfftw... (cached) yes
checking for gdk_imlib_render in -lgdk_imlib... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating extace/Makefile
creating extace.spec
creating VERSION
creating config.h

Configuration:

    Install Path:			/usr
    General Debugging:			no
    Thread Debugging:			no
    ALSA Debugging:			no
    Buffer Code Debugging:		no
    Drag 'n Drop Debugging:		no
    Window Function Debugging:		no
    Memory Allocation Debugging:	no
    Profiling:				no
    ALSA capability			yes
# Add here commands to compile the package.
/usr/bin/make -j 2
make[1]: Entering directory `/usr/src/extace-1.6.1'
/usr/bin/make  all-recursive
make[2]: Entering directory `/usr/src/extace-1.6.1'
Making all in extace
make[3]: Entering directory `/usr/src/extace-1.6.1/extace'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c stars.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c init.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c main.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c draw.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c land3d.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c gc_maker.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c dir.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c getfft.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c events.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c configfile.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c buttons.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c color_win.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c reducer.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c convolve.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c win_func.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c 2d_eq.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c scope.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c markers.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c spike_3d.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c sound.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -DGTK_DISABLE_COMPAT_H  -D_MAJOR_=1 -D_MINOR_=6 -D_MICRO_=1    -O2   -Wall  -c vert_specgram.c
make[3]: Leaving directory `/usr/src/extace-1.6.1/extace'
make[2]: Leaving directory `/usr/src/extace-1.6.1'
make[1]: Leaving directory `/usr/src/extace-1.6.1'

Attachment: pgpUlbY62hhFi.pgp
Description: PGP signature


Reply to: