Print

Print


Heh, we clearly need 'release candidate' tags :)

   Lukasz

2011/3/22 Wilko Kroeger <[log in to unmask]>:
>
> Hello Gerri
>
> I tried to build the latest commit on Solaris 5.10 on x86 at slac but it
> fails with:
>
> Compiling XrdOucPup.cc
> "XrdOucPup.cc", line 180: Error: The function "htonll" must have a
> prototype.
> "XrdOucPup.cc", line 310: Error: The function "ntohll" must have a
> prototype.
> 2 Error(s) detected.
> gmake[4]: *** [../../obj/sunx86_510_dbg/XrdOucPup.o] Error 2
>
>
> If I restore XrdSysPlatform.hh to v3.0.2 it compiles fine. The difference
> is:
>
> % git diff  v3.0.2  ./XrdSys/XrdSysPlatform.hh
> ...
> -#if !defined(__sun) || (defined(__sun) && (!defined(htonll) ||
> !defined(ntohll)))
> +#if !defined(__sun) || (defined(__sun) && (!defined(_LP64)))
> ...
>
> I think what is in version v3.0.2 was added because we had an issue with
> htonll/ntohll compiling on Solaris whereas it worked on OpenSolaris.
>
>
>  Cheers,
>    Wilko
>