Re: [Fwd: Re: [Isisalsa-devel] First driver release]
Status: Inactive
Brought to you by:
jeanseb
|
From: Pieter P. <pie...@st...> - 2003-07-27 09:27:32
|
Hi Felipe, This looks like a compiler problem. Or an include file that isn't present. First of all: what distribution do you use? and what version of gcc? Second: make sure that the directory alsa-driver-0.9.5-isis/include contains a symbolic link named sam9407.h that points to the file alsa-driver-0.9.5-isis/pci/isisalsa/sam9407.h This link should be present in the package, but it could be lost during untarring. I do find it a very strange error. I'll look into it. Pieter > > Pieter: > I can't compile the driver. > I can do './configure' but with 'make' in the 'pci/isisalsa' > subdirectory report an error: > > make[2]: Cambiando a directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' > make[2]: Saliendo directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/ice1712' > make -C isisalsa modules > make[2]: Cambiando a directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' > gcc -D__KERNEL__ -DMODULE=1 > -I/installers/AUDIO/alsa-driver-0.9.5-isis/include > -I/usr/src/linux-2.4.20-18.1.caps/include -O2 > -mpreferred-stack-boundary=2 -march=athlon -DLINUX -Wall > -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 > -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD > -DKBUILD_BASENAME=isis -c -o isis.o isis.c > isis.c: In function `isis_sam_read_control': > isis.c:611: parse error before `data' > isis.c:615: `data' undeclared (first use in this function) > isis.c:615: (Each undeclared identifier is reported only once > isis.c:615: for each function it appears in.) > isis.c:616: warning: control reaches end of non-void function > isis.c: In function `isis_sam_read_data8': > isis.c:640: parse error before `data' > isis.c:644: `data' undeclared (first use in this function) > isis.c:645: warning: control reaches end of non-void function > isis.c: In function `isis_sam_read_data16': > isis.c:668: parse error before `data' > isis.c:672: `data' undeclared (first use in this function) > isis.c:673: warning: control reaches end of non-void function > isis.c: In function `isis_sam_init': > isis.c:728: parse error before `*' > isis.c:731: `isis' undeclared (first use in this function) > isis.c: In function `snd_isis_init_dmabuf': > isis.c:1678: warning: passing arg 4 of > `snd_malloc_pci_pages_fallback_R9e9124ec' from incompatible pointer type > isis.c: In function `snd_isis_interrupt': > isis.c:2131: parse error before `unsigned' > isis.c:2151: `flags' undeclared (first use in this function) > isis.c: In function `snd_isis_mixer': > isis.c:2241: warning: passing arg 1 of `snd_ctl_new1_R11a21821' discards > qualifiers from pointer target type > isis.c: At top level: > isis_mixer.h:60: warning: `isis_set_volume_monitor' defined but not used > make[2]: *** [isis.o] Error 1 > make[2]: Saliendo directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci/isisalsa' > make[1]: *** [_modsubdir_isisalsa] Error 2 > make[1]: Saliendo directorio > `/installers/AUDIO/alsa-driver-0.9.5-isis/pci' > make: *** [compile] Error 1 > > I don't know if this error is a problem of the driver but I search > the > line of isis.c where 'isis_sam_read_data' appears and it is in a > section called 'no spinlock' :( > |