[Nagiosplug-help] Solaris Compile error
Paul Dubuc
work at paul.dubuc.org
Thu Feb 28 18:39:33 CET 2013
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
More information about the Help
mailing list