[Asterisk-bsd] Problems compiling iaxmodem from FreeBSD ports.

Jason Lixfeld jason+lists.asterisk-bsd at lixfeld.ca
Fri Sep 29 12:11:57 MST 2006


Trying to compile iaxmodem in an attempt to get ast_fax to work.

[root at julian /usr/ports/net/iaxmodem]# uname -a
FreeBSD julian 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #2: Sat Aug 19  
15:24:32 EDT 2006     root at julian:/usr/obj/usr/src/sys/JULIAN  amd64
[root at julian /usr/ports/net/iaxmodem]# make
===>  Patching for iaxmodem-0.1.14
===>  Applying FreeBSD patches for iaxmodem-0.1.14
===>   iaxmodem-0.1.14 depends on shared library: tiff.4 - found
===>  Configuring for iaxmodem-0.1.14
checking for a BSD-compatible install... /usr/bin/install -c -o root -
g wheel
...
checking tiffio.h usability... yes
checking tiffio.h presence... no
configure: WARNING: tiffio.h: accepted by the compiler, rejected by
the preprocessor!
configure: WARNING: tiffio.h: proceeding with the compiler's result
checking for tiffio.h... yes
...
cc -DMODEMVER=\"iaxmodem-0.1.14\" -DDSPVER=\"spandsp-0.0.3-
snapshot-20060707+\" -DIAXVER=\"libiax2-0.2.3-CVS-20060222+\"  -Wall -
g -DSTATICLIBS -D_GNU_SOURCE  -std=c99 -Ilib/libiax2/src -Ilib/
spandsp/src  -O2 -pipe -march=nocona -c iaxmodem.c
iaxmodem.c:53:20: tiffio.h: No such file or directory
In file included from lib/spandsp/src/spandsp.h:84,
                   from iaxmodem.c:55:
lib/spandsp/src/spandsp/t4.h:97: error: syntax error before "TIFF"
iaxmodem.c: In function `printlog':
iaxmodem.c:156: warning: implicit declaration of function `va_start'
iaxmodem.c:158: warning: implicit declaration of function `va_end'
*** Error code 1

Stop in /usr/ports/net/iaxmodem/work/iaxmodem-0.1.14.
*** Error code 1

Stop in /usr/ports/net/iaxmodem.
[root at julian /usr/ports/net/iaxmodem]# ls -al /usr/local/include/ 
tiffio.h*
-r--r--r--  1 root  wheel  19711 Sep 17 18:17 /usr/local/include/ 
tiffio.h
-r--r--r--  1 root  wheel   1610 Sep 17 18:17 /usr/local/include/ 
tiffio.hxx
[root at julian /usr/ports/net/iaxmodem]#

[root at julian /usr/ports/net/iaxmodem/work/iaxmodem-0.1.14]# grep  
tiffio *
iaxmodem.c:#include <tiffio.h>

Anyone have any ideas?  Is this a compiler issue maybe?!


More information about the Asterisk-BSD mailing list