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. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-09-2003, 02:04 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2003
Posts: 3
Rep:
|
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-
|
|
|
|
12-09-2003, 02:24 PM
|
#2
|
|
Moderator
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,903
|
Welcome to LQ!
Please post the error make spits? :)
Cheers,
Tink
|
|
|
|
12-09-2003, 02:26 PM
|
#3
|
|
Member
Registered: Aug 2003
Distribution: Gentoo 1.4/MDK(9.1/9.2/10.0)/Knoppix
Posts: 35
Rep:
|
I reccomend you use OSS. It costs about $15 USD for the cheap version, and is compatible with your sound set.
|
|
|
|
12-09-2003, 07:34 PM
|
#4
|
|
LQ Newbie
Registered: Dec 2003
Posts: 3
Original Poster
Rep:
|
Tink,
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,
abro
Output follows...
[root@localhost alsa-driver-0.9.8]# pwd
/usr/src/alsa/alsa-driver-0.9.8
[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.inc:11,
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.inc:11,
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.inc:11,
from memalloc.c:1:
/lib/modules/2.4.20-24.9/build/include/linux/timex.h:173: field `time' has incomplete type
SNIP!
In file included from memalloc.c:1004:
memalloc.inc1:22: parse error before "config_must_be_included_before_module"
memalloc.inc1:2
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 |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:43 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|