[Alsa-user] Compile Error: alsactl.c:622: too many arguments to function `snd_config_get_id'
Brought to you by:
perex
From: Reinhard <r.b...@gm...> - 2002-01-08 21:35:07
|
I've tried to compile the latest devel Packages 0.9.0 beta 10 but get this error when making the utils My Kernel is 2.4.17, gcc is 2.96 if this is of any help. The drivers an libs were compiled and installed sucessfully and loaded at bootup [root@redchili alsa-utils-0.9.0beta10a]# make Making all in include make[1]: Wechsel in das Verzeichnis Verzeichnis »/mnt/disk/download/src/alsa-utils-0.9.0beta10a/include« make[1]: Verlassen des Verzeichnisses Verzeichnis »/mnt/disk/download/src/alsa-utils-0.9.0beta10a/include« Making all in alsactl make[1]: Wechsel in das Verzeichnis Verzeichnis »/mnt/disk/download/src/alsa-utils-0.9.0beta10a/alsactl« gcc -DHAVE_CONFIG_H -I. -I. -I../include -g -O2 -c alsactl.c alsactl.c: In function `set_control': alsactl.c:622: too many arguments to function `snd_config_get_id' alsactl.c:622: warning: assignment makes integer from pointer without a cast alsactl.c:631: too many arguments to function `snd_config_get_id' alsactl.c:816: too many arguments to function `snd_config_get_id' make[1]: *** [alsactl.o] Fehler 1 make[1]: Verlassen des Verzeichnisses Verzeichnis »/mnt/disk/download/src/alsa-utils-0.9.0beta10a/alsactl« make: *** [all-recursive] Fehler 1 It seems to me that this is an library mismatch (old version?) but i can't imagine how this could happen there is no other libasound in my system here is the standard configure I used (drivers and libs were also configured this way) 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 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 a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for ALSA CFLAGS... checking for ALSA LDFLAGS... -lasound -lm -ldl checking for libasound headers version >= 0.9.0... found. checking for snd_seq_create_event in -lasound... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for initscr in -lncurses... yes checking for working const... yes checking for inline... inline checking whether time.h and sys/time.h may both be included... yes checking whether gcc needs -traditional... no updating cache ./config.cache creating ./config.status creating Makefile creating alsactl/Makefile creating alsamixer/Makefile creating amixer/Makefile creating aplay/Makefile creating include/Makefile creating utils/Makefile creating utils/alsa-utils.spec creating seq/Makefile creating seq/aconnect/Makefile creating seq/aseqnet/Makefile creating include/aconfig.h include/aconfig.h is unchanged kr, Reinhard |