I forgot to mention. I would have renamed the kernel source to /usr/src/linux And then make the changes I describe to u.
--- linux power <[EMAIL PROTECTED]> skrev: > Fra: linux power <[EMAIL PROTECTED]> > Tema: Re: Re[2]: [Alsa-user] cvscompile problems > Til: [EMAIL PROTECTED] > Dato: Sat, 5 Oct 2002 15:47:24 +0200 (CEST) > > There should be created a misc dir during compile, > wher the modules are placed. Since u have upgraded > your kernel its not sure it finds the right > system.map. Try this:Replace the kernel version with > yours > > normaly /usr/src/linux is one link, so make sure > that > link,links to your kernel source code in > /usr/src/linux-2.4.18-5 > > next in /usr/src/linux do: > ln -s /boot/System.map-2.4.18-3 System.map > > or edit Makefile and where you find one line with > /sbin/depmod > change to /sbin/depmod -a -F > /boot/System.map-2.4.18-3 > 2.4.18-3 > > you just have to make sure when you are useing > depmod > your are > pointed to the correct System.map > > after this > run make install again > > > > > --- Micael Beronius <[EMAIL PROTECTED]> > skrev: > > > OK, so I have tried this. And it is still the > same. > > > > I also downloaded the un-patched vanilla kernel, > > 2.4.19, and are > > running of that now. Still the same... :-( > > > > I must be doing something really wrong. I do > exactly > > this : > > > > downloaded the complete alsa cvs tree. (yesterday) > > I go into the alsa-driver directory, and > > ./configure --with-kernel=/usr/src/linux-2.4.19 > > --with-cards=cmipci > > --with-moddir=/lib/modules/2.4.19/misc > > > > I then typed ./cvscompile with the same options as > > above, I guess that > > the configure step is not necessary when using > > cvscompile, but just to > > be sure I did it. > > > > (there where no misc directory, so I created one > > just to see if > > anything ended up here; *it did not*) > > > > So the driver has been built, no errors, even if > it > > (snd-cmipci.o) > > stayed in the alsa-driver source tree. > > > > > > > > The conclusion for me, is that the driver where > > built without problem, > > so next I go for alsa-lib: > > > > cd into alsa-lib. > > ./configure --with-kernel=/usr/src/linux-2.4.19 > > > > I then get only one real error (?); > > "checking for kernel header files... directory > > > /lib/modules//usr/src/linux-2.4.19/build/include/sound > > not found" > > > > I have no clue if this is fatal to the build. > > > > I then do: > > ./cvscompile --with-kernel=/usr/src/linux-2-4-19 > > > > I then get the same errors as described belove; > > > > /usr/bin/autoheader-2.13: Symbol 'VERSION' is not > > covered by /usr/share/autoconf/acconfig.h > > [..] > > configure.in: 85: required file > > 'include/config.h.in' not found > > [..] > > make[2]: *** [stamp-h.in] Error 1 > > make[2]: Leaving directory > > '/usr/src/alsa/alsa-lib/include' > > make[1]: *** [config.h.in] Error 2 > > make[1]: Leaving directory > > '/usr/src/alsa/alsa-lib/include' > > make: *** [all-recursive] Error 1 > > > > > > > > - Micael > > > > > > > > lp> Completely remove old modules in this > directory > > by > > lp> typing > > lp> rm -rf /lib/modules/(your kernel version)/misc > > > > >> Compile the driver with these options. > > >> --with-kernel=(your kernel source dir path) > > lp> --with-moddir=/lib/modules/(your kernel > > version)/misc > > >> --with-cards=(your sound card chipset name) > > lp> type ./configure --help to see the > > >> rest of the options. And while you are in the > > driver > > >> dir type ./snddevices > > lp> Compile alsa-libs with the > > >> kernel option above. No options are needed on > > alsa > > >> utils. Edit modules.conf (look at examples in > > >> google.com) Then modprobe soundcore, modprobe > > lp> snd-(your card chipset name) > > >> start alsasound. IE redhat > > >> /etc/rc.d/init.d/alsasound start .Unmute the > > >> alsamixer./usr/bin/alsamixer > > > > > > > > lp> --- Micael Beronius > <[EMAIL PROTECTED]> > > skrev: >> > > >> Hi everyone. > > >> > > >> Please give me some hints; I have problems > > building > > >> Alsa-lib from cvs: > > >> > > >> This is what I do: got the whole tree from cvs, > > cd > > >> into alsa-lib run > > >> ./cvscompile --with-kernel=/usr/src/linux > > >> > > >> The first error I get is from autoheader: > > >> /usr/bin/autoheader-2.13: Symbol 'VERSION' is > not > > >> covered by > > >> /usr/share/autoconf/acconfig.h > > >> > > >> Then followed by: > > >> configure.in: 85: required file > > >> 'include/config.h.in' not found > > >> > > >> Then make starts and after some rows I get the > > >> autoheader error again > > >> (VERSION not covered..) > > >> Then: > > >> make[2]: *** [stamp-h.in] Error 1 > > >> make[2]: Leaving directory > > >> '/usr/src/alsa/alsa-lib/include' > > >> make[1]: *** [config.h.in] Error 2 > > >> make[1]: Leaving directory > > >> '/usr/src/alsa/alsa-lib/include' > > >> make: *** [all-recursive] Error 1 > > >> > > >> > > >> > > >> My set-up: > > >> Gentoo linux 2.4.19, gentoo kernel, everything > > built > > >> 2-3 weeks ago, so > > >> most stuff (tools etc) should be fairly up to > > date. > > >> > > >> I'm trying to get my new CMedia 8738 card to > > work. > > >> Alsa-driver compiled > > >> without problem. > > >> > > >> > > >> Many thanks, > > >> > > >> Micael > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Alsa-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/alsa-user > > ______________________________________________________ > Se den nye Yahoo! Mail på http://no.yahoo.com/ > Nytt design, enklere å bruke, alltid tilgang til > Adressebok, Kalender og Notisbok > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Alsa-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/alsa-user ______________________________________________________ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user