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

Re: Compilazione emu10k1



---------- Forwarded Message -----------
From: "marco87" <marco87@rotellaweb.it>
To: Francesco <sizukesa@nospam.com>
Sent: Sat, 27 Dec 2003 10:27:11 +0100
Subject: Re: Compilazione emu10k1

On Fri, 26 Dec 2003 22:07:58 +0100, Francesco wrote
> On Fri, 26 Dec 2003 20:58:28 +0100
> "marco87" <marco87@rotellaweb.it> wrote:
> 
> > Ho la necessita' di compilare l'ultima versione di emu10k1 per far
> > andare la mia Audigy 2 sotto deb.. ma il problema è questo.. dopo il
> > make mi restituisce questo errore..xkè cerca i sorgenti del kernel
> > dove pare a lui..
> > 
> > -------
> > make -Cscripts
> > make[1]: Entering directory `/home/marco/Audio/emu10k1-v0.20a/scripts'
> >  
> > /lib/modules/2.4.22-1-686/build directory does not exist. Please edit
> > the file'config'
> > in this directory and set KERNEL_SOURCE to the correct location of
> > your kernel source.
> >  
> > You are currently running kernel version 2.4.22-1-686, the source code
> > should be for this version.
> >  
> > make[1]: *** [get_version] Error 1
> > make[1]: Leaving directory `/home/marco/Audio/emu10k1-v0.20a/scripts'
> > make: *** [opts] Error 2
> > -------
> > Se io modifico il config e inserisco la dir dei sorgenti del mio
> > kernel(/usr/src/kernel-source-2.4.22) e quindi al posto di questo
> > 
> > # Driver build options

> 
> make KERNEL_SOURCE=/usr/src/kernel-source-2.4.22
> 
> oppure edita il Makefile dei driver e sostituisci il path a mano come
> hai fatto nel config
> 
> Francesco

Grazie ai tuoi accorgimenti sono riuscito ad andare un po' piu avanti.. ho
corretto il file config e prima ho dato 
#make KERNEL_SOURCE=/usr/src/kernel-source-2.4.22
dopo di chè mi dava un messaggio dicendo "Now compile it with make" ma se do
make mi restituisce questo altro errore...

gcc  -D__KERNEL__ -I/usr/src/kernel-source-2.4.22/include -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -I2.4/ 
-DMODULE -DMODVERSIONS -include
/usr/src/kernel-source-2.4.22/include/linux/modversions.h -c -o audio.o audio.c
<command line>:138473665:61704:
/usr/src/kernel-source-2.4.22/include/linux/modversions.h: No such file or
directory
make: *** [audio.o] Error 1

Che cosa devo fare a sto giro?non capisco dove battere la testa!

--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)
------- End of Forwarded Message -------


--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)



Reply to: