From owner-freebsd-questions@FreeBSD.ORG Fri Sep 29 19:16:14 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A0F3616A4CE for ; Fri, 29 Sep 2006 19:16:14 +0000 (UTC) (envelope-from jason+lists.freebsd-questions@lixfeld.ca) Received: from eshara.ebit.ca (eshara.ebit.ca [69.90.17.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E651B43D68 for ; Fri, 29 Sep 2006 19:16:12 +0000 (GMT) (envelope-from jason+lists.freebsd-questions@lixfeld.ca) Received: from beta.arionetworks.ca ([216.7.194.254] helo=[192.168.100.190]) by eshara.ebit.ca with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.54 (FreeBSD)) id 1GTNqG-000PSr-1R for freebsd-questions@freebsd.org; Fri, 29 Sep 2006 15:16:12 -0400 Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Jason Lixfeld Date: Fri, 29 Sep 2006 15:15:50 -0400 X-Mailer: Apple Mail (2.752.2) Subject: 6.1-RELEASE compiler/preprocessor problem? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2006 19:16:14 -0000 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 Anyone have any ideas?