LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 03-19-2003, 06:09 PM   #1
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Rep: Reputation: 15
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]#
 
Old 03-20-2003, 05:23 PM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 03-20-2003, 07:28 PM   #3
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
yes, i do compile as a root.

i do not sure about copy or installing kernel source. how to do that?
 
Old 03-20-2003, 07:39 PM   #4
qulnxsh
Member
 
Registered: Mar 2003
Distribution: Debian Sid
Posts: 50

Rep: Reputation: 15
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.
 
Old 03-21-2003, 12:20 AM   #5
wincrk
Member
 
Registered: Feb 2003
Distribution: Redhat 9.0
Posts: 104

Original Poster
Rep: Reputation: 15
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?
 
Old 03-22-2003, 12:45 AM   #6
rnturn
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

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
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.
 
  


Reply


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
error compiling alsa driver 1.0.9b on slackware 10.2 salviadud Slackware 9 11-14-2005 04:36 AM
unable to make alsa-driver: error 1 chirayan Red Hat 7 06-02-2005 04:48 AM
'make' error compiling alsa driver rickh Debian 3 05-14-2005 12:28 AM
Cannot compile alsa driver? It gives an error :( sys7em Slackware 24 10-11-2004 02:50 AM
alsa driver compilation error darkleaf Linux - Software 4 07-08-2004 12:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:01 AM.

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