Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-19-2003, 11:30 PM
|
#1
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Rep:
|
module problem
im trying to make exaudio.o but when usign the make command i recieve
[root@localhost root]# make
make: *** No targets specified and no makefile found. Stop.
[root@localhost root]# cd /root/exaudio
[root@localhost exaudio]# make
gcc -I/usr/src/linux-2.4.20/include -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -c -o exaudio.o exaudio.c
exaudio.c: In function `get_rec_src':
exaudio.c:1840: warning: deprecated use of label at end of compound statement
[root@localhost exaudio]#
the driver is from http://www.cs.umass.edu/~cochran/ and i have edited the makefile as it recommends
-thanks
|
|
|
01-19-2003, 11:40 PM
|
#2
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
It kicks a warning, but does it make the module file? If so don't sweat it, tons of source will bark warnings while compiling, its just not well-optimized, no big deal.
Cheers,
Finegan
|
|
|
01-20-2003, 07:34 PM
|
#3
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
the module isnt created so its dying before that point that was compiled on mandrake 9 with 2.4.20 and here is the same sort of thing on mdk9 with 2.4.19-16mdk (same computer)
[root@localhost root]# cd /home/justin
[root@localhost justin]# tar -xzvf exaudio.tgz
exaudio/
exaudio/Makefile
exaudio/Makefile.xmms
exaudio/exaudio.c
exaudio/exrec
exaudio/ircodes.h
exaudio/irkey.c
exaudio/irxmms.c
exaudio/newfirm-desc.txt
exaudio/wrmidi.c
[root@localhost justin]# cd /home/justin/exaudio
[root@localhost exaudio]# make
gcc -I/usr/src/linux-2.4.19-16mdk -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i586 -DMODULE -c -o exaudio.o exaudio.c
In file included from exaudio.c:43:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/linux/prefetch.h:13,
from /usr/include/linux/list.h:6,
from /usr/include/linux/wait.h:14,
from /usr/include/linux/fs.h:11,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:6,
from /usr/include/linux/sched.h:8,
from /usr/include/linux/mm.h:4,
from /usr/include/linux/slab.h:14,
from exaudio.c:45:
/usr/include/asm/processor.h:55: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:55: requested alignment is not a constant
In file included from /usr/include/linux/module.h:296,
from exaudio.c:50:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from exaudio.c:50:
/usr/include/linux/module.h:298: parse error before "UTS_RELEASE"
In file included from /usr/include/linux/usb.h:136,
from exaudio.c:61:
/usr/include/linux/version.h:2:2: #error "======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files from a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should only be"
/usr/include/linux/version.h:10:2: #error "included via other system header files - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include <linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exists and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directory"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h to"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/include/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use the following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/include"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordingly."
/usr/include/linux/version.h:35:2: #error "======================================================="
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from /usr/include/linux/usb.h:139,
from exaudio.c:61:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
from /usr/include/linux/usb.h:139,
from exaudio.c:61:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from /usr/include/linux/usb.h:139,
from exaudio.c:61:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
exaudio.c:176:40: missing binary operator before '('
exaudio.c: In function `get_rec_src':
exaudio.c:1840: warning: deprecated use of label at end of compound statement
|
|
|
01-21-2003, 12:52 AM
|
#4
|
Member
Registered: Jan 2003
Location: Urbana, IL
Distribution: Slackware, Mandrake
Posts: 62
Rep:
|
Are you sure that it is not creating the module? Do a ls and see if you see anything new. Perhaps past the output of that here?
The reason I say that is that neither of those "makes" bomb out with errors. They both seem to make successfully. It is actually pretty normal for a package you download to yell a million errors at you
|
|
|
01-21-2003, 02:02 AM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
I can't get the source page to load either... can you repost it somewhere?
Cheers,
Finegan
|
|
|
01-21-2003, 09:13 PM
|
#6
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
source page is working again
Last edited by watashiwaotaku7; 01-22-2003 at 08:47 PM.
|
|
|
01-22-2003, 08:42 PM
|
#7
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
okay i found the module in the exaudio directory is there somewhere that i need to place this? it doesnt say in the readme and doing an insmod from within the directory seems to work but produces no sound
|
|
|
01-22-2003, 09:06 PM
|
#8
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
First Mandrake has everything soundwise turned off by default... especially if it didn't detect a soundcard on install. Open your mixer in GUI and unmute everything, or more to the point, if you have anything at all in the mixer, then the card bound correctly.
Cheers,
Finegan
|
|
|
01-22-2003, 09:25 PM
|
#9
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
okay then how does one unload a module beign that i fear i compiled this before switching to 2.4.20 and i want to be able to compile it with IR remote support
|
|
|
01-22-2003, 09:40 PM
|
#10
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
rmmod modulename
Of course if you booted 2.4.20, its almost definately not going to let you load a kernel module compiled for 2.4.19.
Cheers,
Finegan
|
|
|
01-22-2003, 10:27 PM
|
#11
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
okay now ive got it all squared away as far as that but still no sound under volume control i have two tabs for the mixer settings Creative_Soundblaster_Live_-_Emu10k1 and EXAUDIO_Recording_Mixer, under the first it has many options but the second i have only a few (vol, line, mic, mix) does this mean that i have only recording ability right now? the sourcepage recommends gmix but i cant find any match for that on freshmeat any ideas?
|
|
|
01-22-2003, 10:54 PM
|
#12
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
Mandrake installs KDE by default, GMIX is part of the Gnome desktop environment, that doesn't mean you don't have it or can't get to it, its just not going to be readily obvious, if you open a Konsole and type simply: gmix, it should launch the app if you have it installed. KDE's mixer app is just a usable though, the SB-Live emu104-1 is the actual sound card, apparently your card has 2 dsp chips... I guess, so the other one is a line-in recording mixer, dude I think you compiled that extra module entirely for the line-in and the rest of the sound card was already fine. Basically unmute and drag up everything until you get a ton of noise and then mute and fiddle until you figure out what's what.
Cheers,
Finegan
|
|
|
01-22-2003, 10:56 PM
|
#13
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
i have two sound cards (guess i should have said that to start with) i think thats where the SB-Live emu104-1 comes from also, im using gnome as my default but i cannot find GMIX i used 'whereis gmix' and it came back with nothing do you know where i can get gmix?
Last edited by watashiwaotaku7; 01-22-2003 at 10:59 PM.
|
|
|
01-22-2003, 11:27 PM
|
#14
|
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700
Rep:
|
Using the Mandrake package manager, use its search tool for gmix and then it'll install all of the RPM dependencies for you, its just about the only way to get RPMs to unpack correctly and get all of the dependencies and not hork. If you are trying to get this exaudio card to work as the only sound card... the reason it doesn't have volume and mixer tabs and such is because the SB card's module loaded first so it owns /dev/dsp and /dev/sound and /dev/mixer... you can only have one soundcard at a time (well, technically that's not true, but it takes a lot of hacking to get both to work and if you want to do something nutty like that, you're on your own.) That's why part of the settings appear, because you can have multiple line-ins... this is making sense now.
Okay, unless you're really set on gmix, any mixer will do, the problem is not the mixer, its the fact you have two sound cards.
Why two? If you like the exaudio better than the SB, the easiest way to sort this is to pull the SB. If its built into the board, disable it in BIOS.
Cheers,
Finegan
|
|
|
01-23-2003, 08:13 AM
|
#15
|
Member
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654
Original Poster
Rep:
|
okay the only reason i want gmix is because on the sourcepage it tells me not to use aumix being that it doesnt honor oss as far as the sound card do i just need to pull it and linux will deal with the rest or what? its a SB live! value and the one im going to be using is a SB Extigy
!!!
dell has the card wired into so many different places...pisses me off oh well ill get it out
!!!
|
|
|
All times are GMT -5. The time now is 10:26 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
|
|