[Asterisk-bsd] On the bleeding edge of asterisk and zaptel with FreeBSD 6.1-STABLE

Randy Bush randy at psg.com
Sun Jun 18 09:38:58 MST 2006


on -current, built zaptel from subversion, then went to build
asterisk port

cc -shared -Xlinker -x -o app_zapras.so  app_zapras.o 
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib  -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib -fPIC   -c -o app_meetme.o app_meetme.c
cc -shared -Xlinker -x -o app_meetme.so  app_meetme.o 
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib  -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib -fPIC   -c -o app_flash.o app_flash.c
cc -shared -Xlinker -x -o app_flash.so  app_flash.o 
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib  -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib -fPIC   -c -o app_zapbarge.o app_zapbarge.c
cc -shared -Xlinker -x -o app_zapbarge.so  app_zapbarge.o 
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib  -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib -fPIC   -c -o app_zapscan.o app_zapscan.c
cc -shared -Xlinker -x -o app_zapscan.so  app_zapscan.o 
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib  -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib -fPIC   -c -o app_page.o app_page.c
cc -shared -Xlinker -x -o app_page.so  app_page.o 
cc -O2 -fno-strict-aliasing -pipe -march=pentiumpro  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations  -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE  -I/usr/local/include -L/usr/local/lib  -I/usr/local/include/spandsp -DZAPTEL_OPTIMIZATIONS         -fomit-frame-pointer  -I/usr/local/include -L/usr/local/lib -fPIC   -c -o app_rxfax.o app_rxfax.c
In file included from /usr/local/include/spandsp.h:43,
                 from app_rxfax.c:27:
/usr/local/include/spandsp/arctan2.h: In function `arctan2':
/usr/local/include/spandsp/arctan2.h:51: error: `_Complex_I' undeclared (first use in this function)
/usr/local/include/spandsp/arctan2.h:51: error: (Each undeclared identifier is reported only once
/usr/local/include/spandsp/arctan2.h:51: error: for each function it appears in.)
/usr/local/include/spandsp/arctan2.h:51: warning: type defaults to `int' in declaration of `type name'
/usr/local/include/spandsp/arctan2.h:51: warning: type defaults to `int' in declaration of `type name'
/usr/local/include/spandsp/arctan2.h:51: warning: type defaults to `int' in declaration of `type name'
/usr/local/include/spandsp/arctan2.h:51: warning: implicit declaration of function `cabsl'
/usr/local/include/spandsp/arctan2.h:51: warning: implicit declaration of function `cabs'
/usr/local/include/spandsp/arctan2.h:51: warning: implicit declaration of function `cabsf'
In file included from /usr/local/include/spandsp.h:50,
                 from app_rxfax.c:27:
/usr/local/include/spandsp/dc_restore.h: In function `fsaturate':
/usr/local/include/spandsp/dc_restore.h:112: warning: implicit declaration of function `rintl'
app_rxfax.c: In function `phase_e_handler':
app_rxfax.c:102: warning: implicit declaration of function `t30_get_transfer_statistics'
app_rxfax.c:103: warning: implicit declaration of function `t30_get_far_ident'
app_rxfax.c:104: warning: implicit declaration of function `t30_get_local_ident'
app_rxfax.c:135: warning: implicit declaration of function `t30_completion_code_to_str'
app_rxfax.c:135: warning: format argument is not a pointer (arg 7)
app_rxfax.c: In function `rxfax_exec':
app_rxfax.c:197: warning: implicit declaration of function `span_set_message_handler'
app_rxfax.c:288: error: structure has no member named `logging'
app_rxfax.c:291: warning: implicit declaration of function `t30_set_local_ident'
app_rxfax.c:294: warning: implicit declaration of function `t30_set_header_info'
app_rxfax.c:295: warning: implicit declaration of function `t30_set_rx_file'
app_rxfax.c:297: warning: implicit declaration of function `t30_set_phase_d_handler'
app_rxfax.c:298: warning: implicit declaration of function `t30_set_phase_e_handler'
app_rxfax.c:309: warning: implicit declaration of function `fax_rx'
app_rxfax.c:312: warning: implicit declaration of function `fax_tx'
app_rxfax.c: At top level:
app_rxfax.c:86: warning: 't30_flush' defined but not used
gmake[1]: *** [app_rxfax.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.2.9.1/apps'
gmake: *** [subdirs] Error 1
*** Error code 2



More information about the Asterisk-BSD mailing list