[Nagiosplug-help] check_icmp error on Solaris

Andreas Ericsson ae at op5.se
Fri Dec 17 14:30:02 CET 2004


Horváth Tamás wrote:
> Hi List!
> 
> I wanted to compile check_icmp 0.8.1 on Solaris (SunOS nms 5.8
> Generic_108528-19 sun4u sparc SUNW,Ultra-250) and got the following error
> messages:
> 
> bash-2.03# make
> gcc -pipe -O2 -funroll-loops -fomit-frame-pointer
> -mpreferred-stack-boundary=3 -momit-leaf-frame-pointer -W -Wunused -Wall
> -Wstrict-prototypes  -c -o check_icmp.o check_icmp.c
> cc1: error: invalid option `preferred-stack-boundary=3'
> cc1: error: invalid option `omit-leaf-frame-pointer'
> make: *** [check_icmp] Error 1
> bash-2.03#
> 
> How can I solve this problem?
> 

Run gcc -O2 check_icmp.c -o check_icmp
The optimization flags are i386 specific. Solaris can't omit 
leaf-frame-pointers (and doesn't like a stack-boundary of 3).

> Thanks in advance.
> 
> Bye, Tamas!
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer




More information about the Help mailing list