[asterisk-users] Zaptel trunk failed to compile

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jul 29 21:34:10 MST 2006


On Fri, Jul 28, 2006 at 02:04:10PM +0200, Administrator TOOTAI wrote:
> Morning everybody,
> 
> I try to install an asterisk test server with trunk branch and get this 
> error when compiling zaptel. Asterisk core compile fine as well as SVN 
> 1.2 branch. It's a Debian SARGE running on 2.4.27 kernel.
> 
> zttranscode.c: In function `zt_tc_mmap':
> zttranscode.c:378: warning: passing arg 1 of 
> `remap_page_range_R69d01e73' makes integer from pointer without a cast
> zttranscode.c:378: error: incompatible type for argument 4 of 
> `remap_page_range_R69d01e73'
> zttranscode.c:378: error: too many arguments to function 
> `remap_page_range_R69d01e73'
> make[1]: *** [zttranscode.o] Error 1
> make[1]: Leaving directory `/usr/src/zaptel-trunk'

One possible reason:
You may be trying to use the wrong version of kernel headers/kernel 
source.

  apt-get install kernel-headers-`uname -r`

Try rebuilding then.

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



More information about the asterisk-users mailing list