From owner-freebsd-ports@freebsd.org Mon Jan 22 18:14:32 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BFD86ECD953 for ; Mon, 22 Jan 2018 18:14:32 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 989E036AE for ; Mon, 22 Jan 2018 18:14:32 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id w0MIEQ5V081312 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 22 Jan 2018 10:14:26 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id w0MIEQUF081311; Mon, 22 Jan 2018 10:14:26 -0800 (PST) (envelope-from sgk) Date: Mon, 22 Jan 2018 10:14:26 -0800 From: Steve Kargl To: bob prohaska Cc: freebsd-ports@freebsd.org Subject: Re: Use of undeclared identifier 'fpgetmask' Message-ID: <20180122181426.GA81243@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20180120222638.GA82875@www.zefox.net> <20180120230421.GA57305@troutmask.apl.washington.edu> <20180121160130.GA85652@www.zefox.net> <20180121173553.GA73646@troutmask.apl.washington.edu> <20180121175840.GA85758@www.zefox.net> <20180121181214.GA73826@troutmask.apl.washington.edu> <20180122164848.GA89314@www.zefox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180122164848.GA89314@www.zefox.net> User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2018 18:14:32 -0000 On Mon, Jan 22, 2018 at 08:48:48AM -0800, bob prohaska wrote: > > What happens if you force inclusion by deleting #ifdef HAVE_IEEEFP_H? > > > After commenting out the test, running make clean and restarting a single- > threaded make the process stops with the same error: > > src/main.cpp:679:15: error: use of undeclared identifier 'fpgetmask' > fpsetmask(fpgetmask() & ~(FP_X_DZ | FP_X_INV)); > > > I've placed a copy of the make log file at > http://www.zefox.net/~fbsd/rpi2/inkscape/ieeefp_h_included.log > rpi2 is an ARM based board, right? Compare /usr/src/sys/amd64/include/ieeefp.h /usr/src/sys/arm/include/ieeefp.h It seems that FreeBSD' ARM architecture doesn't implement the functions associate with ieeefp.h. You probably need to force HAVE_IEEEF_H to 0. -- Steve