LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-26-2004, 06:21 PM   #1
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Rep: Reputation: 43
Unhappy Installing AWE64 sound drivers on slackware9.1 2.4.22 kernel


Hi,

I'm having a problem getting my Sound blaster AWE64 sound card to work with Slackware 9.1 on the 2.4.22 kernel.

I have been trying to follow the Soundblaster-AWE HOWTO included with slack and I'm having a few problems.

I have downloaded the AWE sound drivers as directed by the HOWTO from the following site:

http://www.alsa-project.org/~iwai/awedrv.html

I have untarred the file to my /usr/local/src directory and read through the documentation there.
I have then run the install.sh script as directed by the instructions, and the script attempts to copy the various awe* files to the relevant folders in the linux source (/usr/src/linux/drivers/sound/) however, when it does this, it appears to search for a directory that doesn't exist (/usr/src/linux/drivers/sound/lowlevel/) when trying to copy the files across.

I'm not sure I should have done this..but as a result of the error running the script I have edited the install.sh script to copy the relevant files across to the /usr/src/drivers/sound/ directory instead. This appears to work OK.

I have then recompiled the kernel as per the following kernel compile guide on this very forum.

I have used make xconfig, and have answered y to 'Sound card support', m to 'OSS sound modules', y to persistent DMA buffers, m to Adlib cards (didn't mean to do that actually!), m to loopback midi device support, m to '100% sound blaster compatibles (SB16/32/64, ESS, Jazz16) support' and m to 'AWE32 synth'.

I am able to carry out all these steps:

make menuconfig (make your changes here...when done, save your new configuration)
make dep (sets all the kernel dependencies)
make clean (removes un-needed files)
make bzImage (builds the kernel)
make
make install (installs, moves and renames all the needed files and updates lilo)

without any problems.

However, when I make modules, the complier quites with the following errors:

gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.22/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=awe_wave -c -o awe_wave.o awe_wave.c
In file included from awe_wave.c:25:
awe_compat.h:63:26: ../soundvers.h: No such file or directory
awe_compat.h:82:28: ../soundmodule.h: No such file or directory
awe_compat.h:91:29: ../sound_config.h: No such file or directory
make[2]: *** [awe_wave.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.22/drivers/sound'
make[1]: *** [_modsubdir_sound] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22/drivers'
make: *** [_mod_drivers] Error 2

Can anyone help me with this, I'm pretty much stumped at this point. The only thing I can think of is to go back and create the /usr/src/linux/drivers/sound/lowlevel/ directory that the awe driver install script looks for in the first place, but I don't see how this is going to help, as it appears that it is other files that are causing the problem

I have checked using find -iname sound*.h as root in the / partition, and the files soundvers.h and sound_config.h exist but not soundmodule.h - could this be where the problem lies?

I have had a look at other posts from people who've had problems with Sound blaster AWE cards, but these haven't really helped me solve my problem as of yet, unless I'm missing something.

Any help would be greatly appreciated, as I'm keen to get this to work (and I hate being beaten by computers) - the card should be fine as has worded under SuSE9.0 and appeared to have no problems, to the extent that I added an entry to the HCL - made I was mistake but I was able to get mp3s to play, sound effects from kde adn able to loud soundfonts under SuSE.

Thanks very much,

Steve
 
Old 04-30-2004, 01:00 AM   #2
SteveK1979
Member
 
Registered: Feb 2004
Location: UK
Distribution: RHEL, Ubuntu, Solaris 11, NetBSD, OpenBSD
Posts: 225

Original Poster
Rep: Reputation: 43
So it appears that nobody can help me with this?

In that case, can anybody tell me where make dep command picks up the list of kernel dependancies to complie?

Cheers,

Steve
 
  


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
SB AWE64 MIDI no sound-fixed it discipled1 Slackware 0 08-26-2004 04:05 PM
slackware9.1 sound configuration shanenin Slackware 4 10-15-2003 03:13 PM
Slackware9.1+Alsa Drivers robo_br Linux - Software 0 10-09-2003 09:46 AM
Kernel dependency error when installing sound drivers SeeingWhite Linux - Hardware 2 08-20-2003 04:50 PM
Can I load both oss (kernel sound drivers) and alsa in 2 sound cared system? cmisip Linux - General 0 04-12-2003 01:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:03 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