[ALSA - driver 0001745]: too few arguments to function `snd_info_entry_ioctl_old' when compile in Kernel 2.4

bugtrack
2006-01-17T12:08:12Z

Last Modified: 01-17-2006 13:08 CET
======================================================================
Summary: too few arguments to function
`snd_info_entry_ioctl_old' when compile in Kernel 2.4
Description:
gcc32 -D__KERNEL__ -DMODULE=1 -I/alsa/cvs/alsa-driver/include
-I/lib/modules/2.4.22-1.2199.nptl/build/include -O2
-mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modversions.h
-DKBUILD_BASENAME=info -c -o info.o info.c
info.c: In function `snd_info_entry_ioctl_old':
info.c:483: warning: passing arg 1 of `snd_info_entry_ioctl_old' from
incompatible pointer type
info.c:483: warning: passing arg 2 of `snd_info_entry_ioctl_old' makes
pointer from integer without a cast
info.c:483: too few arguments to function `snd_info_entry_ioctl_old'
info.c: At top level:
info.c:457: warning: `snd_info_entry_ioctl' defined but not used
make[1]: *** [info.o] Error 1
make[1]: Leaving directory `/alsa/cvs/alsa-driver/acore'
make: *** [compile] Error 1

======================================================================

----------------------------------------------------------------------
Raymond - 01-16-06 18:10
----------------------------------------------------------------------
./cvscompile --with-cards=intel8x0 --with-debug=full

gcc32 -D__KERNEL__ -DMODULE=1 -I/cvs/alsa-driver/include
-I/lib/modules/2.4.22-1.2199.nptl/build/include -O2
-mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modversions.h
-DKBUILD_BASENAME=intel8x0 -c -o intel8x0.o intel8x0.c
In file included from /cvs/alsa-driver/include/sound/driver.h:47,
from intel8x0.c:29:
/cvs/alsa-driver/include/adriver.h:808:1: warning: "kmalloc" redefinedIn
file included from
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modversions.h:1247,
from <command line>:1:
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modules/ksyms.ver:827:1:
warning: this is the location of the previous definition
In file included from /cvs/alsa-driver/include/sound/driver.h:47,
from intel8x0.c:29:
/cvs/alsa-driver/include/adriver.h:812:1: warning: "kfree" redefined
In file included from
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modversions.h:1247,
from <command line>:1:
/lib/modules/2.4.22-1.2199.nptl/build/include/linux/modules/ksyms.ver:3851:1:
warning: this is the location of the previous definition
intel8x0.c:93: warning: `enable' defined but not used
intel8x0.c:95: warning: `joystick' defined but not used
rm -f snd-intel8x0.o
ld -r -o snd-intel8x0.o intel8x0.o

----------------------------------------------------------------------
tiwai - 01-17-06 13:08
----------------------------------------------------------------------
They are all just warnings, right?

Issue History
Date Modified Username Field Change
======================================================================
01-14-06 03:19 Raymond New Issue
01-14-06 03:19 Raymond Distribution => Fedora Core 1 (i386)
01-14-06 03:19 Raymond Kernel Version => 2.4.22-1.2199.nptl
01-14-06 04:26 Raymond Note Added: 0007652
01-16-06 18:10 Raymond Note Added: 0007690
01-17-06 13:08 tiwai Note Added: 0007699
======================================================================

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!