Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2008 07:00:07 GMT
From:      bazzoola <bazzoola@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/118368: New port: net/asterisk-agx AGX Extra Addons (including app_rxfax/app_txfax) for Asterisk 1.4
Message-ID:  <200804150700.m3F7079x003539@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/118368; it has been noted by GNATS.

From: bazzoola <bazzoola@gmail.com>
To: bug-followup@FreeBSD.org,
 bsd@ptitov.ru
Cc:  
Subject: Re: ports/118368: New port: net/asterisk-agx AGX Extra Addons (including app_rxfax/app_txfax) for Asterisk 1.4
Date: Tue, 15 Apr 2008 02:27:12 -0400

 I cannot get this to compile on
 
 FreeBSD sa.bsd 7.0-STABLE FreeBSD 7.0-STABLE #2: Sat Apr  5 01:27:33  
 CDT 2008     root@sa.bsd:/usr/obj/usr/src/sys/GENERIC  amd64
 
 I do have both:
 sa# pkg_info | grep asterisk
 asterisk-1.4.18.1_1 An Open Source PBX and telephony toolkit
 asterisk-gui-0.0.1r20070801_2 An asterisk ajax web manager
 
 and also:
 sa# pkg_info | grep dsp
 spandsp-devel-0.0.4.p15 A DSP library and software FAX machine
 
 I contacted the author with the problem however, I have not received  
 any reply yet.
 
 I did this:
 sa# fetch "http://www.freebsd.org/cgi/query-pr.cgi?prp=118368-1-txt&n=/asterisk-agx.sh 
 "
 
 sa# sh asterisk-agx.sh
 c - /usr/ports/net/asterisk-agx
 x - /usr/ports/net/asterisk-agx/Makefile
 x - /usr/ports/net/asterisk-agx/pkg-descr
 x - /usr/ports/net/asterisk-agx/pkg-plist
 x - /usr/ports/net/asterisk-agx/distinfo
 
 sa# cd /usr/ports/net/asterisk-agx/
 
 sa# ls
 Makefile	distinfo	pkg-descr	pkg-plist
 
 sa# make
 ===>  Extracting for asterisk-agx-1.4.2
 => MD5 Checksum OK for agx-ast-addons-1.4.2.tar.bz2.
 => SHA256 Checksum OK for agx-ast-addons-1.4.2.tar.bz2.
 ===>  Patching for asterisk-agx-1.4.2
 ===>   asterisk-agx-1.4.2 depends on executable: asterisk - found
 ===>   asterisk-agx-1.4.2 depends on executable: cmake - found
 ===>   asterisk-agx-1.4.2 depends on shared library: spandsp.0 - found
 ===>   asterisk-agx-1.4.2 depends on shared library: tiff.4 - found
 ===>  Configuring for asterisk-agx-1.4.2
 cmake "/usr/ports/net/asterisk-agx/work/agx-ast-addons" - 
 DCMAKE_INSTALL_PREFIX=/usr/local "-DCMAKE_C_FLAGS=-O2 -pipe -march=k8  
 "-I/usr/local/include" -fno-strict-aliasing  "-L/usr/local/lib"" - 
 DCMAKE_VERBOSE_MAKEFILE=YES
 -- Configuring done
 -- Generating done
 -- Build files have been written to: /usr/ports/net/asterisk-agx/work/ 
 agx-ast-addons
 ===>  Building for asterisk-agx-1.4.2
 cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && make
 /usr/local/bin/cmake -H/usr/ports/net/asterisk-agx/work/agx-ast-addons  
 -B/usr/ports/net/asterisk-agx/work/agx-ast-addons --check-build-system  
 CMakeFiles/Makefile.cmake 0
 /usr/local/bin/cmake -E cmake_progress_start /usr/ports/net/asterisk- 
 agx/work/agx-ast-addons/CMakeFiles 7
 make -f CMakeFiles/Makefile2 all
 make -f CMakeFiles/app_devstate.dir/build.make CMakeFiles/ 
 app_devstate.dir/depend
 Scanning dependencies of target app_devstate
 cd /usr/ports/net/asterisk-agx/work/agx-ast-addons && /usr/local/bin/ 
 cmake -E cmake_depends "Unix Makefiles" /usr/ports/net/asterisk-agx/ 
 work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast-addons / 
 usr/ports/net/asterisk-agx/work/agx-ast-addons /usr/ports/net/asterisk- 
 agx/work/agx-ast-addons /usr/ports/net/asterisk-agx/work/agx-ast- 
 addons/CMakeFiles/app_devstate.dir/DependInfo.cmake
 make -f CMakeFiles/app_devstate.dir/build.make CMakeFiles/ 
 app_devstate.dir/build
 /usr/local/bin/cmake -E cmake_progress_report /usr/ports/net/asterisk- 
 agx/work/agx-ast-addons/CMakeFiles 1
 [ 14%] Building C object CMakeFiles/app_devstate.dir/app_devstate.o
 /usr/bin/gcc  -Dapp_devstate_EXPORTS   -g -O -Wall -Werror -fPIC -I/ 
 usr/lib/glib-2.0/include -o CMakeFiles/app_devstate.dir/ 
 app_devstate.o   -c /usr/ports/net/asterisk-agx/work/agx-ast-addons/ 
 app_devstate.c
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:11:22:  
 error: asterisk.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:13:22:  
 error: asterisk.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:19:27:  
 error: asterisk/lock.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:20:27:  
 error: asterisk/file.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:21:29:  
 error: asterisk/logger.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:22:30:  
 error: asterisk/channel.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:23:26:  
 error: asterisk/pbx.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:24:29:  
 error: asterisk/module.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:25:28:  
 error: asterisk/astdb.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:26:28:  
 error: asterisk/utils.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:27:26:  
 error: asterisk/cli.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:28:30:  
 error: asterisk/manager.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:29:34:  
 error: asterisk/devicestate.h: No such file or directory
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:44:  
 error: variable 'cli_dev_state' has initializer but incomplete type
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 error: extra brace group at end of initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 error: (near initialization for 'cli_dev_state')
 cc1: warnings being treated as errors
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: (near initialization for 'cli_dev_state')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: (near initialization for 'cli_dev_state')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: (near initialization for 'cli_dev_state')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:45:  
 warning: (near initialization for 'cli_dev_state')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: In  
 function 'devstate_cli':
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:52:  
 error: 'RESULT_SHOWUSAGE' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:52:  
 error: (Each undeclared identifier is reported only once
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:52:  
 error: for each function it appears in.)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:54:  
 warning: implicit declaration of function 'ast_db_put'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:56:  
 warning: implicit declaration of function 'ast_log'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:56:  
 error: 'LOG_DEBUG' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:60:  
 error: 'LOG_NOTICE' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:61:  
 warning: implicit declaration of function  
 'ast_device_state_changed_literal'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:65:  
 error: 'RESULT_SUCCESS' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: At top  
 level:
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:68:  
 warning: 'struct ast_channel' declared inside parameter list
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:68:  
 warning: its scope is only this definition or declaration, which is  
 probably not what you want
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: In  
 function 'devstate_exec':
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:73:  
 warning: implicit declaration of function 'ast_strdupa'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:73:  
 warning: assignment makes pointer from integer without a cast
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:74:  
 error: 'LOG_WARNING' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:86:  
 error: 'LOG_DEBUG' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: In  
 function 'ds_devicestate':
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:106:  
 warning: implicit declaration of function 'ast_db_get'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:108:  
 error: 'LOG_DEBUG' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: At top  
 level:
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:119:  
 error: variable 'devstate_tech' has initializer but incomplete type
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:120:  
 error: unknown field 'type' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:120:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:120:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:121:  
 error: unknown field 'description' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:121:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:121:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:122:  
 error: unknown field 'capabilities' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:122:  
 error: 'AST_FORMAT_MAX_AUDIO' undeclared here (not in a function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:122:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:122:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:123:  
 error: unknown field 'devicestate' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:123:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:123:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:124:  
 error: unknown field 'requester' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:124:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:124:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:125:  
 error: unknown field 'send_digit_begin' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:125:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:125:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:126:  
 error: unknown field 'send_digit_end' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:126:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:126:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:127:  
 error: unknown field 'send_text' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:127:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:127:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:128:  
 error: unknown field 'call' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:128:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:128:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:129:  
 error: unknown field 'hangup' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:129:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:129:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:130:  
 error: unknown field 'answer' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:130:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:130:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:131:  
 error: unknown field 'read' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:131:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:131:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:132:  
 error: unknown field 'write' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:132:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:132:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:133:  
 error: unknown field 'bridge' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:133:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:133:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:134:  
 error: unknown field 'exception' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:134:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:134:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:135:  
 error: unknown field 'indicate' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:135:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:135:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:136:  
 error: unknown field 'fixup' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:136:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:136:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:137:  
 error: unknown field 'setoption' specified in initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:137:  
 warning: excess elements in struct initializer
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:137:  
 warning: (near initialization for 'devstate_tech')
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:147:  
 warning: 'struct message' declared inside parameter list
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:147:  
 warning: 'struct mansession' declared inside parameter list
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: In  
 function 'action_devstate':
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:149:  
 warning: implicit declaration of function 'astman_get_header'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:149:  
 warning: cast to pointer from integer of different size
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:150:  
 warning: cast to pointer from integer of different size
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:154:  
 warning: implicit declaration of function 'astman_send_error'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:164:  
 warning: implicit declaration of function 'ast_device_state_changed'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:166:  
 error: 'LOG_DEBUG' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: In  
 function 'load_module':
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:173:  
 warning: implicit declaration of function 'ast_channel_register'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:174:  
 error: 'LOG_DEBUG' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:177:  
 warning: implicit declaration of function 'ast_cli_register'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:178:  
 warning: implicit declaration of function 'ast_manager_register2'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:178:  
 error: 'EVENT_FLAG_CALL' undeclared (first use in this function)
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:179:  
 warning: implicit declaration of function 'ast_register_application'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: In  
 function 'unload_module':
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:185:  
 warning: implicit declaration of function 'ast_manager_unregister'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:186:  
 warning: implicit declaration of function 'ast_cli_unregister'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:187:  
 warning: implicit declaration of function 'ast_unregister_application'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:188:  
 warning: implicit declaration of function 'ast_channel_unregister'
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c: At top  
 level:
 /usr/ports/net/asterisk-agx/work/agx-ast-addons/app_devstate.c:192:  
 error: expected ')' before string constant
 *** Error code 1
 
 Stop in /usr/ports/net/asterisk-agx/work/agx-ast-addons.
 *** Error code 1
 
 Stop in /usr/ports/net/asterisk-agx/work/agx-ast-addons.
 *** Error code 1
 
 Stop in /usr/ports/net/asterisk-agx/work/agx-ast-addons.
 *** Error code 1
 
 Stop in /usr/ports/net/asterisk-agx.
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804150700.m3F7079x003539>