Menu

#5 won't compile in ubuntu 9.10 (amongst other)

open
nobody
None
5
2009-11-16
2009-11-16
jbescudie
No

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.

Discussion

  • Anonymous

    Anonymous - 2009-12-05

    Could you post the includes in the audio.c file?

     
  • Nobody/Anonymous

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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.