6.1-RELEASE compiler/preprocessor problem?

Jason Lixfeld jason+lists.freebsd-questions at lixfeld.ca
Fri Sep 29 12:16:14 PDT 2006


Not claiming to know much about anything, but can't seem to get this  
to compile.  The only things that stand out are the preprocessor  
error (which I don't know enough about to even begin to troubleshoot)  
and the tiffio.h no such file error.  I can vouch for the existence  
of the tiffio.h in /usr/local/include, but not sure if that's  
actually where it's trying to find it.

[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?


More information about the freebsd-questions mailing list