[syslinux] syslinux 3.31 will not build on RHEL3

H. Peter Anvin hpa at zytor.com
Thu Jan 25 21:11:27 PST 2007


Tom G. Christensen wrote:
> Hi,
> 
> I've attempted to build 3.31 on RHEL3 but it fails since __DBL_MIN_EXP__ 
> and __DBL_MAX_EXP__ used in com32/lib/math/strtod.c is undefined.
> I added defines with the values used on RHEL4 (derived from cpp -E -dM < 
> /dev/null) and the build then completes. A quick test did not reveal any 
> ill effects.
> Is there perhaps a better workaround for this?
> 

There is, which is to add them to include/math.h.  I've done that in 
3.35-pre4.

> Another little nit I saw was that com32/lib/MCONFIG has 
> -FPNG_NO_WRITE_SUPPORTED, should this not be -DPNG_NO_WRITE_SUPPORTED?
> I assume it refers to the defines in pngconf.h so to me it looks like a 
> typo.

Indeed.  Fixed in git (and will be in 3.35-pre5.)

	-hpa




More information about the Syslinux mailing list