View previous topic :: View next topic |
Author |
Message |
rentorbuy at yahoo.com Guest
|
Posted: Wed Apr 09, 2008 11:39 am Post subject: [asterisk-users] zaptel 1.2.25 compilation error |
|
|
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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Wed Apr 09, 2008 11:46 am Post subject: [asterisk-users] zaptel 1.2.25 compilation error |
|
|
On Wed, Apr 09, 2008 at 09:39:00AM -0700, Vieri wrote:
Quote: | 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 |
|
Back to top |
|
|
rentorbuy at yahoo.com Guest
|
Posted: Wed Apr 09, 2008 1:51 pm Post subject: [asterisk-users] zaptel 1.2.25 compilation error |
|
|
--- Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
Thanks.
Compiles ok.
Vieri
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com |
|
Back to top |
|
|
|