Ordway, Ryan wrote:
> Ndoutils 1.3.1 does not want to build properly on Linux/x86_64, at
> least not on my Sun x4200 AMD64 based system. It looks like io.c and
> utils.c are not being compiled with -fPIC despite being linked into
> the ndomod-?x.o module. Looks like the linkage uses -fPIC, but not
> the compilation of those two source files.
>
> I've attached a patch that basically just adds $(MOD_CFLAGS) for
> those two files. This solves the problem for me since MOD_CFLAGS
> contains -fPIC, at least for linux*. Some tweaks to configure.in may
> be needed to fix other platforms, if this is a problem for other
> 64-bit platforms.
>
> Ryan
>
Thanks for the patch Ryan - I'll be releasing a new version of the
ndoutils addon soon with the patch you supplied.
Ethan Galstad,
Nagios Developer
---
Email: [email protected]
Website: http://www.nagios.org
This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]