Hi.

Thank you for your response.

I have tried using the latest snapshot -
http://www.alsa-project.org/snapshot/files/alsa-driver-1.0.23.62.g218f25.481.ga47ea.tar.bz2

I tried just using

./gitcompile

and got

......
make[2]: Entering directory
`/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea/misc'
make[2]: Leaving directory
`/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea/misc'
make[1]: Leaving directory
`/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea'
make -C  SUBDIRS=/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea
CPP="gcc -E" CC="gcc" modules
make: *** SUBDIRS=/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea:
No such file or directory.  Stop.
make: *** [compile] Error 2


I did then try the following :-  (this is custom kernel but same thing
occurs on standard arch kernel)

 utils/setup-alsa-kernel -c /usr/src/linux-2.6.35-k8

(/usr/src/linux-2.6.35-k8   is my kernel headers folder - i.e the one I use
to build Nvidia, etc drivers)

And got:-

utils/setup-alsa-kernel -c /usr/src/linux-2.6.35-k8/

cp: cannot stat `oss/Makefile': No such file or directory
cp: cannot stat `/usr/src/linux-2.6.35-k8//Documentation/sound/alsa': No
such file or directory
cp: cannot stat
`/usr/src/linux-2.6.35-k8//Documentation/DocBook/alsa-driver-api.tmpl': No
such file or directory
cp: cannot stat
`/usr/src/linux-2.6.35-k8//Documentation/DocBook/writing-an-alsa-driver.tmpl':
No such file or directory
cp: cannot stat
`/usr/src/linux-2.6.35-k8//Documentation/DocBook/stylesheet.xsl': No such
file or directory


I then tried using the folder with the source file for the kernel:-

utils/setup-alsa-kernel -c ../abs/kernel26/src/linux-2.6.35/

patch -p0 -i core.patch core.h
patching file core.h
ln -s ../../alsa-kernel/include/cs4231-regs.h
ln -s ../../alsa-kernel/include/cs46xx_dsp_scb_types.h
ln -s ../../alsa-kernel/include/cs46xx_dsp_spos.h
ln -s ../../alsa-kernel/include/cs46xx_dsp_task_types.h
ln -s ../../alsa-kernel/include/cs46xx.h
ln -s ../../alsa-kernel/include/cs8403.h
ln -s ../../alsa-kernel/include/cs8427.h
ln -s ../../alsa-kernel/include/emu10k1.h
ln -s ../../alsa-kernel/include/emu10k1_synth.h
ln -s ../../alsa-kernel/include/emu8000.h
ln -s ../../alsa-kernel/include/emu8000_reg.h
ln -s ../../alsa-kernel/include/emux_legacy.h
ln -s ../../alsa-kernel/include/emux_synth.h
ln -s ../../alsa-kernel/include/es1688.h
ln -s ../../alsa-kernel/include/gus.h
ln -s ../../alsa-kernel/include/hda_hwdep.h
ln -s ../../alsa-kernel/include/hdsp.h
ln -s ../../alsa-kernel/include/hdspm.h
ln -s ../../alsa-kernel/include/hwdep.h
ln -s ../../alsa-kernel/include/i2c.h
ln -s ../../alsa-kernel/include/info.h
ln -s ../../alsa-kernel/include/initval.h
ln -s ../../alsa-kernel/include/jack.h
ln -s ../../alsa-kernel/include/l3.h
ln -s ../../alsa-kernel/include/memalloc.h
ln -s ../../alsa-kernel/include/minors.h
ln -s ../../alsa-kernel/include/mixer_oss.h
ln -s ../../alsa-kernel/include/mpu401.h
ln -s ../../alsa-kernel/include/opl3.h
ln -s ../../alsa-kernel/include/opl4.h
cp ../../alsa-kernel/include/pcm.h .
patch -p0 -i pcm.patch pcm.h
patching file pcm.h
Hunk #1 FAILED at 277.
Hunk #2 succeeded at 285 (offset -5 lines).
Hunk #3 succeeded at 299 (offset -5 lines).
Hunk #4 FAILED at 325.
Hunk #5 succeeded at 339 (offset -5 lines).
Hunk #6 succeeded at 357 (offset -5 lines).
Hunk #7 FAILED at 400.
Hunk #8 succeeded at 407 (offset -5 lines).
3 out of 8 hunks FAILED -- saving rejects to file pcm.h.rej
make[3]: *** [pcm.h] Error 1
make[3]: Leaving directory
`/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea/include/sound'
make[2]: *** [prepare] Error 2
make[2]: Leaving directory
`/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea/include/sound'
make[1]: *** [prepare] Error 2
make[1]: Leaving directory
`/home/morgan/src/alsa-driver-1.0.23.62.g218f25.481.ga47ea/include'
make: *** [dep] Error 1


Any hints on how to compile it ?

Cheers




On 20 August 2010 17:51, Jaroslav Kysela <pe...@perex.cz> wrote:

> On Fri, 20 Aug 2010, Morgan Cox wrote:
>
>  Hi.
>>
>> I did send a previous message (but can't work out how to reply to my
>> post...) , I had the same issue with a custom built kernel (with desktop
>> patch.).
>>
>
> Use latest tarball snaphost (http://www.alsa-project.org/snapshot/). I'll
> release next version of the alsa-driver package probably next week.
>
>                                                Jaroslav
>
> -----
> Jaroslav Kysela <pe...@perex.cz>
> Linux Kernel Sound Maintainer
> ALSA Project, Red Hat, Inc.
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to