[Box Backup-dev] Box on Solaris 10 x86

Martin Ebourne boxbackup-dev@fluffy.co.uk
Wed, 01 Feb 2006 23:53:24 +0000


On Thu, 2006-02-02 at 00:32 +0100, Stefan Norlin wrote:
> Well, it compiles with one additional change:
> 
> Include file asm/byteorder.h is present but the
> 
> #define box_hton64(x) __cpu_to_be64(x)
> #define box_ntoh64(x) __be64_to_cpu(x)
> 
> does not work.
> 
> __cpu_to_be64 and __be64_to_cpu cannot be found when linking.

That somewhat implies that the functions are there and are valid, but we
are missing a library or something. Any clues anywhere for a 64 bit byte
swapping function? Or what library these might be in?

Any sign of endian.h? hton64?

> FAILURE: Server didn't save PID file at ../../lib/common/Test.h(94)
> FAILURE: Condition [bbstored_pid != -1 && bbstored_pid != 0] failed at 

Stray bbstored process from a previous failed run most probably.

Cheers,

Martin.