Philipp von Klitzing
2005-Oct-01 15:38 UTC
[Asterisk-Users] Can't compile zaptel (CVS Head) on Debian
Hi there, with both CVS HEAD and 1.2beta1 I don't succeed with either "make" or "make linux26". I checked more than once to make sure the required packages are in place - any suggestions? Philipp /lib/modules/2.6.8-2-686/build make -C /lib/modules/2.6.8-2-686/build SUBDIRS=/usr/src/zaptel modules make[1]: Gehe in Verzeichnis ?/usr/src/kernel-headers-2.6.8-2-686? CC [M] /usr/src/zaptel/zaptel.o In file included from include/asm/thread_info.h:16, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:10, from usr/src/zaptel/zaptel.c:44: include/asm/processor.h:87: error: array type has incomplete element type /usr/src/zaptel/zaptel.c: In function '__zt_receive_chunk': /usr/src/zaptel/zaptel.c:6162: warning: pointer targets in assignment differ in signedness make[2]: *** [/usr/src/zaptel/zaptel.o] Fehler 1 make[1]: *** [_module_/usr/src/zaptel] Fehler 2 make[1]: Verlasse Verzeichnis ?/usr/src/kernel-headers-2.6.8-2-686? make: *** [linux26] Fehler 2
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > Philipp von Klitzing> with both CVS HEAD and 1.2beta1 I don't succeed with either > "make" or "make linux26". I checked more than once to make > sure the required packages are in place - any suggestions?I had this recently - theres a problem with the 2.6.8-2 kernel, the package maintainer knows about it. Install the linux-image-2.6.12 package (debian is changing from kernel-image to linux-image, as they're changing the way theyre packaging it, or something?!) and it'll compile fine. Andrew