Nelson,
Had gone through the process of installing libtiff/spandsp/readline
and readline did not throw up any errors. I've since tried readline
5.0 through 5.2, changed the sequence (readline/libtiff/spandsp), and
googled various os x/readline suggestions:
- edited terminal.c in readline to remove the 'multiple definitions
of symbol...' warnings (line 87 changes from 'char PC, *BC, *UP;' to
'extern char PC, *BC, *UP;').
- fixed the /shlib/Makefile for correct -dynamiclib generation
and readline makes/installs with no errors.
Still no success on callweaver make. Make fails with:
gcc -DHAVE_CONFIG_H -I. -I../include -fomit-frame-pointer -
D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
declarations -DTEMP_STORE=2 -DTHREADSAFE=1 -DSQLITE_OMIT_CURSOR -
DNO_TCL -I../sqlite3-embedded -I../sqlite3-embedded -DOS_UNIX -I.. -
I../include -I/usr/local/callweaver/include -I/usr/include/openssl -
DHAVE_SSL -I/usr/local/callweaver/include -MT libcallweaver_la-
hashtable.lo -MD -MP -MF .deps/libcallweaver_la-hashtable.Tpo -c
hashtable.c -fno-common -DPIC -o .libs/libcallweaver_la-hashtable.o
hashtable.c:30:20: error: malloc.h: No such file or directory
make[3]: *** [libcallweaver_la-hashtable.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
although it's also failed around app_nconference with
'fsaturate' (which I believe is a spandsp related function) during
one of the numerous attempts. make does throw up some warnings like
the below (a number of instances, when compiling frame.c,
translate.c, ulaw.c and alaw.c):
gcc -DHAVE_CONFIG_H -I. -I../include -fomit-frame-pointer -
D_REENTRANT -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
declarations -DTEMP_STORE=2 -DTHREADSAFE=1 -DSQLITE_OMIT_CURSOR -
DNO_TCL -I../sqlite3-embedded -I../sqlite3-embedded -DOS_UNIX -I.. -
I../include -I/usr/local/callweaver/include -I/usr/include/openssl -
DHAVE_SSL -I/usr/local/callweaver/include -MT libcallweaver_la-
callweaver.lo -MD -MP -MF .deps/libcallweaver_la-callweaver.Tpo -c
callweaver.c -fno-common -DPIC -o .libs/libcallweaver_la-callweaver.o
In file included from /usr/local/callweaver/include/spandsp.h:52,
from callweaver.c:79:
/usr/local/callweaver/include/spandsp/arctan2.h: In function 'arctan2':
/usr/local/callweaver/include/spandsp/arctan2.h:57: warning: implicit
declaration of function 'fabsf'
/usr/local/callweaver/include/spandsp/arctan2.h:57: warning:
incompatible implicit declaration of built-in function 'fabsf'
In file included from /usr/local/callweaver/include/spandsp.h:59,
from callweaver.c:79:
/usr/local/callweaver/include/spandsp/dc_restore.h: In function
'fsaturatef':
/usr/local/callweaver/include/spandsp/dc_restore.h:108: warning:
implicit declaration of function 'rintf'
/usr/local/callweaver/include/spandsp/dc_restore.h:108: warning:
incompatible implicit declaration of built-in function 'rintf'
/usr/local/callweaver/include/spandsp/dc_restore.h: In function
'fsaturate':
/usr/local/callweaver/include/spandsp/dc_restore.h:118: warning:
implicit declaration of function 'rint'
/usr/local/callweaver/include/spandsp/dc_restore.h:118: warning:
incompatible implicit declaration of built-in function 'rint'
In file included from /usr/local/callweaver/include/readline/
readline.h:37,
from callweaver.c:122:
/usr/local/callweaver/include/readline/rltypedefs.h: At top level:
/usr/local/callweaver/include/readline/rltypedefs.h:35: warning:
function declaration isn't a prototype
/usr/local/callweaver/include/readline/rltypedefs.h:36: warning:
function declaration isn't a prototype
/usr/local/callweaver/include/readline/rltypedefs.h:37: warning:
function declaration isn't a prototype
/usr/local/callweaver/include/readline/rltypedefs.h:38: warning:
function declaration isn't a prototype
In file included from callweaver.c:122:
/usr/local/callweaver/include/readline/readline.h:375: warning:
function declaration isn't a prototype
callweaver.c: In function 'handle_show_version_files':
callweaver.c:329: warning: field precision should have type 'int',
but argument 3 has type 'size_t'
callweaver.c:329: warning: field precision should have type 'int',
but argument 5 has type 'size_t'
callweaver.c: In function 'opbx_rl_initialize':
callweaver.c:1538: warning: assignment from incompatible pointer type
We'd really like to start testing callweaver, as we haven't been able
to compile it successfully since openpbx 1.2rc3. Any help/
suggestions gladly accepted.
Cheers, Rob
On 08/08/2007, at 11:10 PM, Nelson Silva wrote:
>
>
> you need GNU readline to compile it, not the OSX default readline
> ( which
> is fact is the editline).
>
> --
> Nelson Silva
> -----------------
>
> _______________________________________________
> Callweaver-users mailing list
> [email protected]
> http://lists.callweaver.org/mailman/listinfo/callweaver-users
>
_______________________________________________
Callweaver-users mailing list
[email protected]
http://lists.callweaver.org/mailman/listinfo/callweaver-users