Compile failure, missing ieeefp.h (argus-clients-3.0.7.12)
maketsi
maketsi at gmail.com
Tue Aug 13 08:43:47 EDT 2013
Hi Carter & co,
64bit CentOS 5.9 does not have ieeefp.h and therefore argus_filter.c does
not compile. I failed to find a package that would provide that file. Also,
configure does not check for the existance of that file. This problem
didn't exist on earlier 3.0.7.x versions.
By googling, it seems that the fpclass() function and constants related to
it could be replaced with fpclassify() that can be found from (GNU C)
<math.h>:
http://h21007.www2.hp.com/portal/download/files/unprot/STK/Solaris_STK/impacts/i99.html
math.h on this system defines fpclassify() as:
/* Return number of classification appropriate for X. */
# ifdef __NO_LONG_DOUBLE_MATH
# define fpclassify(x) \
(sizeof (x) == sizeof (float) ? __fpclassifyf (x) : __fpclassify (x))
# else
# define fpclassify(x) \
(sizeof (x) == sizeof
(float) \
? __fpclassifyf
(x) \
: sizeof (x) == sizeof
(double) \
? __fpclassify (x) : __fpclassifyl (x))
# endif
gcc version: 4.1.2 20080704 (Red Hat 4.1.2-54)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20130813/4ccf8dde/attachment.html>
More information about the argus
mailing list