Skip to contentSkip to conversation

alsa-driver CVS configure.in broken

DISCUSSION Chris Rankin 3 participants 4 messages Nov 5, 2004 – Nov 6, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I have just tried to compile my ALSA kernel modules from CVS, and discovered that the CONFIG symbols from the kernel's autoconf.h are not being added to the autoconf.h in the alsa-driver/include/linux/ directory.

I reverted a one-line change to the configure.in file and it was fine again.

Cheers,
Chris

P.S. My kernel's source and build symbolic links in /lib/modules/<uname -r>/ point to different directories, because I compile several different kernels from the same source files on this machine.

___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#1 lore raw
Quoted 10 lines · Chris Rankin

Hi,

I have just tried to compile my ALSA kernel modules from CVS, and discovered that the CONFIG symbols from the kernel's autoconf.h are not being added to the autoconf.h in the alsa-driver/include/linux/ directory.

I reverted a one-line change to the configure.in file and it was fine again.

Can you send a patch with the change? I have been having problems building from CVS also.

Lee

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#2 lore raw
Quoted 2 lines · --- Lee Revell

Can you send a patch with the change? I have been having problems building from CVS also.

My email client will probably mangle this, but you get the idea:

Index: alsa-driver/configure.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/configure.in,v retrieving revision 1.274
diff -u -u -r1.274 configure.in
--- alsa-driver/configure.in 28 Oct 2004 09:14:49
-0000 1.274
+++ alsa-driver/configure.in 6 Nov 2004 11:56:17
-0000
@@ -1900,7 +1900,7 @@
echo "Hacking autoconf.h..."
rm -f include/linux/autoconf.h
mkdir -p include/linux
- grep -v CONFIG_SND_ $CONFIG_SND_KERNELDIR/include/linux/autoconf.h > include/linux/autoconf.h
+ grep -v CONFIG_SND_ $kernelbuild/include/linux/autoconf.h > include/linux/autoconf.h
cat include/autoconf-extra.h >>
include/linux/autoconf.h
cat include/config1.h >> include/linux/autoconf.h
else

___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click

#3 lore raw
Quoted 6 lines · Chris Rankin
Quoted 2 lines · --- Lee Revell

Can you send a patch with the change? I have been having problems building from CVS also.

My email client will probably mangle this, but you get the idea:

The problem should be fixed in CVS now for all cases.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click