Re: [Alsa-user] Help with the latest CVS
Brought to you by:
perex
From: Carl B. <al...@cb...> - 2002-02-14 00:04:40
|
Thanks that help now am getting this error when doing the make install cp snd-trident-synth.o snd-trident.o /lib/modules/2.4.5/kernel/sound/pci/trident make[2]: Leaving directory `/tmp/CVS/alsa-driver/pci/trident' make -C ymfpci modules_install make[2]: Entering directory `/tmp/CVS/alsa-driver/pci/ymfpci' mkdir -p /lib/modules/2.4.5/kernel/sound/pci/ymfpci cp snd-ymfpci.o /lib/modules/2.4.5/kernel/sound/pci/ymfpci make[2]: Leaving directory `/tmp/CVS/alsa-driver/pci/ymfpci' make[1]: Leaving directory `/tmp/CVS/alsa-driver/pci' /sbin/depmod -a -F /lib/modules/2.4.5/build/System.map 2.4.5 depmod:Can't read /lib/modules/2.4.5/build/System.map make: xxx [install-modules] Error 255 It seems that I do not have the System.map, so what do i need to do to fixs this one. (again this may be a fault of slackware) Thanks for the help and keep up the good work In message <Pin...@pn...>, Jaroslav Kysela <pe...@su...> writes >On Wed, 13 Feb 2002, Carl Brunning wrote: > >> I download a clean CVS tree but when every I run cvscompile I get this >> error in the alsa-driver directory. >> >> make[2]: Entering directory `/tmp/CVS/alsa-driver/pci/pdplus' >> make[2]: Nothing to be done for `modules'. >> make[2]: Leaving directory `/tmp/CVS/alsa-driver/pci/pdplus' >> make -C rme9652 modules >> make[2]: Entering directory `/tmp/CVS/alsa-driver/pci/rme9652' >> gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1 >> -I/lib/modules/2.4.5/build/include -I/tmp/CVS/alsa-driver/include -O2 >> -mpreferred-stack-boundary=2 -march=i386 -DLINUX -Wall >> -Wstrict-prototypes -fomit-frame-pointer -pipe -DEXPORT_SYMTAB -c >> rme9652_mem.c >> In file included from rme9652_mem.c:40: >> ../../alsa-kernel/pci/rme9652/rme9652_mem.c:58: parse error before >> string constant >> ../../alsa-kernel/pci/rme9652/rme9652_mem.c:58: warning: type defaults >> to `int' in declaration of `MODULE_LICENSE' >> ../../alsa-kernel/pci/rme9652/rme9652_mem.c:58: warning: function >> declaration isn't a prototype >> ../../alsa-kernel/pci/rme9652/rme9652_mem.c:58: warning: data definition >> has no type or storage class >> make[2]: *** [rme9652_mem.o] Error 1 >> make[2]: Leaving directory `/tmp/CVS/alsa-driver/pci/rme9652' >> make[1]: *** [_modsubdir_rme9652] Error 2 >> make[1]: Leaving directory `/tmp/CVS/alsa-driver/pci' >> make: *** [compile] Error 1 > >I've fixed this problem. Try currect CVS or this patch: > >Index: rme9652_mem.c >=================================================================== >RCS file: /cvsroot/alsa/alsa-driver/pci/rme9652/rme9652_mem.c,v >retrieving revision 1.2 >diff -u -r1.2 rme9652_mem.c >--- rme9652_mem.c 4 Jan 2002 17:52:01 -0000 1.2 >+++ rme9652_mem.c 13 Feb 2002 23:21:37 -0000 >@@ -37,4 +37,8 @@ > for(dev = pci_devices; dev; dev = dev->next) > #endif > >+#ifndef MODULE_LICENSE >+#define MODULE_LICENSE(x) >+#endif >+ > #include "../../alsa-kernel/pci/rme9652/rme9652_mem.c" > > > Jaroslav > >----- >Jaroslav Kysela <pe...@su...> >Linux Sound Maintainer >ALSA Project http://www.alsa-project.org >SuSE Linux http://www.suse.com > -- Carl Brunning |