[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re:Still no luck with modversions (compiling alsa)



I had the same error when compiling ALSA drivers.  I had to set 
the C_INCLUDE_PATH environment varible ( see info pages for gcc)
to have gcc use the kernel headers.  I typed the following commands.

./configure
C_INCLUDE_PATH=/usr/src/kernel-headers-2.2.17/include/
export C_INCLUDE_PATH
make install

Daniel King


Original message from: Andrew Perrin
>From aperrin@socrates.berkeley.edu Fri Dec 15 05:59:06 2000
>Newsgroups: 
>Date: Fri, 15 Dec 2000 05:59:06 -0800 (PST)
>From: Andrew Perrin <aperrin@socrates.berkeley.edu>
>To: JoshNarins@aol.com
>cc: ciccio@prestonet.com.br, debian-user@lists.debian.org
>Subject: Re: alsa and modutils
>Fcc: sent-mail
>In-Reply-To: <[🔎] bf.9b63de8.276a9dfe@aol.com>
>Message-ID: <Pine.GSO.4.21.0012150557270.13548
@socrates.Berkeley.EDU>
>X-Reply-UID: (2 > )(1 976885764 48)/var/mail/aperrin
>MIME-Version: 1.0
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>Well, thanks to all of you but none of this worked - I did the source
>installs and still get the same issues:
>
>make[1]: Entering directory `/usr/src/alsa-driver-0.5.10/kernel'
>gcc   -DALSA_BUILD -D__KERNEL__ -O2  -DLINUX -Wall -Wstrict-
prototypes
>-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -
DEXPORT_SYMTAB
>-c sound.c
>In file included from sound.c:23:
>../include/driver.h:66: linux/modversions.h: No such file or directory
>make[1]: *** [sound.o] Error 1
>make[1]: Leaving directory `/usr/src/alsa-driver-0.5.10/kernel'
>make: *** [compile] Error 1
>
>...include/driver.h does in fact include linux/modversions.h.  I tried
>simply commenting out the include, but it appears another 
dependency does
>the same thing - got the same error trivially further along.
>
>I've found very little documentation about what modversions.h *is* or 
how
>it is supposed to work. Can anyone shed some light on this file and 
how I
>might get this to compile?
>
>Using locate, I find modversions.h in
>/usr/src/kernel-headers-2.2.17/include/linux
>so, in my just-enough-knowledge-to-be-dangerous mode I linked all 
the
>files in above directory into .../alsa-driver-0.5.10/linux which bombed
>completely.
>
>Any help will be greatly appreciated.
>
>------------------------------------------------------------------
>Andrew J Perrin - Ph.D. Candidate, UC Berkeley, Dept. of Sociology  
>216 Oxford Hills Drive     |   aperrin@socrates.berkeley.edu    
>Chapel Hill NC 27514 USA   |   aperrin@igc.apc.org
>(919) 929-3292             |   http://demog.berkeley.edu/~aperrin 
>
>On Thu, 14 Dec 2000 JoshNarins@aol.com wrote:
>
>> 
>> Yes, this pops up with a particular Intel NIC driver also,
>> and affects all debian past 2.2.16
>> 
>> The simple key is to unpack source that is no longer unpacked
>> by defaults.
>> 
>> apt-get source kernel-headers-2.2.17
>> 
>> You might need to do this first...
>> 
>> apt-get install kernel-headers-2.2.17
>> 
>
>
>------------------------------------------------------------------
>Andrew J Perrin - Ph.D. Candidate, UC Berkeley, Dept. of Sociology  
>216 Oxford Hills Drive     |   aperrin@socrates.berkeley.edu    
>Chapel Hill NC 27514 USA   |   aperrin@igc.apc.org
>(919) 929-3292             |   http://demog.berkeley.edu/~aperrin 
>
>
>-- 
>To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
>with a subject of "unsubscribe". Trouble? Contact 
listmaster@lists.debian.org
>



Reply to: