[alsa-devel] gitcompile fail

Mark Brand mark.brand at nmmu.ac.za
Fri Jan 6 16:49:09 CET 2017


Hi

I am unable to compile ALSA from fresh git clones.  Please would you 
advise me?

My procedure:

mkdir $HOME/Projects/tiwai
cd $HOME/Projects/tiwai
git clone git://github.com/tiwai/alsa-driver-build.git
git clone git://github.com/tiwai/sound.git
cd alsa-driver-build
git checkout build
cd alsa
./utils/setup-alsa-kernel -c ../../sound
./gitcompile --with-debug=full --enable-dynamic-minors --with-moddir=updates

Problems start with setup-alsa-kernel:

mark at erudite:~/Projects/tiwai/alsa-driver-build/alsa$ 
./utils/setup-alsa-kernel -c ../../sound
cp: cannot stat '../../sound/Documentation/sound/alsa': No such file or 
directory
cp: cannot stat 
'../../sound/Documentation/DocBook/alsa-driver-api.tmpl': No such file 
or directory
cp: cannot stat 
'../../sound/Documentation/DocBook/writing-an-alsa-driver.tmpl': No such 
file or directory
cp: cannot create hard link 'alsa-kernel/Documentation/DocBook' to 
'../../sound/Documentation/DocBook/stylesheet.xsl': No such file or 
directory

So I try to gitcompile anyway:

mark at erudite:~/Projects/tiwai/alsa-driver-build/alsa$ ./gitcompile 
--with-debug=full --enable-dynamic-minors --with-moddir=updates
gcc utils/mod-deps.c -o utils/mod-deps
utils/mod-deps.c: In function ‘output_card_list’:
utils/mod-deps.c:1086:4: warning: format not a string literal and no 
format arguments [-Wformat-security]
     printf(card_name);
     ^
utils/mod-deps --basedir 
/home/mark/Projects/tiwai/alsa-driver-build/alsa/alsa-kernel --hiddendir 
/home/mark/Projects/tiwai/alsa-driver-build/alsa --versiondep 
/home/mark/Projects/tiwai/alsa-driver-build/alsa/kconfig-vers --makeconf 
 > toplevel.config.in
can't handle 'default SND_SEQUENCER && SND_RAWMIDI', translating as 
depends on
can't handle 'default SND_SEQUENCER && SND_OPL3_LIB', translating as 
depends on
can't handle 'default SND_SEQUENCER && SND_OPL4_LIB', translating as 
depends on
can't handle 'default SND_SEQUENCER && SND_SBAWE', translating as depends on
can't handle 'default SND_SEQUENCER && SND_EMU10K1', translating as 
depends on
can't handle word INPUT=y properly, supposing it's OK
can't handle word INPUT=SND_ES1968 properly, supposing it's OK
can't handle word VIDEO_V4L2=y properly, supposing it's OK
can't handle word VIDEO_V4L2=SND_ES1968 properly, supposing it's OK
can't handle word VIDEO_V4L2=y properly, supposing it's OK
can't handle word VIDEO_V4L2=SND_FM801 properly, supposing it's OK
can't handle word INPUT=y properly, supposing it's OK
can't handle word INPUT=SND_MAESTRO3 properly, supposing it's OK
can't handle word INPUT=y properly, supposing it's OK
can't handle word INPUT=SND_HDA properly, supposing it's OK
can't handle word SND_HDA_INPUT_BEEP=y properly, supposing it's OK
can't handle word INPUT=y properly, supposing it's OK
can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK
Wrong condition =
Makefile:152: recipe for target 'toplevel.config.in' failed
make: *** [toplevel.config.in] Error 1
mark at erudite:~/Projects/tiwai/alsa-driver-build/alsa$

I have successfully compiled ALSA at various times in the past (years 
ago), and have intermittently worked on developing a driver for an old 
device.  I'd very much like to finish that off and submit it now, but 
I'm struggling to get out of the starting blocks!  You kind assistance 
is greatly appreciated.

Regards
Mark Brand


More information about the Alsa-devel mailing list