[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

alsa-source and linux 2.4.1: compile error (woody)?



Hi,

I run kernel 2.4.1 and tried to build alsa-modules from the alsa-source
package in woody. I used the make-kpkg modules_image method. However,
the build fails with the following error message:

make[4]: Entering directory `/usr/src/modules/alsadriver/kernel'
( ... goes ok ...)
updating ../include/sndversions.h
( ... goes ok ...)
gcc   -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB
-c sound.c
sound.c:250: warning: initialization from incompatible pointer type
( ... up to line 259 ...)
sound.c: In function `snd_persist_init':
sound.c:444: warning: implicit declaration of function
`get_module_symbol'
( ... some lines ok ...)
memory.c: In function `snd_malloc_pages_R838db77d':
memory.c:45: warning: implicit declaration of function `MAP_NR'
gcc   -DALSA_BUILD -O2 -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=586 -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -c -o info.o
info.c
info.c:558: warning: initialization from incompatible pointer type
info.c:559: warning: initialization from incompatible pointer type
info.c:560: warning: initialization from incompatible pointer type
info.c:562: warning: initialization from incompatible pointer type
info.c:563: warning: initialization from incompatible pointer type
info.c:564: warning: initialization from incompatible pointer type
info.c:565: warning: initialization from incompatible pointer type
info.c:567: warning: initialization from incompatible pointer type
info.c:577: warning: initialization from incompatible pointer type
info.c:594: warning: excess elements in struct initializer
info.c:594: warning: (near initialization for
`snd_info_entry_inode_operations')
info.c:599: warning: initialization from incompatible pointer type
info.c:616: warning: excess elements in struct initializer
info.c:616: warning: (near initialization for
`snd_info_device_inode_operations')
info.c: In function `snd_info_card_followlink':
info.c:655: warning: implicit declaration of function `lookup_dentry'
info.c:655: warning: return makes pointer from integer without a cast
info.c: At top level:
info.c:674: warning: initialization from incompatible pointer type
info.c:684: warning: initialization from incompatible pointer type
info.c:685: warning: initialization from incompatible pointer type
info.c:691: warning: excess elements in struct initializer
info.c:691: warning: (near initialization for
`snd_info_card_link_inode_operations')
info.c: In function `snd_info_card_register':
info.c:784: structure has no member named `ops'
info.c: In function `snd_info_create_device_R56429d1f':
info.c:954: structure has no member named `ops'
info.c: In function `snd_info_register_R89d46715':
info.c:1057: structure has no member named `ops'
make[4]: *** [info.o] Error 1
make[4]: Leaving directory `/usr/src/modules/alsadriver/kernel'
make[3]: *** [compile] Error 1
make[3]: Leaving directory `/usr/src/modules/alsadriver'
make[2]: *** [binary-modules] Error 2
make[2]: Leaving directory `/usr/src/modules/alsadriver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsadriver'
Module /usr/src/modules/alsadriver failed.
Hit return to Continue


I then tried version 0.5.something from yesterday's unstable, but I get
an error that lets me suspect that I would have to update debconf or
something, too, so I chickened out.

Thanks for advice



-- 

I did not vote for the Austrian government



Reply to: