[asterisk-users] AGX Asterisk Addon - Can't find app_fax.c withspandsp-0.0.4

Andrew Thomas andy at datavox.co.uk
Fri Mar 13 04:45:23 CDT 2009


You now need to compile and install SpanDSP-0.0.6pre3 at least (AGX has been changed).

After you've done that - try AGX again.

HTH


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Olivier
Sent: 11 March 2009 06:16
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] AGX Asterisk Addon - Can't find app_fax.c withspandsp-0.0.4

Hi,

I've installed spandsp-0.0.4pre16

With this:

cd ~
svn co https://agx-ast-addons.svn.sourceforge.net/svnroot/agx-ast-addons agx-ast-addons
cd agx-ast-addons/trunk
./build.sh


I've got this:
CMake Error in spandsp-0.0.4/CMakeLists.txt:
  Cannot find source file "app_fax.c".  Tried extensions .c .C .c++ .cc .cpp
  .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx


This is coherent with :
A    agx-ast-addons/trunk/spandsp-0.0.4
A    agx-ast-addons/trunk/spandsp-0.0.4/app_rxfax.c
A    agx-ast-addons/trunk/spandsp-0.0.4/app_txfax.c
A    agx-ast-addons/trunk/spandsp-0.0.4/CMakeLists.txt
A    agx-ast-addons/trunk/spandsp-0.0.4/README


My CMake knowledge is too short to propose a workaround.
Maybe, this could come from a change in agx-ast-addons/trunk/spandsp-0.0.4/CMakeLists.txt as the content of this file is:

project (app-fax-span4)

# ------------------------------------------------------
# Target
# we use "MODULE" cause it build a shared object module
# ------------------------------------------------------
ADD_LIBRARY(app_fax                     MODULE app_fax.c)

#
# We remove the "lib" prefix from the libmodule.so filename
#
SET_TARGET_PROPERTIES(app_fax           PROPERTIES PREFIX "")

#
# We add library dependencies to use those modules
#
TARGET_LINK_LIBRARIES(app_fax spandsp tiff)

#
# override default INSTALL rules
#
INSTALL(TARGETS app_fax DESTINATION lib/asterisk/modules)


Could you help ?
Regards



More information about the asterisk-users mailing list