Administrator TOOTAI
2006-Jul-28 05:04 UTC
[asterisk-users] Zaptel trunk failed to compile
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' Thanks for any advise. -- Daniel
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@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com