Thanks Mettier again, I've successfuly compiled 5.2.0 with your patches. I have to surround htonll with #if !HAVE_HTONLL #endif, is this a bug?
Also I need to force -lpthread on LD_FLAGS.. Everything (my patch and the configure line) is at your PR... https://github.com/collectd/collectd/pull/201 Best regards. 2012/11/28 Daniel. <[email protected]>: > The problem is that AIX defines the htonll > http://pic.dhe.ibm.com/infocenter/aix/v6r1/index.jsp?topic=%2Fcom.ibm.aix.commtechref%2Fdoc%2Fcommtrf2%2Fhtonll.htm > > Cheers, > > 2012/11/28 Daniel. <[email protected]>: >> Thanks Mettier, the patch has solved a lot of gcrypt noise. But yet it >> won't compile.. >> The error is this: >> network_buffer.c:149: error: expected ')' before 'val' >> >> This is the line 143 before patch. But yet is a perfectly valid, here is. >> bash-3.00# sed -ne '149'p network_buffer.c >> static uint64_t htonll (uint64_t val) /* {{{ */ >> >> I'm using gcc 4.2.0, I can't install other gcc in this system right now. >> >> Cheers, >> >> >> >> 2012/11/28 Yves Mettier <[email protected]>: >>> Hello, >>> >>> I cannot check your logs (forbidden behind the firewall). >>> But in case... Check this : https://github.com/collectd/collectd/pull/201 >>> >>> Regards, >>> Yves >>> >>> Le 2012-11-28 13:52, Daniel. a écrit : >>> >>>> 2012/11/19 Florian Forster <[email protected]>: >>>>> >>>>> Hello everybody, >>>>> >>>>> I've packaged a new feature release for collectd, version 5.2.0. >>>>> >>>>> Starting with this release, it is possible to set a separate collection >>>>> interval for each and every read plugin. For example, you might want to >>>>> query >>>>> the CPU plugin every 10 seconds, the Load plugin every minute and the DF >>>>> plugin >>>>> every hour. Huge thanks to Sebastian Harl who put a lot of effort into >>>>> this! >>>>> >>>>> Also new in this release are the aggregation plugin, a plugin for >>>>> calculating >>>>> averages, sums, … over sets of values, the PF plugin which collects >>>>> statistics >>>>> from BSD's packet filter and collectd-tg, a network traffic generator >>>>> that can >>>>> be used for load testing. >>>>> >>>>> >>>>> Download >>>>> -------- >>>>> >>>>> The new version is available in source-code form from collectd's >>>>> download page. The direct download links are: >>>>> >>>>> * http://collectd.org/files/collectd-5.2.0.tar.bz2 >>>>> SHA-256: >>>>> 3f8dd235b8e2493a4ad558e3cd15b89007a0deaaef5481782d1e8e048dd43e4f >>>>> >>>>> * http://collectd.org/files/collectd-5.2.0.tar.gz >>>>> SHA-256: >>>>> 47738dc3c58513bc2c941bf16f56c391570f942841f6cb7856197aa6975441f7 >>>>> >>>>> >>>>> Thanks >>>>> ------ >>>>> >>>>> Thanks to everybody who helped with these new versions. In particular: >>>>> >>>>> * biancalana >>>>> * Cosmin Ioiart >>>>> * Daniel Sutto >>>>> * Davide Guerri >>>>> * Ed Schouten >>>>> * hume-github >>>>> * Johan Kiviniemi >>>>> * Manuel Luis Sanmartín Rozada >>>>> * Marc Fournier >>>>> * Mark Wong >>>>> * Michael Stapelberg >>>>> * Nicolas Szalay >>>>> * Ruben Kerkhof >>>>> * Sebastian Harl >>>>> * Stefan Rinkes >>>>> * Thomas Meson >>>>> * Yves Mettier >>>>> >>>>> >>>>> ChangeLog >>>>> --------- >>>>> 2012-11-17, Version 5.2.0 >>>>> * collectd: The performance of the LISTVAL command has been improved. >>>>> Thanks to Yves Mettier for the patch. >>>>> * collectd: The possibility to configure the collection interval on a >>>>> per-plugin basis has been added. Huge thanks to Sebastian Harl for >>>>> his work. >>>>> * collectd-tg: This new binary allows to generate random but real >>>>> looking collectd network traffic. This can be used to load-test new >>>>> plugin, for example. >>>>> * libcollectdclient: Code for constructing and sending network packets >>>>> in the binary format has been added. >>>>> * aggregation plugin: This new plugin allows to aggregate multiple >>>>> value lists into one. >>>>> * amqp and write_http plugins: Meta data is now included in the JSON >>>>> output format. Thanks to Mark Wong for the patch. >>>>> * amqp plugin: Support for "Graphite" output has been added. Thanks to >>>>> Thomas Meson for the patch. >>>>> * contextswitch plugin: Support for AIX has been added. Thanks to >>>>> Manuel Rozada for his patch. >>>>> * disk plugin: The "UseBSDName" config option has been added to the >>>>> Mac OS X version. >>>>> * GenericJMX plugin: Automatically determine the host name if it isn't >>>>> configured. >>>>> * libvirt plugin: The "number" interface format has been added. Thanks >>>>> to Davide Guerri for the patch. >>>>> * memcached plugin: Support for multiple connections has been added. >>>>> Thanks to Nicolas Szalay for the patch. >>>>> * ntpd plugin: The "IncludeUnitID" config option has been added. The >>>>> behavior when a peer is unreachable has been improved. Thanks to >>>>> Johan Kiviniemi for the patches. >>>>> * oracle plugin: The "Host" config option has been added. >>>>> * pf plugin: This new plugin allows to collect statistics from BSD's >>>>> packet filter "pf". Thanks to Pierre-Yves Ritschard and Stefan Rinkes >>>>> for their work. >>>>> * postgresql plugin: The "Instance" config option has been added. >>>>> Support for writing values to a PostgreSQL database has been added. >>>>> Thanks to Sebastian Harl for the patches. >>>>> * processes plugin: Support for Solaris has been added. Thanks to >>>>> Cosmin Ioiart for the patch. >>>>> * redis plugin: Support for authenticating via password has been added. >>>>> Thanks to biancalana for the patch. >>>>> * rrdcached plugin: The "HeartBeat", "RRARows", "RRATimespan", >>>>> "StepSize" and "XFF" config options have been added. >>>>> * swap plugin: The "ReportBytes" config option has been added. The AIX >>>>> version now also exports "reserved" pages and swap-in / swap-out >>>>> "traffic". Thanks to Manuel Rozada for the patch. >>>>> * tcpconns plugin: Use a netlink socket rather than reading from /proc >>>>> for improved performance. Thanks to Michael Stapelberg for the patch. >>>>> >>>>> >>>>> Best regards, >>>>> —octo >>>>> -- >>>>> collectd – The system statistics collection daemon >>>>> Website: http://collectd.org >>>>> Google+: http://collectd.org/+ >>>>> GitHub: https://github.com/collectd >>>>> Twitter: http://twitter.com/collectd >>>>> >>>>> -----BEGIN PGP SIGNATURE----- >>>>> Version: GnuPG v1.4.10 (GNU/Linux) >>>>> >>>>> iQIcBAEBAgAGBQJQqiTrAAoJEFCaZHVExRxonUUQALO5VnNvVFcpK9EbFJrGbTNR >>>>> 6J0KvDXtvT2cHNgXRGDHZ69Ufy/wv0ycK+NXv0HoKmOnxJ3f19yZpEgmuyqJHdfW >>>>> EVoqHQ8DqityUzQ5afQzx8EOv8ts6ACxKGxfDVI5cdjWVByR8Kv/YjND9WEyu31C >>>>> pX1GEpUJngSKgkJwoTz81Vu7FTjJp4l/wEUkozygbbZa8caXxBi3nKZnhfzekRDG >>>>> 9TUSK45pf2sJMEZxPCBvzmq33btN8AljsAALDkP7qpYBa4ny/juPhC8iFNI3raR1 >>>>> oCwovFYIPTIETKw6og4IBWyy0Xf323D80s2lc7F5MIzLO2beo6EcfwUAh/p/5M95 >>>>> YJ2njeF/6aIRl3CH3vmYXHkhZ8ebRZm9sAkcxDhIVfe5xOOX2iE/wMErLFPvig/t >>>>> deebXbeTRodzowTTcQu+saWw+bgjQsa6IrOXpXpyZR3Y0Nt+vC3Hx+RFe3YvygcR >>>>> mQ9yTWhliIPdt4ITZi3n9upFfkyxMmjDQacgXn5CKRgWlUl/yKlUYsExAAlKQTOz >>>>> fpyBMuqKC2L6bMnQM+eLhuhqkeazG2MW04QaWPjaX6JF/0Mp6Q2+rgim/2midU6C >>>>> hGVXKR9KjBV2dWLVokj7gF3GMk/cReFniBoVleGWthyA1jvpBd4CZu6QjkHDcIV5 >>>>> UzkpH04zLhxJbaJWN1mP >>>>> =aR6Q >>>>> -----END PGP SIGNATURE----- >>>>> >>>>> _______________________________________________ >>>>> collectd mailing list >>>>> [email protected] >>>>> http://mailman.verplant.org/listinfo/collectd >>>>> >>>> >>>> I try to compile 5.2.0 at AIX 6 and got this error: >>>> >>>> configure output: http://pastebin.com/PnBSGEaj >>>> configure log: http://sprunge.us/jJiG >>>> make output: http://sprunge.us/Mbdf >>>> >>>> Some information about the system. >>>> >>>> uname -a >>>> AIX MYHOSTNAME 1 6 0006CC45D600 >>>> >>>> oslevel >>>> 6.1.0.0 >>>> >>>> gcc --version >>>> gcc (GCC) 4.2.0 >>>> Copyright (C) 2007 Free Software Foundation, Inc. >>>> This is free software; see the source for copying conditions. There is NO >>>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR >>>> PURPOSE. >>>> >>>> >>>> >>>> Best regards >>> >>> >>> -- >>> - Homepage - http://ymettier.free.fr - >>> - GPG key - http://ymettier.free.fr/gpg.txt - >>> - C en action - http://ymettier.free.fr/livres/C_en_action_ed2.html - >>> - Guide Survie C - http://www.pearson.fr/livre/?GCOI=27440100673730 - >>> >>> >>> _______________________________________________ >>> collectd mailing list >>> [email protected] >>> http://mailman.verplant.org/listinfo/collectd >> >> >> >> -- >> "Do or do not. There is no try" >> Yoda Master > > > > -- > "Do or do not. There is no try" > Yoda Master -- "Do or do not. There is no try" Yoda Master _______________________________________________ collectd mailing list [email protected] http://mailman.verplant.org/listinfo/collectd
