[asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Stefan Gofferje
Hi,

addons 1.6 don't compile here. Any ideas?

Terve,
Stefan

[EMAIL PROTECTED]:/usr/src/asterisk-addons-1.6.0-beta4 make
CC=gcc CXX=g++ LD= AR= RANLIB= CFLAGS= make -C menuselect
CONFIGURE_SILENT=--silent makeopts
make[1]: Entering directory
`/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
make[1]: Entering directory
`/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
make[1]: `makeopts' is up to date.
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
CC=gcc CXX=g++ LD= AR= RANLIB= CFLAGS= make -C menuselect
CONFIGURE_SILENT=--silent
make[1]: Entering directory
`/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
make[2]: Entering directory
`/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall   -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall   -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall-c -o menuselect_curses.o
menuselect_curses.c
make[3]: Entering directory
`/usr/src/asterisk-addons-1.6.0-beta4/menuselect/mxml'
gcc -O -Wall   -c mxml-attr.c
gcc -O -Wall   -c mxml-entity.c
gcc -O -Wall   -c mxml-file.c
gcc -O -Wall   -c mxml-index.c
gcc -O -Wall   -c mxml-node.c
gcc -O -Wall   -c mxml-search.c
gcc -O -Wall   -c mxml-set.c
gcc -O -Wall   -c mxml-private.c
gcc -O -Wall   -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o
mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o
mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[3]: Leaving directory
`/usr/src/asterisk-addons-1.6.0-beta4/menuselect/mxml'
gcc -o menuselect menuselect.o strcompat.o menuselect_curses.o
mxml/libmxml.a -lncurses
make[2]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4/menuselect'
Generating input for menuselect ...
menuselect/menuselect --check-deps   menuselect.makeopts
Generating embedded module rules ...
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.0-beta4'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.0-beta4'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.0-beta4'
make[1]: Leaving directory `/usr/src/asterisk-addons-1.6.0-beta4'
make[1]: Entering directory `/usr/src/asterisk-addons-1.6.0-beta4/channels'
   [CC] chan_mobile.c - chan_mobile.o
chan_mobile.c:177: warning: ‘struct ast_cli_args’ declared inside
parameter list
chan_mobile.c:177: warning: its scope is only this definition or
declaration, which is probably not what you want
chan_mobile.c:178: warning: ‘struct ast_cli_args’ declared inside
parameter list
chan_mobile.c:179: warning: ‘struct ast_cli_args’ declared inside
parameter list
chan_mobile.c:182: error: initializer element is not constant
chan_mobile.c:182: error: (near initialization for ‘mbl_cli[0].cmda[0]’)
chan_mobile.c:183: error: initializer element is not constant
chan_mobile.c:183: error: (near initialization for ‘mbl_cli[0].cmda[1]’)
chan_mobile.c:184: error: initializer element is not constant
chan_mobile.c:184: error: (near initialization for ‘mbl_cli[0].cmda[2]’)
chan_mobile.c:247: warning: ‘struct ast_cli_args’ declared inside
parameter list
chan_mobile.c:248: error: conflicting types for
‘handle_cli_mobile_show_devices’
chan_mobile.c:177: error: previous declaration of
‘handle_cli_mobile_show_devices’ was here
chan_mobile.c: In function ‘handle_cli_mobile_show_devices’:
chan_mobile.c:256: error: ‘CLI_INIT’ undeclared (first use in this function)
chan_mobile.c:256: error: (Each undeclared identifier is reported only once
chan_mobile.c:256: error: for each function it appears in.)
chan_mobile.c:257: error: ‘struct ast_cli_entry’ has no member named
‘command’
chan_mobile.c:262: error: ‘CLI_GENERATE’ undeclared (first use in this
function)
chan_mobile.c:266: error: dereferencing pointer to incomplete type
chan_mobile.c:266: error: request for member ‘argc’ in something not a
structure or union
chan_mobile.c:266: warning: comparison between pointer and integer
chan_mobile.c:267: error: ‘CLI_SHOWUSAGE’ undeclared (first use in this
function)
chan_mobile.c:267: warning: return from incompatible pointer type
chan_mobile.c:269: error: dereferencing pointer to incomplete type
chan_mobile.c:269: error: request for member ‘fd’ in something not a
structure or union
chan_mobile.c:269: warning: passing argument 1 of ‘ast_cli’ makes
integer from pointer without a cast
chan_mobile.c:273: error: dereferencing pointer to incomplete type
chan_mobile.c:273: error: request for member ‘fd’ in something not a
structure or union
chan_mobile.c:275: warning: passing argument 1 of ‘ast_cli’ makes
integer from pointer without 

Re: [asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Russell Bryant

On Aug 8, 2008, at 4:48 AM, Stefan Gofferje wrote:

 Hi,

 addons 1.6 don't compile here. Any ideas?


It looks like you're trying to compiled Asterisk-addons 1.6 against  
Asterisk 1.4.  You will need to install Asterisk 1.6 before you can  
compile and install Asterisk-addons 1.6.

--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.





___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Stefan Gofferje
Hi,

Russell Bryant schrieb:
 It looks like you're trying to compiled Asterisk-addons 1.6 against  
 Asterisk 1.4.  You will need to install Asterisk 1.6 before you can  
 compile and install Asterisk-addons 1.6.

So, 1.6 must be _installed_ before compiling addons? It's not enough to
have it readily compiled in the neighbour dir?

I'll try that, thx.

Terve,
Stefan

-- 
Last words of a stormchaser:
Where is that rotation on the radar?!


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Stefan Gofferje
Stefan Gofferje schrieb:

 So, 1.6 must be _installed_ before compiling addons? It's not enough to
 have it readily compiled in the neighbour dir?

Confirmed - works. Thank you!


Terve,
Stefan

-- 
Last words of a stormchaser:
Where is that rotation on the radar?!


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Tzafrir Cohen
On Fri, Aug 08, 2008 at 04:28:03PM +0300, Stefan Gofferje wrote:
 Hi,
 
 Russell Bryant schrieb:
  It looks like you're trying to compiled Asterisk-addons 1.6 against  
  Asterisk 1.4.  You will need to install Asterisk 1.6 before you can  
  compile and install Asterisk-addons 1.6.
 
 So, 1.6 must be _installed_ before compiling addons? It's not enough to
 have it readily compiled in the neighbour dir?

The modules will have to be used with asterisk 1.6, one way or the
other.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Russell Bryant
Stefan Gofferje wrote:
 So, 1.6 must be _installed_ before compiling addons? It's not enough to
 have it readily compiled in the neighbour dir?

That is correct, at least for the easy case.

Alternatively, you can specify the Asterisk location as an argument to 
the configure script.

-addons-1.6.0$ ./configure --with-asterisk=/path/to/asterisk-1.6.0

However, as Tzafrir noted in another reply, it is worth mentioning that 
regardless of which method you use, Asterisk-addons 1.6.0 modules _must_ 
be used with Asterisk 1.6.0.

-- 
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] asterisk-addons-1.6.0-beta4 compile error

2008-08-08 Thread Stefan Gofferje
Russell Bryant schrieb:
 Stefan Gofferje wrote:
 So, 1.6 must be _installed_ before compiling addons? It's not enough to
 have it readily compiled in the neighbour dir?
 
 That is correct, at least for the easy case.
 
 Alternatively, you can specify the Asterisk location as an argument to 
 the configure script.
 
 -addons-1.6.0$ ./configure --with-asterisk=/path/to/asterisk-1.6.0
 
 However, as Tzafrir noted in another reply, it is worth mentioning that 
 regardless of which method you use, Asterisk-addons 1.6.0 modules _must_ 
 be used with Asterisk 1.6.0.

Yes, of course!
I am running 1.4.21.2 and wanted to compile 1.6 comletely before
shutting down the * and installing the new stuff. Reduce downtime. And
it was a good idea as current chan-sccp-b trunk does not compile with
1.6 as it turned out.



Terve,
Stefan

-- 
Last words of a stormchaser:
Where is that rotation on the radar?!


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users