nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand
Caylan Van Larson
caylan at mac.com
Tue Oct 2 20:35:37 CEST 2007
On Oct 2, 2007, at 12:35 PM, Caylan Van Larson wrote:
> On Oct 2, 2007, at 11:42 AM, Holger Weiss wrote:
>
>> * Caylan Van Larson <caylan at mac.com> [2007-10-02 11:32]:
>>> `/root/nrpe.install/src/nagios-plugins-1.4.10/gl'
>>> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -MT
>>> fsusage.o -MD
>>> -MP -MF ".deps/fsusage.Tpo" -c -o fsusage.o fsusage.c; \
>>> then mv -f ".deps/fsusage.Tpo" ".deps/fsusage.Po"; else rm -f
>>> ".deps/fsusage.Tpo"; exit 1; fi
>>> In file included from fsusage.h:25,
>>> from fsusage.c:22:
>>> ./stdint.h:76:6: operator '&&' has no left operand
>>
>> Could you show copy'n'paste line 76 of the file
>>
>> /root/nrpe.install/src/nagios-plugins-1.4.10/gl/stdint.h
>>
>> for us?
>
> # if && ! defined __BIT_TYPES_DEFINED__
> /* Linux libc4 >= 4.6.7 and libc5 have a <sys/bitypes.h> that
> defines
> int{8,16,32,64}_t and __BIT_TYPES_DEFINED__. In libc5 >=
> 5.2.2 it is
> included by <sys/types.h>. */
> # include <sys/bitypes.h>
> #endif
It's worth noting that I had no problem building the plugins on RHEL
3/4 boxes.
Caylan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071002/34ca1424/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list