LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mandrake 9.1 Sound Problems (https://www.linuxquestions.org/questions/linux-hardware-18/mandrake-9-1-sound-problems-57065/)

darin3200 04-27-2003 08:25 PM

Mandrake 9.1 Sound Problems
 
I have mandrake 91 working except that I can't get my sound card to work.
i did lspci -v and here is what I got
Code:

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 740 Host (rev 01)
        Flags: bus master, medium devsel, latency 32
        Memory at d0000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [c0] AGP version 2.0

00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=02, sec-latency=64
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: cfd00000-cfefffff
        Prefetchable memory behind bridge: bfa00000-cfbfffff

00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 04)
        Flags: bus master, medium devsel, latency 0

00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (prog-if 80 [Master])
        Flags: bus master, medium devsel, latency 128
        I/O ports at ff00 [size=16]

00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev a0)
        Subsystem: C-Media Electronics Inc: Unknown device 0300
        Flags: bus master, medium devsel, latency 64, IRQ 11
        I/O ports at dc00 [size=256]
        I/O ports at d800 [size=128]
        Capabilities: [48] Power Management version 2

00:03.0 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f) (prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS] SiS7001 USB Controller
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at cfff9000 (32-bit, non-prefetchable) [size=4K]

00:03.1 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f) (prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS] SiS7001 USB Controller
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at cfffa000 (32-bit, non-prefetchable) [size=4K]

00:03.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 0f) (prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS] SiS7001 USB Controller
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at cfffb000 (32-bit, non-prefetchable) [size=4K]

00:03.3 USB Controller: Silicon Integrated Systems [SiS] SiS7002 USB 2.0 (prog-if 20 [EHCI])
        Subsystem: Silicon Integrated Systems [SiS] SiS7002 USB 2.0
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at cffdf000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [50] Power Management version 2

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 90)
        Subsystem: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet Adapter
        Flags: bus master, medium devsel, latency 64, IRQ 5
        I/O ports at d400 [size=256]
        Memory at cffdb000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at cffa0000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 2

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS650/651/M650/740 PCI/AGP VGA Display Adapter (prog-if 00 [VGA])
        Subsystem: Silicon Integrated Systems [SiS] SiS650/651/M650/740 PCI/AGP VGA Display Adapter
        Flags: 66Mhz, medium devsel
        BIST result: 00
        Memory at c0000000 (32-bit, prefetchable) [size=128M]
        Memory at cfee0000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at bc00 [size=128]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] AGP version 2.0

and here is what it says in the Mandrake Control Center
Quote:

Vendor: ‎Silicon Integrated Systems [SiS]

Alternative drivers: ‎ali5455:i810_audio:nvaudio

Bus: ‎PCI

Bus identification: ‎1039:7012:13f6:300

Location on the bus: ‎0:2:7

Description: ‎SiS7012 PCI Audio Accelerator

Module: ‎snd-intel8x0

Media class: ‎MULTIMEDIA_AUDIO

Who do I get sound?

Zaak 04-27-2003 08:34 PM

sound
 
Did you try in a console
try typing sndconfig if you are using Red hat or Mandrake

darin3200 04-28-2003 07:36 PM

I try sndconfig and it gives me command not found

redgore 04-29-2003 11:09 AM

Try turning up the volumes ! Your card is using alsa which by default mutes ALL volumes. Just open up your fav mixer and muck around !

darin3200 04-29-2003 06:51 PM

no that is not it. When I open a song off my harddrive in any mp3 player it just sits there and doesn't give me the options to start or anything. Another thing is my CD-Rom will read data fine but won't even open.

homer007 04-29-2003 10:12 PM

Similiar Problem (not a solution)
 
I've recently installed and began using linux in the past few days. I'm using Mandrake 9.1 and also have the same sound card as Darin3200. However, I find my problem to be related to an I/0 or IRQ conflict, not a driver one. I've noticed it stating this problem everytime linux boots up :cry: . I've used sndconfig and it tells me it supports my soundcard, but it is disabled, change this setting in bios " pnp os = no ". This could be an easy fix, if I had such an option in my bios :scratch: . Anyways, I've dualbooted Linux and WinXP so I could look at a working IRQ/IO settings but i'm stuck at how to apply these new settings to linux. Anyone know?

