[asterisk-users] zaptel 1.2.25 compilation error

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Apr 9 11:46:42 CDT 2008


On Wed, Apr 09, 2008 at 09:39:00AM -0700, Vieri wrote:
> Zaptel seems to compile fine until I enter xpp/utils
> and make there.
> I get:
> 
> xpp/utils # make
> cc -o print_modes -g -Wall  print_modes.c
> print_modes.c: In function `main':
> print_modes.c:9: error: `fxo_modes' undeclared (first
> use in this function)
> print_modes.c:9: error: (Each undeclared identifier is
> reported only once
> print_modes.c:9: error: for each function it appears
> in.)
> print_modes.c:9: error: invalid application of
> `sizeof' to incomplete type `fxo_mode'
> print_modes.c:9: warning: division by zero
> make: *** [print_modes] Error 1

Yeah, right. Fixed it a few hours after the release :-(

The fix (run from the top-level directory)

  svn diff -c 4157 http://svn.digium.com/svn/zaptel/branches/1.2 | patch -p0

See http://svn.digium.com/view/zaptel?view=rev&rev=4157

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



More information about the asterisk-users mailing list