patch for ndoutils, missing -fPIC for io.c/utils.c

Ethan Galstad nagios at nagios.org
Thu Dec 21 17:46:16 CET 2006


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: nagios at nagios.org
Website: http://www.nagios.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list