List Info

Thread: 6.1-RELEASE compiler/preprocessor problem?




6.1-RELEASE compiler/preprocessor problem?
user name
2006-09-29 19:15:50
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.

[rootjulian /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     rootjulian:/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.
[rootjulian /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
[rootjulian /usr/ports/net/iaxmodem]#

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

Anyone have any ideas?
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
6.1-RELEASE compiler/preprocessor problem?
user name
2006-09-29 19:21:43
On Fri, Sep 29, 2006 at 03:15:50PM -0400, Jason Lixfeld
wrote:

> 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.

It's not, as the lack of -I/usr/local/include says.  This is
supposed
to be provided by the port Makefile:

CFLAGS+=        -I$/include

so make sure all files in the port are up-to-date and you
have made no
other changes yourself.

If you still have problems, your first point of call for
port problems
should be the port maintainer, since they're the ones who
have
volunteered to help users with problems about that port.

Kris
6.1-RELEASE compiler/preprocessor problem?
user name
2006-09-29 19:43:21
On 29-Sep-06, at 3:21 PM, Kris Kennaway wrote:

> On Fri, Sep 29, 2006 at 03:15:50PM -0400, Jason Lixfeld
wrote:
>
>> 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.
>
> It's not, as the lack of -I/usr/local/include says. 
This is supposed
> to be provided by the port Makefile:
>
> CFLAGS+=        -I$/include

This is in the makefile.

> so make sure all files in the port are up-to-date and
you have made no
> other changes yourself.

No changes.  Just to be sure, I will re-cvsup that port.

> If you still have problems, your first point of call
for port problems
> should be the port maintainer, since they're the ones
who have
> volunteered to help users with problems about that
port.

Good point.  Thank you!

> Kris

_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )