<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Asterisk Compile error</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">I'm trying to compile the voicemail module with mysql support and I get this error on the chan_zap module .</FONT>
<BR><FONT SIZE=2 FACE="Arial">Does anyone have any idea's on this one.. </FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">chan_zap.c: In function `handle_init_event':</FONT>
<BR><FONT SIZE=2 FACE="Arial">chan_zap.c:5668: error: `ZT_EVENT_POLARITY' undeclared (first use in this function)</FONT>
<BR><FONT SIZE=2 FACE="Arial">chan_zap.c:5668: error: (Each undeclared identifier is reported only once</FONT>
<BR><FONT SIZE=2 FACE="Arial">chan_zap.c:5668: error: for each function it appears in.)</FONT>
<BR><FONT SIZE=2 FACE="Arial">make[1]: *** [chan_zap.o] Error 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">make[1]: Leaving directory `/home/sean/voicemail/asterisk-1.0.0/channels'</FONT>
<BR><FONT SIZE=2 FACE="Arial">make: *** [subdirs] Error 1</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2 FACE="Arial">Any help appreciated.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Sean</FONT>
</P>
</BODY>
</HTML>