Date: Sat, 5 Jul 2008 21:12:42 +0100 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: dinoex@FreeBSD.org Cc: freebsd-alpha@FreeBSD.org Subject: Re: graphviz port build fails on alpha FBSD 6.3 Message-ID: <20080705201242.GA20124@mech-cluster238.men.bris.ac.uk> In-Reply-To: <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk> References: <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 05, 2008 at 04:50:36PM +0100, Anton Shterenlikht wrote: > (also posted to ports/graphviz maintainer) > > I get the following error when building this port on > FreeBSD 6.3-STABLE #0: alpha (ds10l). [skip] > cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../lib/gvc -I../../lib/pack -I../../lib/fdpgen -I../../lib/pathplan -I../../lib/graph -I../../lib/cdt -I/usr/local/include -I/usr/local/include -I/usr/local/include/tk8.4 -I/usr/local/include/tcl8.4 -I/usr/local/include -O -pipe -mcpu=ev6 -mieee -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c -fPIC -DPIC -o .libs/utils.o > utils.c:1733: error: conflicting types for 'strncasecmp' > utils.h:25: error: previous declaration of 'strncasecmp' was here It seems the error is due to configure script concluding there is no strncasecmp in the OS: # cd /usr/ports/graphics/graphviz # make configure > configure.out # grep strncasecmp configure.out checking for strncasecmp... no # But this function seems to be available: # man strncasecmp| head STRCASECMP(3) FreeBSD Library Functions Manual STRCASECMP(3) NAME strcasecmp, strncasecmp -- compare strings, ignoring case LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <strings.h> # Where in the configure script is the check for strncasecmp done? On i386 FBSD 7.0-stable all is fine: checking for strncasecmp... yes many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080705201242.GA20124>