Hi Florian,<br><br>Manuel Sanmartin 's patch is similar to mine and it will work for me too :). This patch is just checking for htonll function and assume the other function ntohll exists (which probably is true). I was checking for both htonll and ntohll and had two separate defines. <br>
<br>Regards<br>Amit<br><div class="gmail_quote">On Tue, Mar 9, 2010 at 10:14 PM, Florian Forster <span dir="ltr"><<a href="mailto:octo@verplant.org">octo@verplant.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Amit,<br>
<div class="im"><br>
On Wed, Feb 24, 2010 at 11:42:36AM +0530, Amit Gupta wrote:<br>
> On 2/18/10, Amit Gupta <<a href="mailto:amit.gupta221@gmail.com">amit.gupta221@gmail.com</a>> wrote:<br>
> ><br>
> > Hopefully this is the last patch for the collectd integration into<br>
> > OpenSolaris :). This patch is about avoiding the redeclaration of<br>
> > ntohll and htonll functions if the underlying platform provide these<br>
> > functions (OpenSolaris has ntohll and htonll macros/functions<br>
> > defined in the /usr/include/sys/byteorder.h).<br>
<br>
</div>unfortunately I can't find the email you're quoting here. I even did a<br>
full-text search for "Hopefully" with a capital "H" but nothing turned<br>
up. A Google search found [0] as the only result.<br>
<br>
I've just applied a patch by Manuel Sanmartin which solves the same<br>
issue under AIX. It'd be great if you could let me know if that works<br>
for Solaris as well or if modifications are needed.<br>
<br>
Regards,<br>
—octo<br>
<br>
[0] <<a href="http://www.mail-archive.com/collectd@verplant.org/msg00419.html" target="_blank">http://www.mail-archive.com/collectd@verplant.org/msg00419.html</a>><br>
<div><div></div><div class="h5">--<br>
Florian octo Forster<br>
Hacker in training<br>
GnuPG: 0x91523C3D<br>
<a href="http://verplant.org/" target="_blank">http://verplant.org/</a><br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFLlnrdHdggu3Q05IYRAi3IAJ90i8/qgJCmlXC+HVUhJ6uZSUMwrwCgkdiX<br>
AsQq6MuDosHsEicq3wcErFo=<br>
=8SLU<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br>