LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-12-2003, 09:17 AM   #1
orbitalistic
LQ Newbie
 
Registered: Apr 2003
Location: Valencia (Spain)
Posts: 18

Rep: Reputation: 0
SiS7012 module compiling problems


I have an onboard SiS7012 soundcard on my laptop, running Slackware 9. I have downloaded the diver from the manufacturer webpage, but when I try to compile the module I get this

gcc -D__KERNEL__ -Wstrict-prototypes -pipe -DMODULE -Wall -O2 -fomit-frame-pointer -DMODVERSIONS -DEXPORT_SYMTAB -include/usr/src/linux-/usr/src/linux-2.4.20/include/linux/modversions.h -I./ -I/usr/src/linux-/usr/src/linux-2.4.20/include -ffixed-8 -c -o src/sndobj.o src/sndobj.c
src/sndobj.c: /usr/src/linux-/usr/src/linux-2.4.20/include/linux/modversions.h: No such file or directory
In file included from src/sndobj.c:52:
/usr/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead.
src/sndobj.c:115: warning: static declaration for `no_llseek' follows non-static
make: *** [src/sndobj.o] Error 1


The thing is that modversions.h does exist, but it only contains one line of text saying
#include <linux/modsetver.h>
and I don't know if this is enough.
Any idea?
 
Old 09-12-2003, 02:56 PM   #2
amos
Member
 
Registered: Dec 2002
Location: Bolton, UK
Distribution: Kubuntu
Posts: 224

Rep: Reputation: 30
Hi orbitalistic

I have a Laptop with SiS7012 Onboard sound, the only way I've managed to get the sound working is by:

Recompiling the Kernel with the ACPI Patch applied and then enabling the OSS sound drivers.

If you search for posts by me you should find more details of both my attempts with MDK9.0 back in December and with Slack9 last month.

Cheers
Amos

Last edited by amos; 09-12-2003 at 02:59 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
module compiling and wifi problems TimmyP Debian 3 10-04-2005 03:31 PM
Compile problems compiling module G00fy Linux - General 4 12-12-2004 02:01 PM
Problems compiling promise sx4000 kernel module i_like_penguins Linux - Newbie 3 09-18-2004 07:08 PM
sis7012 i810_audio module won't work orbitalistic Linux - Hardware 7 10-01-2003 12:06 AM
SiS7012 sound problems Tigleon Linux - Hardware 13 07-26-2003 12:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration