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

Re: alsa and modutils



No dice - did what you suggested:
/usr/src/kernel-source-2.2.17
/usr/src/linux -> /usr/src/kernel-source-2.2.17

/usr/src/alsa-driver-0.5.10
/usr/src/modules/alsa-driver -> /usr/src/alsa-driver-0.5.10

New error:
make[1]: Entering directory `/usr/src/alsa-driver-0.5.10/kernel'
make[1]: *** No rule to make target `/usr/src/linux/include/linux/autoconf.h', needed by `sound.o'.  Stop.
make[1]: Leaving directory `/usr/src/alsa-driver-0.5.10/kernel'
make: *** [compile] Error 1


this is because the /usr/src/linux/include doesn't have a number of the
important files in /usr/include/linux.

Anyone else managed actually to do this?

Thanks.

------------------------------------------------------------------
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, Christoph Simon wrote:

> On Thu, 14 Dec 2000 11:46:20 -0800 (PST)
> Andrew Perrin <aperrin@socrates.Berkeley.EDU> wrote:
> 
> > Greetings.  I'm trying to compile (from source) alsa-driver and the other
> > components of alsa, and running into this (rather opaque) problem:
> > 
> > make[1]: Entering directory `/usr/src/alsa-driver-0.5.10/kernel'
> > gcc   -DALSA_BUILD -D__KERNEL__ -O2 -m386 -DCPU=386 -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
> > 
> > it's quite true, there is no modversions.h.  I can create one by linking
> > to .../kernel-headers-2.2.17/include/linux/modversions.h, but that just
> > spits out a long list of errors too.  Has anyone managed to figure this
> > out?
> 
> It seems that kernels and the alsa driver like to live in certain
> directories. I assume here, you do have the kernel sources comiled and
> installed (BTW, why aren't you using the latest?). The kernel sources
> should be in "/usr/src/linux-<version>"; then, there should be a link
> "/usr/src/linux" just to that directory.
> 
> Next, if you unpack the alsa sources, they should be in
> "/usr/src/modules/alsa-driver/". There you should run
> "./configure". If you still have problems, maybe you should run
> ./configure with "--help" to see, if there are some directories you
> could set explicitly, but actually, this should not be necessary.
> 
> HTH
> 
> --
> Christoph Simon
> ciccio@prestonet.com.br
> ---
> ^X^C
> q
> quit
> :q
> ^C
> end
> x
> exit
> ZZ
> ^D
> ?
> help
> shit
> .
> 



Reply to: