Hello,
As I said in some previous message, I've just installed a new binary 2.4.16 kernel (mantel's) and src so I can try to compile the latest ALSA beta.
In case it matters, here's what I did, in order:
I backed up old kernel,
edited lilo.conf,
ran lilo,
rebooted into the backup kernel.
That worked, so I installed the new kernel RPM (rpm -Uhv k_def*.rpm), I did _not_ install the new modules rpm, because no one else said they did.
Tried to run mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16" -s auto that didn't work because there's no -s switch,
so I tried to run mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16",
that didn't work so I ran mk_initrd,
edited lilo.conf again,
ran lilo,
rebooted into new 2.4.16 kernel,
copied /boot/vmlinuz to /boot/vmlinuz_2.4.16 and /boot/initrd to /boot/initrd_2.4.16,
successfully ran mk_initrd -k "vmlinuz-2.4.16" -i "initrd-2.4.16"
edited lil.conf yet one more time, ran lilo and rebooted into the newest lilo.entry,
cd'd to /usr/src,
untar'd mantel's 2.4.16 tar.bz2,
ln -s linux linux,
tried to compile alsa, configure had "missing version.h" problems that I mentioned in a previous post.
ran make dep, which made ./configure happy. Please note that I've not rebooted since I ran make dep, something that was said earlier made me think that might be the problem.
I noticed Anders said he ran:
make mrproper
make cloneconfig #needed, since some module makefiles get info on how the
kernel is configured from the .config
make dep
While all I did was run make dep. Perhaps the mrproper and cloneconfig is in order here. (what does make mrproper do anyway?)
For those of you who keep bringing up the issue: I'm really not wanting to fully recompile my own kernel. I simply wanted to 1 update my kernel to a new one with an rpm and 2 install the accompanying src for ALSA. Since the SusE binary RPMs are make from that same tarball I have in /usr/src, they should be fully compatible (right?)
Anyway.... ALSA (the drivers) ./configure's fine now but make dies a horrible death.
I've trimmed most of the error messages out but here's a sample:
Started with:
make dep
make[1]: Entering directory `/work/dl/ALSA/Driver/alsa-driver-0.9.0beta10'
make[2]: Entering directory `/work/dl/ALSA/Driver/alsa-driver-0.9.0beta10/kernel'
rm -f ../include/modules/sound.ver
gcc -DALSA_BUILD -D__KERNEL__ -I/usr/src/linux/include -I.. -E -D__GENKSYMS__ sound.c | /sbin/genksyms -k 2.4.16 > ../include/modules/sound.ver
In file included from ../sound/driver.h:47,
from sound.c:23:
/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: No such file or directory
In file included from /usr/src/linux/include/linux/ext3_fs_i.h:19,
from /usr/src/linux/include/linux/fs.h:294,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from ../sound/driver.h:83,
from sound.c:23:
/usr/src/linux/include/linux/rwsem.h:48: warning: `__RWSEM_INITIALIZER' redefined
/usr/include/asm/semaphore.h:252: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:54: warning: `DECLARE_RWSEM' redefined
/usr/include/asm/semaphore.h:257: warning: this is the location of the previous definition/
<much text snipped here>
In file included from ../sound/driver.h:47,
from sound_oss.c:22:
/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: No such file or directory
In file included from /usr/src/linux/include/linux/ext3_fs_i.h:19,
from /usr/src/linux/include/linux/fs.h:294,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from ../sound/driver.h:83,
from sound_oss.c:22:
/usr/src/linux/include/linux/rwsem.h:48: warning: `__RWSEM_INITIALIZER' redefined
/usr/include/asm/semaphore.h:252: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:54: warning: `DECLARE_RWSEM' redefined
/usr/include/asm/semaphore.h:257: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:55: warning: `DECLARE_RWSEM_READ_LOCKED' redefined
/usr/include/asm/semaphore.h:258: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:56: warning: `DECLARE_RWSEM_WRITE_LOCKED' redefined
/usr/include/asm/semaphore.h:259: warning: this is the location of the previous definition
sound_oss.c:27: #error "Enable the OSS soundcore multiplexer (CONFIG_SOUND) in the kernel."
In file included from ../sound/driver.h:47,
from timer.c:23:
/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: No such file or directory
In file included from /usr/src/linux/include/linux/ext3_fs_i.h:19,
from /usr/src/linux/include/linux/fs.h:294,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from ../sound/driver.h:83,
from timer.c:23:
/usr/src/linux/include/linux/rwsem.h:48: warning: `__RWSEM_INITIALIZER' redefined
/usr/include/asm/semaphore.h:252: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:54: warning: `DECLARE_RWSEM' redefined
/usr/include/asm/semaphore.h:257: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:55: warning: `DECLARE_RWSEM_READ_LOCKED' redefined
/usr/include/asm/semaphore.h:258: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:56: warning: `DECLARE_RWSEM_WRITE_LOCKED' redefined
/usr/include/asm/semaphore.h:259: warning: this is the location of the previous definition
In file included from wrappers.c:27:
/usr/src/linux/include/linux/config.h:4: linux/autoconf.h: No such file or directory
In file included from /usr/src/linux/include/linux/ext3_fs_i.h:19,
from /usr/src/linux/include/linux/fs.h:294,
from /usr/src/linux/include/linux/capability.h:17,
from /usr/src/linux/include/linux/binfmts.h:5,
from /usr/src/linux/include/linux/sched.h:9,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14,
from wrappers.c:36:
/usr/src/linux/include/linux/rwsem.h:48: warning: `__RWSEM_INITIALIZER' redefined
/usr/include/asm/semaphore.h:252: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:54: warning: `DECLARE_RWSEM' redefined
/usr/include/asm/semaphore.h:257: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:55: warning: `DECLARE_RWSEM_READ_LOCKED' redefined
/usr/include/asm/semaphore.h:258: warning: this is the location of the previous definition
/usr/src/linux/include/linux/rwsem.h:56: warning: `DECLARE_RWSEM_WRITE_LOCKED' redefined
/usr/include/asm/semaphore.h:259: warning: this is the location of the previous definition
make[2]: *** [.depend] Error 1
make[2]: Leaving directory `/work/dl/ALSA/Driver/alsa-driver-0.9.0beta10/kernel'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/work/dl/ALSA/Driver/alsa-driver-0.9.0beta10'
make: *** [include/sndversions.h] Error 2
jw@cadmium:/work/dl/ALSA/Driver/alsa-driver-0.9.0beta10 >
I am using the version of GCC that came with SuSE 7.2, whatever that was. (not 3.x).
Any ideas what I'm doing wrong? Other people have stated that they got ALSA to compile on mantel's 2.4.16.
Thanks.
----------------------------------------------------
Jonathan Wilson
System Administrator
Cedar Creek Software http://www.cedarcreeksoftware.com
Central Texas IT http://www.centraltexasit.com