[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.0.33 is no good for lic6-dev ?



Manoj Srivastava writes:
 > Hi,
 > 
 > 	Please read /usr/doc/kernel-headers-2.0.32/debian.README.gz. I
 >  have included a copy below for anyone who thinks reading stuff out of
 >  /usr/doc is way square and uncool.
 > 

Thanks for the article. Very cool indeed.

Now, I'm running into a problem that might be related to this 2.0.32
headers (which was the reason I wanted to get rid of them). Maybe you
can help on this.

I have a OSS license -- the non-kernel sound card modules. Even though
I'm pretty sure mostly everyone knows what I'm talking about, here it
goes: 

http://www.4front-tech.com/linux.html

After I upgraded my kernel to 2.0.33 (I believe, even though I'm not
sure), I started having problems trying to install the OSS files in my
system.

It needs to compile a "sndshield" which is very attached to the kernel
version. Here it goes (coments after "--*--" marks):

nr# make clean
nr# make install
sh ./check_shields.sh
cc -D__KERNEL__ -DMODULE -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -DMODVERSIONS -c sndshield.c -o sndshield
cp sndshield ./modules

--*-- It links to /usr/src/linux, which is 2.0.33:

nr# ls -l /usr/src/linux
lrwxrwxrwx   1 root     src            20 May 13 14:54 /usr/src/linux -> kernel-source-2.0.33

--*-- in a system that is 2.0.33:

nr# uname -a
Linux nr 2.0.33 #2 Sun May 10 16:44:29 EST 1998 i586 unknown

--*-- But, as a Debian, has the 2.0.32 stuff:

nr# ls -ld /usr/src/kernel*
drwxr-xr-x   3 root     root         1024 Mar 12 07:54 /usr/src/kernel-headers-2.0.32
drwxr-xr-x   3 root     root         1024 Mar 10 08:00 /usr/src/kernel-headers-2.0.33
drwxr-xr-x  15 root     root         1024 May 13 14:52 /usr/src/kernel-source-2.0.33

--*-- Now, when I try to execute soundon, it fails:

nr# soundon
Loading sndshield failed. You may try to execute the following
commands to fix the situation:

cd /usr/local/lib/oss;make install

If loading sndshield still fails after that, please contact
support@opensound.com for help (enclose the soundon.log file
and possible (make/compile) errors with your message).

--*-- And examining the log, I find that it thinks sndshield was compiled
--*-- against 2.0.32. Is this related to the kernel-headers 2.0.32? Is there
--*-- a "-I" or something I could use to fix it?

nr# cat soundon.log
Fri May 15 12:20:03 PDT 1998
Linux nr 2.0.33 #2 Sun May 10 16:44:29 EST 1998 i586 unknown
This version (3.9b-980514) is compiled for Linux-2.0.33
Kernel version: Linux nr 2.0.33 #2 Sun May 10 16:44:29 EST 1998 i586 unknown
Modutils version: 2.1.71
=== Running /usr/local/bin/soundon ===
Install directory: /usr/local/lib/oss

/usr/local/lib/oss/modules/sndshield: kernel-module version mismatch
        /usr/local/lib/oss/modules/sndshield was compiled for kernel version 2.0.32
        while this kernel is version 2.0.33.
Loading sndshield failed.

Thanks a lot.

-- 
Luiz Otavio L. Zorzella                 Product Engineer
zorzella@conexware.com          http://www.conexware.com


--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: