OK, thanks. So now I have the misc directory full with fresh drivers!

But still, the alsa-lib does not compile, same error as before.


It has something to do with this stamp-h.in, I'm sure.

 Micael

lp> There should be created a misc dir during compile,
lp> wher the modules are placed. Since u have upgraded
lp> your kernel its not sure it finds the right
lp> system.map. Try this:Replace the kernel version with
lp> yours


lp> normaly /usr/src/linux is one link, so make sure that
lp> link,links to your kernel source code in
lp> /usr/src/linux-2.4.18-5

lp> next in /usr/src/linux do:
lp> ln -s /boot/System.map-2.4.18-3 System.map

lp> or edit Makefile and where you find one line with
lp> /sbin/depmod
lp> change to /sbin/depmod -a -F /boot/System.map-2.4.18-3
lp> 2.4.18-3

lp> you just have to make sure when you are useing depmod
lp> your are
lp> pointed to the correct System.map

lp> after this
lp> run make install again




lp>  --- Micael Beronius
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
>>
lp> /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

Reply via email to