Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] zaptel 1.2.25 compilation error


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
rentorbuy at yahoo.com
Guest





PostPosted: Wed Apr 09, 2008 11:39 am    Post subject: [asterisk-users] zaptel 1.2.25 compilation error Reply with 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

__________________________________________________
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





PostPosted: Wed Apr 09, 2008 11:46 am    Post subject: [asterisk-users] zaptel 1.2.25 compilation error Reply with quote

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 Sad

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





PostPosted: Wed Apr 09, 2008 1:51 pm    Post subject: [asterisk-users] zaptel 1.2.25 compilation error Reply with quote

--- Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

Quote:
Yeah, right. Fixed it a few hours after the release
Sad

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

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
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services