大家好:請各位前輩幫我個忙!
我使用的核心是kernel-2.4.34.2,是從www.kernel.org下載下來自己編的,編好後,使用起來一切都正常,接下來便開始安裝alsa-base,alsa-utils,alsa-source,但是當我去alsa-driver下執行 make指令編譯模組時,卻發生,如下的錯誤!{我取出最後一段}
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/modules/alsa-driver/include -I/lib/modules/2.4.34.2/build/include -02 -mpreferred-stack-boundary=2 -march=i686 -Wdeclaration-after -statement -Wno-pointer-sign -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Won-trigraphs -02 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.4.34.2/build/include/linux/modversions.h -DKBUILD_BASENAME=wavefront_synth -c -o wavefront_synth.o wavefront_synth.c
wavefront_synth.c:10:error:static declaration of 'errno' follows non-static declaration /lib/modules/2.4.34.2/build/include/linux/unistd.h:4:error:previous declaration of 'errno' was here
make[2]:***[wavefront_synth.o] Error 1
make[2]: Leaving directory `/usr/src/modules/alsa-driver/isa/wavefront`
make[1]:***[modsubdir_wavefront]Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver/isa`
make:*** [compile] Error 1
我查很了久都找不到原因,但在之前有編過2.4.30 ; 2.4.32 ;用同樣的方法安裝都可以成功..但為何這次不行?請各位大大幫個忙,感激不盡