Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
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.
|
 |
03-19-2003, 06:09 PM
|
#1
|
Member
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104
Rep:
|
alsa driver error
i got this message when trying to install alsa driver. i am using als4000 soundcard. i dont really understand what it is means. please help me.
[root@localhost alsa-driver-0.5.12a]# ./configure --with-kernel=/usr/src/linux-2.4 --with-cards=als4000 --with-sequencer=yes;make;make install
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/fs.h usability... yes
checking linux/fs.h presence... yes
checking for linux/fs.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for directory with kernel source... /usr/src/linux-2.4
checking for kernel version... 2.4.18-14
checking for kernel module symbol versions... "yes"
checking for PCI support in kernel... "yes"
checking for SGI/MIPS (HAL2) architecture... "no"
checking for directory to store kernel modules... /lib/modules/2.4.18-14/misc
checking for debug level... none
checking for processor type... "unknown"
checking for SMP... "no"
checking for ISA PnP driver in kernel... yes
checking for ISA PnP support... yes
checking for driver version... 0.5.12a
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for which soundcards to compile driver for... als4000
configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating cards.config
config.status: creating include/config.h
config.status: creating include/config1.h
config.status: creating include/version.h
config.status: include/version.h is unchanged
make dep
make[1]: Entering directory `/usr/local/john/alsa-driver-0.5.12a'
ln -sf ../support/isapnp.h include/isapnp.h
ln: creating symbolic link `include/isapnp.h' to `../support/isapnp.h': Operation not permitted
make[1]: *** [include/isapnp.h] Error 1
make[1]: Leaving directory `/usr/local/john/alsa-driver-0.5.12a'
make: *** [include/sndversions.h] Error 2
make dep
make[1]: Entering directory `/usr/local/john/alsa-driver-0.5.12a'
ln -sf ../support/isapnp.h include/isapnp.h
ln: creating symbolic link `include/isapnp.h' to `../support/isapnp.h': Operation not permitted
make[1]: *** [include/isapnp.h] Error 1
make[1]: Leaving directory `/usr/local/john/alsa-driver-0.5.12a'
make: *** [include/sndversions.h] Error 2
[root@localhost alsa-driver-0.5.12a]#
|
|
|
03-20-2003, 05:23 PM
|
#2
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep: 
|
Were you compiling as root or as user?
Did you copy or installed your kernel source code.
Did you do a search for isapnp.h (example: locate isapnp.h)
You may want to download version 0.9.1. ALSA may correct the problem in newer versions.
|
|
|
03-20-2003, 07:28 PM
|
#3
|
Member
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104
Original Poster
Rep:
|
yes, i do compile as a root.
i do not sure about copy or installing kernel source. how to do that?
|
|
|
03-20-2003, 07:39 PM
|
#4
|
Member
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50
Rep:
|
the kernel source is in /usr/src/linux, if you dont have it, just download it or install it from the distribution cd. However, if you have the source, maybe the option --with-kernel=/usr/src/linux-2.4 is not pointing at the correct version.
|
|
|
03-21-2003, 12:20 AM
|
#5
|
Member
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104
Original Poster
Rep:
|
urm, after checking my system, i think i do have the source code.
what is that means by "the option --with-kernel=/usr/src/linux-2.4 is not pointing at the correct version."--> how do i fix this?
|
|
|
03-22-2003, 12:45 AM
|
#6
|
Senior Member
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,849
|
Quote:
Originally posted by wincrk
urm, after checking my system, i think i do have the source code.
|
How did you verify that?
Quote:
what is that means by "the option --with-kernel=/usr/src/linux-2.4 is not pointing at the correct version."--> how do i fix this?
|
The ALSA configure step assumes that your kernel sources live under the directory ``/usr/src/linux''. Sometimes a distribution sets this up as ``/usr/src/linux-2.4''. You can satisfy ALSA's need for the source in two ways: 1.) use the ``--with-kernel=/usr/src/linux-2.4'' switch when you invoke ``configure'' or 2.) create a symbolic link ``linux'' that points to the ``linux-2.4'' directory (i.e., ``ln -s /usr/src/linux-2.4 /usr/src/linux'') and rerun the original ``configure'' command. Of course, if you're not using a 2.4.x kernel, you'd have to alter those commands to suit your actual kernel.
Last edited by rnturn; 03-22-2003 at 12:48 AM.
|
|
|
All times are GMT -5. The time now is 12:01 AM.
|
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
|
|