Re: Solaris Compile error

Paul Dubuc <[email protected]>
Newsgroups gmane.network.nagios.plugins
Message-ID <[email protected]>
Steve Muhika wrote:
> The server is quite old..
>
> SunOS 5.10 Generic_127127-11 sun4u sparc SUNW,Sun-Fire-V890
>
> The compiler and version is..
>
> gcc version 2.95.3 20010315 (release)
>
>

That compiler is even older than your server.  You're using a 12 year old
compiler (that's the release date next to the version number). It might not
have good support for building 64-bit executables.  You could try:

1) getting a newer version of the GCC (try http://www.sunfreeware.com)
2) try using the native Solaris compiler (Sun Workshop) if you have it installed.
3) build 32-bit instead of 64 bit. (Try exporting "-m32" in CFLAGS and LDFLAGS
before you build. This can be tricky to get working right on a 64-bit OS.)

Hope this helps.

Paul


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.