安裝alsa失敗

常言道:『飲水思源』,在 Open Source 的世界裡,我們常常需要別人的幫助,但是在您有所心得的時候請記得分享給大家,『幫助人是快樂的喔』。歡迎您在使用 debian 的過程中的任何心得分享給大家。

安裝alsa失敗

文章x阿伯 » 週一 4月 09, 2007 10:08 pm

大家好:請各位前輩幫我個忙!
我使用的核心是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 ;用同樣的方法安裝都可以成功..但為何這次不行?請各位大大幫個忙,感激不盡
x阿伯
 

回到 share

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客