Tuesday, October 7, 2003, 5:54:10 AM, you wrote:

TI> At Mon, 06 Oct 2003 23:54:41 -0400,
TI> Sergey Malov wrote:
>> 
>> Hi,
>> I cannot seems to compile the latest alsa driver, receiving the following
>> error:
>> gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/ALSA/alsa-driver-0.9.7a/include  
>> -I/lib/modules/2.4.23-pre6/build/include -O2 -mpreferred-stack-boundary=2 
>> -march=athlon -DLINUX -Wall
>> -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing 
>> -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c hwdep.c
>> gcc -D__KERNEL__ -DMODULE=1 -I/usr/local/src/ALSA/alsa-driver-0.9.7a/include  
>> -I/lib/modules/2.4.23-pre6/build/include -O2 -mpreferred-stack-boundary=2 
>> -march=athlon -DLINUX -Wall
>> -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing 
>> -fno-common -pipe -DALSA_BUILD   -DEXPORT_SYMTAB -c memalloc.c
>> In file included from memalloc.c:27:
>> /lib/modules/2.4.23-pre6/build/include/linux/proc_fs.h:213: redefinition of `PDE'
>> /usr/local/src/ALSA/alsa-driver-0.9.7a/include/adriver.h:133: `PDE' previously 
>> defined here
>> make[1]: *** [memalloc.o] Error 1
>> make[1]: Leaving directory `/usr/local/src/ALSA/alsa-driver-0.9.7a/acore'
>> make: *** [compile] Error 1
>> 
>> I use standard Red Hat 9.0, with the kernel installed 2.4.23-pre6.
>> I accept all the default for 'configure' (just run it as ./configure).
>> I turned off any optimization for gcc.
>> 
>> I see this problem in the version 0.9.6, as well as latest version
>> from cvs.
>> Would appreciate any help or hint what I'm doing wrong.

TI> this should have been fixed on the cvs.
TI> please check whether include/config.h has CONFIG_HAVE_PDE entry.


TI> Takashi

It doesn't seem like it is, here is config.h what was generated from
the latest vesion in cvs (10/8/2003):

/* ALSA section */
#define CONFIG_SND_VERSION "0.9.6"
/* #undef CONFIG_SND_ISA */
#define CONFIG_SND_SEQUENCER 1
#define CONFIG_SND_OSSEMUL 1
#define CONFIG_SND_MIXER_OSS 1
#define CONFIG_SND_PCM_OSS 1
#define CONFIG_SND_SEQUENCER_OSS 1
#define CONFIG_SND_VERBOSE_PRINTK 1
/* #undef CONFIG_SND_DEBUG */
/* #undef CONFIG_SND_DEBUG_MEMORY */
/* #undef CONFIG_SND_DEBUG_FULL */
/* #undef CONFIG_SND_DEBUG_DETECT */
/* #undef CONFIG_SND_BIT32_EMUL_MODULE */
/* #undef CONFIG_SND_RTCTIMER_MODULE */
#define CONFIG_SND_SEQ_DUMMY_MODULE 1

/* build section */
#define CONFIG_SND_KERNELDIR "/lib/modules/2.4.23-pre6/build"
#define CONFIG_ISAPNP_KERNEL 1
/* #undef CONFIG_PNP_KERNEL */
/* #undef CONFIG_ISAPNP */
/* #undef CONFIG_PNP */

/* 2.4 kernels */
#define CONFIG_HAVE_OLD_REQUEST_MODULE 1
/* #undef CONFIG_HAVE_STRLCPY */
#define CONFIG_HAVE_SNPRINTF 1
#define CONFIG_HAVE_VMALLOC_TO_PAGE 1

/* 2.2 kernels */
/* #undef CONFIG_OLD_KILL_FASYNC */
/* #undef CONFIG_HAVE_DMA_ADDR_T */
/* #undef CONFIG_HAVE_MUTEX_MACROS */ 




-- 
Best regards,
 Sergey                            mailto:[EMAIL PROTECTED]




-------------------------------------------------------
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