[Asterisk-Users] Compiling Zaptel on EM64T machine

Broadband Solutions brad at broadbandsolutions.com.au
Sat Oct 1 08:39:58 MST 2005


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


More information about the asterisk-users mailing list