Hi,

I had a problem with compilation of em28xx-new-947cdbfe856d.tar.gz

My system is Debian Lenny  2.6.25-2-powerpc

I follow the steps from http://mcentral.de/wiki/index.php5/Installation_Guide

but when I run make the output was:

/usr/src/em28xx-new/em28xx-audioep.c: In function 
'snd_pcm_alloc_vmalloc_buffer':
/usr/src/em28xx-new/em28xx-audioep.c:78: error: implicit declaration of 
function 'vfree'
/usr/src/em28xx-new/em28xx-audioep.c:80: error: implicit declaration of 
function 'vmalloc'
/usr/src/em28xx-new/em28xx-audioep.c:80: warning: assignment makes pointer from 
integer without a cast
make[2]: *** [/usr/src/em28xx-new/em28xx-audioep.o] Error 1
make[1]: *** [_module_/usr/src/em28xx-new] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.25-2-powerpc'
make: *** [default] Error 2

I find a solution: 

in file em28xx-audioep.c I put this line:

#include <linux/vmalloc.h>

I am not a programmer but I hope this can help somebody.

Greetings

Sergio


ps: sorry for my english :)


_______________________________________________
Em28xx mailing list
[email protected]
http://mcentral.de/mailman/listinfo/em28xx

Reply via email to