Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2006 15:15:50 -0400
From:      Jason Lixfeld <jason+lists.freebsd-questions@lixfeld.ca>
To:        freebsd-questions@freebsd.org
Subject:   6.1-RELEASE compiler/preprocessor problem?
Message-ID:  <B383188E-14D7-4D5D-BB88-543198667BDC@lixfeld.ca>

Next in thread | Raw E-Mail | Index | Archive | Help
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@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@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@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@julian /usr/ports/net/iaxmodem]#

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

Anyone have any ideas?



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?B383188E-14D7-4D5D-BB88-543198667BDC>