[oss-devel] hdaudio

Ray Yu daqiehexigua at gmail.com
Tue Jul 10 13:42:47 EEST 2007


On Mon, 09 Jul 2007 11:40:16 +0300
Hannu Savolainen <hannu at opensound.com> wrote:

> Ray Yu kirjoitti:
> > hi all:
> > 	Thx you for your great job.I'm sorry if I distrub something.
> > 	I have a notebook shipped with nVidia MCP51 high definition audio (lspci reports 10de:026c (rev a2) , and the codec chip is sigmatel 9200, I've tried the oss-4 driver and that's the only driver I can found to make the soundcard "worked"(the speaker has no sound at all , but I can get some output from the "mic input" jack!! but the volume is very low,and unchangable . 
> > 	These days I tried to install the latest test sources , and I builded the oss-v4.1test0-070707 source successfully by following the guide in the release note , but when I run 'soundon' or manually 'modprobe osscore' , it failed and 'dmesg' report that "osscore:Unknow symbol --stack_chk_fail" , 	
> > 	I use ubunutu 7.04 feisty 32bit edition and the kernel header is 2.16.20-16-generic ,How can I solve these problem? Any helps are very appreciated !
> >   
> This indeed happens with Ubuntu. OSS modules should be compiled under
> Ubuntu with -fno-stack-protector in CFLAGS. However this doesn't work
> with some other distributions.
> 
> Our solution when building the OSS binaries was to build a .rpm package
> under CentOS/Fedora and then convert it to .deb package using an utility
> called alien
> (alien --to-deb --scripts --keep-version oss-linux*.rpm).
> 
> As a workaround you may edit setup/srcconf_linux.inc and add the
> following line there:
> 
> strcpy(conf->cflags, "-fno-stack-protector");
> 
> Best regards,
> 
> Hannu
> 

Great thx for the reply . but I'm still no luck to make it work.It repeated the same error.I noticed that the right cflags setting just worked a short period through the compiling process , and then it changed automatically to " -fno-common" , then I manually edited the Makefile under the directories , inside the file I found somethings relative (there is another cflags set the -fno-common),but even after I commented that line , the gcc still used the -fno-common cflags . :( now I change my distro to Gentoo ( I myself use gentoo),and maybe try again later . 

-- 
ÓàÀ×
Be True,And Just,And Firm.

http://www.aragonconsultinggroup.com
http://www.ifaxian.com
http://www.aiyo.cn


More information about the oss-devel mailing list