Re: [Nagios-devel] NDOUtils 1.4b1 Released

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] NDOUtils 1.4b1 Released

Post by Guest »

Hendrik Baecker wrote:
[snip]
>
> Hi Ethan, hi list,
>
> thanks for updating ndoutils, many users out of the german
> "nagios-portal.de" have are very interested in and ndo is used mainly
> for the visual addon nagvis (www.nagvis.org)
>
> On an AMD64 arch there are one linking error caused of using "-fPIC" and
> -shared together while some object were compiled without "-fPIC".
>
> After some search I've edited the Makefile to compile io.o and utils.o
> with the -fPIC, too. After this patch I can compile ndoutils on a AMD64
> without any trouble.
>
> Hope this doesn't break anything.
>
> Best wishes
> Hendrik
>
>
>
>
> ------------------------------------------------------------------------
>
> diff -Naur ndoutils-1.4b1/src/Makefile.in ndoutils-1.4b1-mod/src/Makefile.in
> --- ndoutils-1.4b1/src/Makefile.in 2007-01-08 01:35:49.000000000 +0100
> +++ ndoutils-1.4b1-mod/src/Makefile.in 2007-01-08 20:14:52.000000000 +0100
> @@ -72,10 +72,10 @@
> $(CC) $(CFLAGS) -o $@ sockdebug.c $(COMMON_OBJS) $(LDFLAGS) $(LIBS) $(MATHLIBS) $(SOCKETLIBS) $(OTHERLIBS)
>
> io.o: io.c $(SRC_INCLUDE)/io.h
> - $(CC) $(CFLAGS) -c -o $@ io.c
> + $(CC) $(MOD_CFLAGS) $(CFLAGS) -c -o $@ io.c
>
> utils.o: utils.c $(SRC_INCLUDE)/utils.h
> - $(CC) $(CFLAGS) -c -o $@ utils.c
> + $(CC) $(MOD_CFLAGS) $(CFLAGS) -c -o $@ utils.c
>
> db.o: db.c $(SRC_INCLUDE)/db.h
> $(CC) $(CFLAGS) -c -o $@ db.c
>
>

Thanks Hendrik! Patch will be in CVS shortly.


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]
Locked