btw 3.1.2 does compile and make successfully (although it did require an
autoreconf)
Nigel LEACH
Grid Engineer
CMITP Risk
5Y021, Harewood Avenue, London
phone: +44 207 595 3634; fax: +44 207 595 2555
07/10/2010 09:28
To
bernard
cc
ganglia-general
Subject
Re: [Ganglia-general] Compilation Problems
second chunk...
Internet
[email protected]
04/10/2010 22:44
To
Nigel LEACH
cc
ganglia-general
Subject
Re: [Ganglia-general] Compilation Problems
Hi Nigel:
On Mon, Oct 4, 2010 at 7:47 AM, <[email protected]> wrote:
> Installing Ganglia v3.1.7 on 64 Bit Redhat ES 5.5.
>
> Configure completes successfully (with --enable-gexec --with-gmetad
> --sysconfdir=/etc/ganglia), but make fails with
>
> …
> mkdir .libs
> gcc -std=gnu99 -I../lib -I../gmond -I../include -D_LARGEFILE64_SOURCE
> -DSYSCONFDIR=\"/etc/ganglia\" -g -O2 -fno-strict-aliasing -Wall
-D_REENTRANT
> -o .libs/gmetad gmetad.o cmdline.o data_thread.o server.o process_xml.o
> rrd_helpers.o conf.o type_hash.o xml_hash.o cleanup.o
> ../lib/.libs/libganglia.so -lrrd -lm -ldl -lnsl -lpcre
> /usr/lib64/libexpat.so -lconfuse /usr/lib64/libapr-1.so -lpthread
> -Wl,--rpath -Wl,/usr/lib64
> process_xml.o: In function `end':
> /var/tmp/ganglia/gmetad/process_xml.c:1152: undefined reference to
> `in_xml_list'
> process_xml.o: In function `fillmetric':
> /var/tmp/ganglia/gmetad/process_xml.c:86: undefined reference to
> `in_xml_list'
> process_xml.o: In function `startElement_EXTRA_ELEMENT':
> /var/tmp/ganglia/gmetad/process_xml.c:767: undefined reference to
> `in_xml_list'
> process_xml.o: In function `start':
> /var/tmp/ganglia/gmetad/process_xml.c:985: undefined reference to
> `in_xml_list'
> process_xml.o: In function `startElement_GANGLIA_XML':
> /var/tmp/ganglia/gmetad/process_xml.c:953: undefined reference to
> `in_xml_list'
> process_xml.o:/var/tmp/ganglia/gmetad/process_xml.c:591: more undefined
> references to `in_xml_list' follow
> collect2: ld returned 1 exit status
> make[2]: *** [gmetad] Error 1
> make[2]: Leaving directory `/var/tmp/ganglia/gmetad'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/ganglia'
> make: *** [all] Error 2
>
> Any clues much appreciated.
Have you tried `make clean` and then `make` again?
I assume you are building from the ganglia-3.1.7.tar.gz from
SourceForge.net, if that's not the case, please let us know.
> gcc 4.1.2, php 5.1.6, python 2.4.3.
What's the exact version of gcc including Red Hat version from `gcc
--version`?
Also, could you compress your config.log and attach it to the reply,
or paste it to www.pastebin.com and post the link back.
Cheers,
Bernard
___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are
not the intended recipient (or have received this e-mail in error) please
notify the sender immediately and delete this e-mail. Any unauthorised copying,
disclosure or distribution of the material in this e-mail is prohibited.
Please refer to
http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H
for additional disclosures.
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general