On Wednesday 28 of January 2004 3:32 pm, you wrote:
> At Wed, 28 Jan 2004 12:29:59 +0100,
>
> > /usr/src/redhat/BUILD/alsa-driver-1.0.2/include/adriver.h:189:1: warning:
> > "snprintf" redefined
> > In file included
> > from /usr/src/linux-2.4.20-28.9/include/linux/modversions.h:172,
> > /usr/src/linux-2.4.20-28.9/include/linux/modules/ksyms.ver:690:1:
> > warning: this is the location of the previous definition
> > </snip>
>
> looks like configure script didn't detect snprintf() correctly in your
> kernel tree.  check config.log file.


you are right, in config.log are these lines:
<snip>
configure:5138: checking for snprintf
configure:5166: gcc -c -Wall -Werror -D__module__i386 
-D__module__%{kernel_type} -I/usr/src/linux-2.4.20-28.9/
include  conftest.c >&5
<command line>:1:11: ISO C requires whitespace after the macro name
configure:5169: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define STDC_HEADERS 1
| #define TIME_WITH_SYS_TIME 1
| #define CONFIG_SND_KERNELDIR "/usr/src/linux-2.4.20-28.9"
| #define CONFIG_SND_VERBOSE_PRINTK 1
| #define CONFIG_SND_ISA 1
| #define CONFIG_ISAPNP_KERNEL 1
| #define CONFIG_SND_ISAPNP 1
| #define CONFIG_SND_PNP 1
| /* end confdefs.h.  */
|
| #define __KERNEL__
| #include "/usr/src/linux-2.4.20-28.9/include/linux/config.h"
| #include "/usr/src/linux-2.4.20-28.9/include/linux/kernel.h"
|
| int
| main ()
| {
|
|   char buf[128];
|   snprintf(buf, sizeof(buf), "abcd");
|
|   ;
|   return 0;
| }
configure:5183: result: "no"
</snip>

I understand what has happen but don't know why. Do exist minimal version 
requirements for configuring/compiling ALSA packages? 

-- 
Zdenek Pizl
Internetovy obchod s aktualizovanymi distribucemi GNU/Linuxu
http://www.Linux-CD.cz



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to