whansard 04-29-2003 10:16 PM

it looks like the c-media chip is the audio device.
and it says unknown device, so i don't think it's loading
a driver. usually when a new motherboard comes out
with a built in audio, it's a new kind of audio, and takes
linux close to a year to get support for it, unless it's almost
the same as a previous chip. In this case, there are a
bunch of c-media chipset cards and drivers. just try
all the c-media stuff you can find.

darin3200 04-30-2003 04:42 PM

ok
how do I even get into sndconfig. do I do it in commandline? I tried it in konsole and it didn't work

homer007 04-30-2003 09:36 PM

Sound Fix 4 U
 
:p To answer your first question about where to get sndconfig, you must install it using the mandrake CD1 (CDs are usually accessed at /mnt/cdrom/) look in the /Mandrake/RPMS/ folder. Browse for a file called "sndconfig-0.68-1mdk.i586.rpm". Run it and it should install by itself. Now log into a root terminal, and type sndconfig, and the program should start running. It will tell you some stuff, and *hopefully* configure your sound.

Now for how I fixed my sound personnaly. In Mandrake you have to edit a few files. You should know these :
1) modules.conf (in /etc/ folder)
2) lilo.conf (forgot where it was but mandrake has an app for it anyways :confused: )

First lets edit modules.conf (must be logged in as root). You can use kedit or anything u like to do this. It should say something like "alias snd-config-0 i810 etc..." for the first 2 lines. Erase them and add "alias sound ac97" (ac97 is the name of the driver I used, use any driver u want here that works. You could type in "modprobe ac97" in a root terminal to test various drivers, replacing ac97 with whatever one u want to test. If you don't recieve an error msg than the driver u tested probably works :) ).

:study: Next lets edit "lilo.conf". In mandrake 9.1 you should run drakeconfig ( theres an icon on the tray in the bottom left, sorry I can't be exact, I don't have my linux comp with me). Go into the bootconfig tab and edit boot options. A button on the top right will say lilo config, click that. It will open a new window with a bunch of options. Click on the advanced button. First thing is to uncheck/recheck the ACPI power mode. For some reason it is not turned on even though it is checked (mybe bug?). Then check the Force no APCI option. Look down to where it says append and add the following to the end of theappend textbox "pci=biosirq". With all of this done, save changes (you will need your mandrake cd1 when you do this).

Next, reboot your system. You should now have a sound card configured when you log back on, although no volume yet. Verify this in "Config > KDE > Information > Sound" where it should say a sound card is configured. If there is one, congrats, your almost done. :scratch:

The last step is to run aumix (type "aumix" in the terminal, if nothing comes up somethings wrong still). This program has the options for volume, which strangely are all muted by default. Unmute ALL, and adjust the volumes to your liking. Save the setting and also use SaveTo to make a backup file. Once you reboot you will have to set the volumes back up again (I have my modules.conf reloading it each boot, but i'm on a different computer right now and can't check what i had set it to, to do this. Mybe later I will post my modules.conf). The reason why you should make a backup is so that you can keep reloading it later.

Hope this helps. :D

whansard 05-01-2003 12:11 AM

to homer.
the setting in the bios can go by different names.
i have little doubt that you don't have it. lots of name
brand computers don't give you this setting.
the setting it is talking about, pnp os, is for setting up
pnp devices. if pnp-os=no is set, then the bios will
set up the pnp devices, assigning them irq's and
address space, whatever is necessary. if pnp-os=yes
is set ( or similar ), then the pnp devices are left along
and uninitialized, and are expected to be set up by
the booting os.

redgore 05-01-2003 02:53 AM

Quote:

To answer your first question about where to get sndconfig, you must install it using the mandrake CD1 (CDs are usually accessed at /mnt/cdrom/) look in the /Mandrake/RPMS/ folder.
He/she can also simply go at a root command line: urpmi sndconfig

Just a little tip to save time.

darin3200 05-01-2003 08:22 PM

I ran sound config and it says my card isn't supported

darin3200 05-01-2003 08:50 PM

Ok, I went to the sis website and downloaded the drivers. I did ./install and here is what I got (I cut off some of beginning for lenght but I thought I should include most of it)

Code:

/usr/include/linux/module.h:433: (Each undeclared identifier is reported only once
/usr/include/linux/module.h:433: for each function it appears in.)
sound_core.c: At top level:
sound_core.c:290: parse error before "config_must_be_included_before_module"
sound_core.c:290: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:290: warning: data definition has no type or storage class
sound_core.c:308: parse error before "config_must_be_included_before_module"
sound_core.c:308: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:308: warning: data definition has no type or storage class
sound_core.c:326: parse error before "config_must_be_included_before_module"
sound_core.c:326: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:326: warning: data definition has no type or storage class
sound_core.c:352: parse error before "config_must_be_included_before_module"
sound_core.c:352: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:352: warning: data definition has no type or storage class
sound_core.c:371: parse error before "config_must_be_included_before_module"
sound_core.c:371: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:371: warning: data definition has no type or storage class
sound_core.c:388: parse error before "config_must_be_included_before_module"
sound_core.c:388: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:388: warning: data definition has no type or storage class
sound_core.c:403: parse error before "config_must_be_included_before_module"
sound_core.c:403: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:403: warning: data definition has no type or storage class
sound_core.c:418: parse error before "config_must_be_included_before_module"
sound_core.c:418: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:418: warning: data definition has no type or storage class
sound_core.c:436: parse error before "config_must_be_included_before_module"
sound_core.c:436: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:436: warning: data definition has no type or storage class
sound_core.c:451: parse error before "config_must_be_included_before_module"
sound_core.c:451: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:451: warning: data definition has no type or storage class
sound_core.c:545: parse error before "config_must_be_included_before_module"
sound_core.c:545: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
sound_core.c:545: warning: data definition has no type or storage class
make: *** [sound_core.o] Error 1
gcc -D__KERNEL__ -Wstrict-prototypes -pipe -DMODULE -Wall -O2 -fomit-frame-pointer -DMODVERSIONS -DEXPORT_SYMTAB  -include/usr/src/linux-2.4.21/include/linux/modversions.h  -I./ -I/usr/src/linux-2.4.21/include  -ffixed-8    -c -o ac97_codec.o ac97_codec.c
<command line>:137971695:18424: /usr/src/linux-2.4.21/include/linux/modversions.h: No such file or directory
In file included from /usr/include/linux/prefetch.h:13,
                from /usr/include/linux/list.h:6,
                from /usr/include/linux/module.h:11,
                from ac97_codec.c:43:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:297,
                from ac97_codec.c:43:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from ac97_codec.c:43:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
/usr/include/linux/module.h: In function `print_symbol':
/usr/include/linux/module.h:433: `ESRCH' undeclared (first use in this function)
/usr/include/linux/module.h:433: (Each undeclared identifier is reported only once
/usr/include/linux/module.h:433: for each function it appears in.)
In file included from ac97_codec.c:44:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
ac97_codec.c: In function `ac97_probe_codec':
ac97_codec.c:670: structure has no member named `codec_init'
ac97_codec.c:678: structure has no member named `codec_init'
ac97_codec.c: In function `ac97_init_mixer':
ac97_codec.c:721: structure has no member named `codec_init'
ac97_codec.c:722: structure has no member named `codec_init'
ac97_codec.c: At top level:
ac97_codec.c:885: parse error before "config_must_be_included_before_module"
ac97_codec.c:885: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
ac97_codec.c:885: warning: data definition has no type or storage class
ac97_codec.c:886: parse error before "config_must_be_included_before_module"
ac97_codec.c:886: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
ac97_codec.c:886: warning: data definition has no type or storage class
make: *** [ac97_codec.o] Error 1
gcc -D__KERNEL__ -Wstrict-prototypes -pipe -DMODULE -Wall -O2 -fomit-frame-pointer -DMODVERSIONS -DEXPORT_SYMTAB  -include/usr/src/linux-2.4.21/include/linux/modversions.h  -I./ -I/usr/src/linux-2.4.21/include  -ffixed-8    -c -o src/sndobj.o src/sndobj.c
<command line>:137971695:18424: /usr/src/linux-2.4.21/include/linux/modversions.h: No such file or directory
In file included from src/sndobj.c:9:
/usr/include/linux/modversions.h:1:2: #error "======================================================="
/usr/include/linux/modversions.h:2:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/modversions.h:3:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/modversions.h:4:2: #error ""
/usr/include/linux/modversions.h:5:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/modversions.h:6:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/modversions.h:7:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/modversions.h:8:2: #error "currently running kernel. They should only be"
/usr/include/linux/modversions.h:9:2: #error "included via other system header files - user space"
/usr/include/linux/modversions.h:10:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/modversions.h:11:2: #error "<asm/*.h> as well."
/usr/include/linux/modversions.h:12:2: #error ""
/usr/include/linux/modversions.h:13:2: #error "To build kernel modules please do the following:"
/usr/include/linux/modversions.h:14:2: #error ""
/usr/include/linux/modversions.h:15:2: #error " o Have the kernel sources installed"
/usr/include/linux/modversions.h:16:2: #error ""
/usr/include/linux/modversions.h:17:2: #error " o Make sure that the symbolic link"
/usr/include/linux/modversions.h:18:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/modversions.h:19:2: #error "  the matching kernel source directory"
/usr/include/linux/modversions.h:20:2: #error ""
/usr/include/linux/modversions.h:21:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/modversions.h:22:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/modversions.h:23:2: #error ""
/usr/include/linux/modversions.h:24:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/modversions.h:25:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/modversions.h:26:2: #error ""
/usr/include/linux/modversions.h:27:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/modversions.h:28:2: #error ""
/usr/include/linux/modversions.h:29:2: #error "  instead of"
/usr/include/linux/modversions.h:30:2: #error ""
/usr/include/linux/modversions.h:31:2: #error "  -I/usr/include/linux"
/usr/include/linux/modversions.h:32:2: #error ""
/usr/include/linux/modversions.h:33:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/modversions.h:34:2: #error "======================================================="
In file included from src/sndobj.c:11:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error "  /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error "  the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error "  /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error "  compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error "  -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error "  instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error "  -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error "  Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/prefetch.h:13,
                from /usr/include/linux/list.h:6,
                from /usr/include/linux/wait.h:14,
                from /usr/include/linux/fs.h:11,
                from /usr/include/linux/capability.h:17,
                from /usr/include/linux/binfmts.h:6,
                from /usr/include/linux/sched.h:8,
                from src/sndobj.c:23:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
src/sndobj.c:44:26: linux/bios32.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.
In file included from /usr/include/asm/hardirq.h:6,
                from /usr/include/linux/interrupt.h:46,
                from src/sndobj.c:55:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:46,
                from src/sndobj.c:55:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from src/sndobj.c:55:
/usr/include/linux/interrupt.h:129: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:129: requested alignment is not a constant
src/sndobj.c:80: parse error before "select_table"
src/sndobj.c:80: warning: function declaration isn't a prototype
src/sndobj.c: In function `alloc_fop':
src/sndobj.c:198: structure has no member named `lseek'
src/sndobj.c:200: warning: assignment from incompatible pointer type
src/sndobj.c:201: warning: assignment from incompatible pointer type
src/sndobj.c:206: structure has no member named `select'
src/sndobj.c:209: warning: assignment from incompatible pointer type
src/sndobj.c:211: warning: assignment from incompatible pointer type
src/sndobj.c:216: warning: assignment from incompatible pointer type
src/sndobj.c:217: warning: assignment from incompatible pointer type
src/sndobj.c:220: structure has no member named `check_media_change'
src/sndobj.c:221: structure has no member named `revalidate'
src/sndobj.c: In function `file_get_inode':
src/sndobj.c:286: structure has no member named `f_inode'
src/sndobj.c: In function `vma_set_inode':
src/sndobj.c:305: structure has no member named `vm_inode'
src/sndobj.c: In function `vma_get_offset':
src/sndobj.c:320: structure has no member named `vm_offset'
src/sndobj.c: In function `sis7012_connect':
src/sndobj.c:388: `LINUX_VERSION_CODE' undeclared (first use in this function)
src/sndobj.c:388: (Each undeclared identifier is reported only once
src/sndobj.c:388: for each function it appears in.)
src/sndobj.c: In function `sis7012_reserve_page':
src/sndobj.c:497: warning: implicit declaration of function `sis7012_virt_to_page'
src/sndobj.c:497: warning: assignment makes pointer from integer without a cast
src/sndobj.c:498: warning: assignment makes pointer from integer without a cast
src/sndobj.c: In function `sis7012_unreserve_page':
src/sndobj.c:506: warning: assignment makes pointer from integer without a cast
src/sndobj.c:507: warning: assignment makes pointer from integer without a cast
src/sndobj.c: In function `sis7012_interruptible_sleep_on_timeout':
src/sndobj.c:552: warning: passing arg 1 of `interruptible_sleep_on_timeout' from incompatible pointer type
src/sndobj.c: In function `sis7012_wake_up':
src/sndobj.c:581: warning: passing arg 1 of `__wake_up' from incompatible pointer type
src/sndobj.c: In function `sis7012_add_wait_queue':
src/sndobj.c:602: warning: passing arg 1 of `add_wait_queue' from incompatible pointer type
src/sndobj.c:602: warning: passing arg 2 of `add_wait_queue' from incompatible pointer type
src/sndobj.c: In function `sis7012_remove_wait_queue':
src/sndobj.c:621: warning: passing arg 1 of `remove_wait_queue' from incompatible pointer type
src/sndobj.c:621: warning: passing arg 2 of `remove_wait_queue' from incompatible pointer type
src/sndobj.c: In function `sis7012_poll_wait':
src/sndobj.c:666: `poll_table' undeclared (first use in this function)
src/sndobj.c:666: `t' undeclared (first use in this function)
src/sndobj.c:666: parse error before ')' token
src/sndobj.c:669: warning: implicit declaration of function `poll_wait'
src/sndobj.c: In function `sis7012_copy_from_user':
src/sndobj.c:694: warning: implicit declaration of function `copy_from_user'
src/sndobj.c: In function `sis7012_copy_to_user':
src/sndobj.c:698: warning: implicit declaration of function `copy_to_user'
src/sndobj.c: In function `sis7012_pcibios_find_device':
src/sndobj.c:723: warning: implicit declaration of function `pcibios_find_device'
src/sndobj.c: In function `dont_use_this_function':
src/sndobj.c:974: `kernel_version' undeclared (first use in this function)
make: *** [src/sndobj.o] Error 1
Install Object code....
install -d /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound
install -c /home/darinf/Documents/sis7012-release-2002-4-25/*.o /lib/modules/2.4.21-0.13mdk/kernel/drivers/sound
install: cannot stat `/home/darinf/Documents/sis7012-release-2002-4-25/*.o': No such file or directory
make: *** [7012_install] Error 1
Modifying Configuration ....
Install OK ! Please reboot your computer !


whansard 05-02-2003 04:46 AM

maybe you could email them and ask what kernel
that's supposed to work with.

darin3200 05-24-2003 03:00 PM

Sorry for brining this up but now whenever I start x I get this error
"Sound server informational message:
Error while initializing the sound driver:
device /dev/dsp can't be opened (Device or resource busy)
The sound server will continue, using the null output device."
Any ideas why dsp isn't working.
Thanks in advance


All times are GMT -5. The time now is 04:50 PM.