Use of undeclared identifier 'fpgetmask'

Steve Kargl sgk at troutmask.apl.washington.edu
Mon Jan 22 18:14:32 UTC 2018


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


More information about the freebsd-ports mailing list