article.voiper.org

Custom Search
VoIPer Article>>>VoIP Software>>Compile of agx branch addons for faxes fails

Custom Search

Compile of agx branch addons for faxes fails


2010-09-07
 
Nextiva is a cloud based VoIP phone system, hosting lots of small and medium sized businesses nationwide. the provides UNLIMITED business calling for only $19.95 a month!! Click here for the detail about this promotion!!

Hello together,

I try to teach to my Asterisk faxes. Asterisk 1.4.18 compiles.
I procured myself the spandsp-0.0.6pre3.tgz and installed successfully on one debian etch with one kernel 2.6.22-4-686 (because of conf vacate).


Now I procured myself agx branch addons. There it schmeisst me with builds however the always following errors
/root/agx-ast-addons/app_rxfax.c: 199: error: STORAGE size OF `fax' isn' t known
I tried different versions of agx branch. Always the same problem.
Any idea?

Best thanks and greeting
cornelinux

Code:
asterisk: ~/agx branch addons# ./build.sh
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size OF void*
-- Check size OF void* - done
-- Check for working CXX compiler: /usr/bin/c ++
-- Check for working CXX compiler: /usr/bin/c ++ -- works
-- Configuring done
-- Generating done
-- Build files have been written tons: /root/agx-ast-addons
 Scanning of dependencies OF target app_devstate
 [12%] Building C object CMakeFiles/app_devstate.dir/app_devstate.o
 Linking C shared modules dist/app_devstate.so
 [12%] Built target app_devstate
 Scanning of dependencies OF target app_nv_backgrounddetect
 [25%] Building C object CMakeFiles/app_nv_backgrounddetect.dir/app_nv_backgrounddetect.o
 Linking C shared modules dist/app_nv_backgrounddetect.so
 [25%] Built target app_nv_backgrounddetect
 Scanning of dependencies OF target app_nv_faxdetect
 [37%] Building C object CMakeFiles/app_nv_faxdetect.dir/app_nv_faxdetect.o
 Linking C shared modules dist/app_nv_faxdetect.so
 [37%] Built target app_nv_faxdetect
 Scanning of dependencies OF target app_pickup2
 [50%] Building C object CMakeFiles/app_pickup2.dir/app_pickup2.o
 Linking C shared modules dist/app_pickup2.so
 [50%] Built target app_pickup2
 Scanning of dependencies OF target app_rxfax
 [62%] Building C object CMakeFiles/app_rxfax.dir/app_rxfax.o
 cc1: warnings being treated as error
 /root/agx-ast-addons/app_rxfax.c: In function `more phase_e_handler':
/root/agx-ast-addons/app_rxfax.c: 107: warning: implicit declaration OF function `t30_get_local_ident'
 /root/agx-ast-addons/app_rxfax.c: 108: warning: implicit declaration OF function `t30_get_far_ident'
 /root/agx-ast-addons/app_rxfax.c: 140: error: dereferencing pointer ton incomplete type
 /root/agx-ast-addons/app_rxfax.c: In function `rxfax_exec':
/root/agx-ast-addons/app_rxfax.c: 199: error: STORAGE size OF `fax' isn' t known
 /root/agx-ast-addons/app_rxfax.c: 318: warning: implicit declaration OF function `t30_set_local_ident'
 /root/agx-ast-addons/app_rxfax.c: 321: warning: implicit declaration OF function `t30_set_header_info'
 /root/agx-ast-addons/app_rxfax.c: 323: warning: passing argument of 2 OF `t30_set_phase_b_handler' from incompatible pointers type
 /root/agx-ast-addons/app_rxfax.c: 324: warning: passing argument of 2 OF `t30_set_phase_d_handler' from incompatible pointers type
 /root/agx-ast-addons/app_rxfax.c: 199: warning: unused variable `fax'
 make [2]: *** [CMakeFiles/app_rxfax.dir/app_rxfax.o] error 1
 make [1]: *** [CMakeFiles/app_rxfax.dir/all] error 2
 make: *** [all] error 2
Edit Guard x: Use please next time code tags!
Hello,

agx branch addons are very exact. If one reads oneself the README, is there exactly registered, against which version of spandsp it is to be compiled.
The newest (0.0.6) is not the best. In my case it was 0.0.4pre15 of spandsp.

… then ' S. goes.

Kind regards
Cornelinux
article.voiper.org
   Copyright@2010   Sitemap