Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-09-2003, 03:04 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
ALSA RPM rebuild fails, other compilation problems

Hi, my first post (but not my last) so please bear with me.

Big picture: I'm having a problem with my VT82C686B audio on an Asus A7V133 running RH 9.0 2.4.20-24.9. It's a vanilla install from the Shrike ISOs that's been upgraded using the automatic tool the RH installs.

Little picture: I'm clueless about the driver configuration process. I've been following the ALSA docs. The "./configure" works, but the "make" fails.

My suspicion is that I don't have the correct source tree or headers or something in place, but I don't know how to go about the process.

The question: How can I resolve the compile issue? How do I verify my source tree?

The output from the "make" is too large to post here, but I'll email it along if you are willing to look at it and give me some analysis.

truncated dmesg output:

Via 686a/8233/8235 audio driver 1.9.1-ac3rh2
PCI: Found IRQ 9 for device 00:04.5
PCI: Sharing IRQ 9 with 00:0a.0
PCI: Setting latency timer of device 00:04.5 to 64
ac97_codec: AC97 Audio codec, id: ICE17 (ICE1232)
via82cxxx: board #1 at 0xB800, IRQ 9

truncated lspci -vv output:
00:04.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)
Subsystem: Asustek Computer, Inc.: Unknown device 1106
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- Interrupt: pin C routed to IRQ 9
Region 0: I/O ports at b800 [size=256]
Region 1: I/O ports at b400 [size=4]
Region 2: I/O ports at b000 [size=4]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Old 12-09-2003, 03:24 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Welcome to LQ!

Please post the error make spits? :)

Old 12-09-2003, 03:26 PM   #3
Registered: Aug 2003
Distribution: Gentoo 1.4/MDK(9.1/9.2/10.0)/Knoppix
Posts: 35

Rep: Reputation: 15
I reccomend you use OSS. It costs about $15 USD for the cheap version, and is compatible with your sound set.
Old 12-09-2003, 08:34 PM   #4
LQ Newbie
Registered: Dec 2003
Posts: 3

Original Poster
Rep: Reputation: 0

I've pasted in the initial output and the final output for a couple of screens. The error message talks about a building vs. the kernel problem, but I haven't been able to wrap my head around the resolution process. I did try adding some symbolic links here and there to "create" path to the file in question based on some of the errors, but to no avail.

I would consider just going to OSS and paying for the software, but the fact that I have this build problem indicates to me that I have an environmental config issue on top of a sound driver issue.

I have more of the output, but I had to set my terminal to capture 15000 lines and it still didn't get all of it, so I don't think splitting a huge post up will be of much use (but then again, what do I know anyway...). Besides that I can't seem to copy and paste such a big chunk of text into this message window.

TIA for your assistance,

Output follows...

[root@localhost alsa-driver-0.9.8]# pwd

[root@localhost alsa-driver-0.9.8]# make
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make[1]: Nothing to be done for `first_rule'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/support'
make[1]: Entering directory `/usr/src/alsa/alsa-driver-0.9.8/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-0.9.8/include -I/lib/modules/2.4.20-24.9/build/include -O2 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -DEXPORT_SYMTAB -c memalloc.c
In file included from /lib/modules/2.4.20-24.9/build/include/linux/module.h:20,
from /usr/src/alsa/alsa-driver-0.9.8/include/adriver.h:51,
from memalloc.c:1:
/lib/modules/2.4.20-24.9/build/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/lib/modules/2.4.20-24.9/build/include/linux/modversions.h:2:2: #error but rather headers from an appropriate kernel-source package.
/lib/modules/2.4.20-24.9/build/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/lib/modules/2.4.20-24.9/build/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/lib/modules/2.4.20-24.9/build/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from /lib/modules/2.4.20-24.9/build/include/linux/fs.h:23,
from /lib/modules/2.4.20-24.9/build/include/linux/capability.h:17, from /lib/modules/2.4.20-24.9/build/include/linux/binfmts.h:5,
from /lib/modules/2.4.20-24.9/build/include/linux/sched.h:9,
from /usr/src/alsa/alsa-driver-0.9.8/include/adriver.h:126,
from memalloc.c:1:
/lib/modules/2.4.20-24.9/build/include/linux/string.h:8:2: warning: #warning Using
kernel header in userland!
In file included from /lib/modules/2.4.20-24.9/build/include/linux/sched.h:14,
from /usr/src/alsa/alsa-driver-0.9.8/include/adriver.h:126,
from memalloc.c:1:
/lib/modules/2.4.20-24.9/build/include/linux/timex.h:173: field `time' has incomplete type


In file included from memalloc.c:1004:
memalloc.inc1:22: parse error before "config_must_be_included_before_module"
In file included from /lib/modules/2.4.20-24.9/build/include/linux/sched.h:14,
from /usr/src/alsa/alsa-driver-0.9.8/includ2: warning: type defaults to `int' in declaration of `config_must_be_included_before_module'
memalloc.inc1:22: warning: data definition has no type or storage class
memalloc.c:43: warning: `enable' defined but not used
memalloc.c:51: warning: `DECLARE_MUTEX' declared `static' but never defined
make[1]: *** [memalloc.o] Error 1[root@localhost alsa-driver-0.9.8]#
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-0.9.8/acore'
make: *** [compile] Error 1
[root@localhost alsa-driver-0.9.8]#


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems installing ALSA: insmod snd-intel8x0 fails. BWebb Linux - Newbie 21 01-04-2007 11:01 AM
BestCrypt 1.5.5 rebuild fails on SuSE 9.1 [repost] szr Linux - Software 16 08-12-2004 10:45 AM
BestCrypt 1.5.5 rebuild fails on SuSE 9.1 szr Linux - Newbie 1 06-23-2004 09:08 AM
BestCrypt installation problem (Rebuild fails) alacos Linux - Software 1 11-04-2003 06:34 PM
RPM database problems - can't rebuild Ross Clement Red Hat 4 10-21-2003 01:35 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:35 PM.

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