From owner-freebsd-alpha@FreeBSD.ORG Sat Jul 5 20:12:55 2008 Return-Path: Delivered-To: freebsd-alpha@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA397106564A; Sat, 5 Jul 2008 20:12:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 854768FC23; Sat, 5 Jul 2008 20:12:55 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from isis.bris.ac.uk ([137.222.10.63]) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1KFE7h-00060D-1G; Sat, 05 Jul 2008 21:12:54 +0100 Received: from mech-cluster238.men.bris.ac.uk ([137.222.187.238]) by isis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1KFE7g-0002d3-86; Sat, 05 Jul 2008 21:12:44 +0100 Received: from mech-cluster238.men.bris.ac.uk (localhost.men.bris.ac.uk [127.0.0.1]) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m65KCher020231; Sat, 5 Jul 2008 21:12:43 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster238.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m65KCgSr020230; Sat, 5 Jul 2008 21:12:42 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster238.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Sat, 5 Jul 2008 21:12:42 +0100 From: Anton Shterenlikht To: dinoex@FreeBSD.org Message-ID: <20080705201242.GA20124@mech-cluster238.men.bris.ac.uk> References: <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080705155035.GA88847@mech-cluster238.men.bris.ac.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: -1.3 X-Spam-Level: - Cc: freebsd-alpha@FreeBSD.org Subject: Re: graphviz port build fails on alpha FBSD 6.3 X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jul 2008 20:12:55 -0000 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 # 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