nagios-plugins -- ./stdint.h:76:6: operator '&&' has no left operand
Caylan Van Larson
caylan at mac.com
Wed Oct 3 01:52:50 CEST 2007
On Oct 2, 2007, at 6:42 PM, Holger Weiss wrote:
> * Caylan Van Larson <caylan at mac.com> [2007-10-02 13:35]:
>> 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]:
>>>>> ./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.
>
> What's the output of the following commands?
>
> $ cd /root/nrpe.install/src/nagios-plugins-1.4.10
> $ grep ^HAVE config.log gl/Makefile
>
> Just to make sure, running "make distclean" and re-running "./
> configure;
> make" won't solve the problem?
Ahha, distclean fixed the problem. Must have had some cruft from a
previous build on RHEL.
Thank you, Holger.
-Caylan
-------------------------------------------------------------------------
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/
_______________________________________________
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