Since I upgraded to ubuntu 9.10, I'm getting the following error when trying to compile the latest svn source :
$ make
./set_revision.sh
make -f Makefile -C /lib/modules/2.6.31-15-generic/build CONFIG_LINE6_USB=m SUBDIRS=/home/jb/line6/svn/line6linux/driver/trunk modules
make[1]: entrant dans le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
CC [M] /home/jb/line6/svn/line6linux/driver/trunk/audio.o
/home/jb/line6/svn/line6linux/driver/trunk/audio.c: In function ‘line6_init_audio’:
/home/jb/line6/svn/line6linux/driver/trunk/audio.c:31: error: implicit declaration of function ‘snd_card_new’
/home/jb/line6/svn/line6linux/driver/trunk/audio.c:31: warning: assignment makes pointer from integer without a cast
make[2]: *** [/home/jb/line6/svn/line6linux/driver/trunk/audio.o] Erreur 1
make[1]: *** [_module_/home/jb/line6/svn/line6linux/driver/trunk] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-headers-2.6.31-15-generic »
make: *** [default] Erreur 2
I've found on some forums that the same error happens with the last mandriva too.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Could you post the includes in the audio.c file?
I got it to compile by commenting out snd_card_new’ line ; googling shows it is no longer valid (this was a mod to 0.8.1).