Broadband Solutions
2005-Oct-01 08:39 UTC
[Asterisk-Users] Compiling Zaptel on EM64T machine
Hi Guys Im trying to complile Asterisk on my new dual Xeon 3.0ghz EM64T machine. Im running Debian 3.1, and have installed the 2.6.8-11-em64t-p4-smp kernel (and headers). The system is working fine and is detecting both CPU's (4 actually, with hyperthreading). But when I try to compile Zaptel, Im getting this error: /lib/modules/2.6.8-11-em64t-p4-smp? /build make -C /lib/modules/2.6.8-11-em64t-p4-smp? /build SUBDIRS=/usr/src/zaptel modules make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-11-? em64t-p4-smp' CC [M] /usr/src/zaptel/zaptel.o cc1: error: code model `kernel' not supported in the 32 bit mode make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1 make[1]: *** [_module_/usr/src/zaptel] Error 2 make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-11-? em64t-p4-smp' make: *** [linux26] Error 2 Can anyone help me out? What does "code model `kernel' not supported in the 32 bit mode" mean, and how could I get around it? Thanks, Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051001/ccc113c4/attachment.htm
On Sun, Oct 02, 2005 at 01:39:58AM +1000, Broadband Solutions wrote:> Hi Guys > > Im trying to complile Asterisk on my new dual Xeon 3.0ghz EM64T machine. > > Im running Debian 3.1, and have installed the 2.6.8-11-em64t-p4-smp > kernel (and headers). The system is working fine and is detecting > both CPU's (4 actually, with hyperthreading). > > But when I try to compile Zaptel, Im getting this error: > > /lib/modules/2.6.8-11-em64t-p4-smp? /buildThis extra "-" in the end shouldn't be there. Are you using the right kernel-headers? Is it your own kernel with a modified version string?> make -C /lib/modules/2.6.8-11-em64t-p4-smp? /build SUBDIRS=/usr/src/zaptel modules > make[1]: Entering directory `/usr/src/kernel-headers-2.6.8-11-? em64t-p4-smp' > CC [M] /usr/src/zaptel/zaptel.o > cc1: error: code model `kernel' not supported in the 32 bit mode > make[2]: *** [/usr/src/zaptel/zaptel.o] Error 1 > make[1]: *** [_module_/usr/src/zaptel] Error 2 > make[1]: Leaving directory `/usr/src/kernel-headers-2.6.8-11-? em64t-p4-smp' > make: *** [linux26] Error 2 > > Can anyone help me out? What does "code model `kernel' not supported in the 32 bit mode" mean, and how could I get around it?How about: apt-get install zaptel-source m-a a-i zaptel If you really need up-to-date zaptel debs, they're in experimental (or will soon be), and also in http://rapid.dotsrc.org/experimental/ -- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend