zaptel-modules for em64t kernel

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Oct 1 18:00:23 UTC 2005


Hi

Following a post on asterisk-users I tried building zaptel-modules (from
zaptel-source) for the em64t (Intel's amd64 clone) kernel. 

I installed kernel-headers-2.6.8-11-em64t-p4-smp and tried building
using the following build command:

  m-a -u . -f -i -t -l 2.6.8-11-em64t-p4-smp build zaptel

As a result: works quite wel, until it starts building the kernel modules 
themselves. zaptel.o is the first one built. I get tons of messages of the 
sort of:

include/linux/kernel.h:82: warning: conflicting types for built-in function `snprintf'
include/linux/kernel.h:83: warning: conflicting types for built-in function `vsnprintf'
In file included from include/linux/thread_info.h:20,
                 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 /home/tzafrir/Boole/packs/zaptel-source/usr_src/modules/zaptel/zaptel.c:44:
include/linux/bitops.h: In function `generic_hweight64':
include/linux/bitops.h:118: warning: integer constant is too large for "unsigned long" type
include/linux/bitops.h:118: warning: integer constant is too large for "unsigned long" type

and many others that follow, and then many:

{standard input}:41562: Error: suffix or operands invalid for `pop'
{standard input}:41655: Error: suffix or operands invalid for `push'
{standard input}:42199: Error: suffix or operands invalid for `pop'
{standard input}:42239: Error: suffix or operands invalid for `push'
{standard input}:42300: Error: suffix or operands invalid for `pop'
{standard input}:42353: Error: suffix or operands invalid for `push'
{standard input}:42397: Error: suffix or operands invalid for `pop'
{standard input}:42966: Error: suffix or operands invalid for `push'


Should it be possible to build zaptel-modules for that kernel? If so:
how?

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com



More information about the Pkg-voip-maintainers mailing list