Stuart Henderson <s...@spacehopper.org> wrote: > updated tgz attached. any OKs to import?
This doesn't build on sparc64. Also, this section in snappy-internal.h may need some review: // Potentially unaligned loads and stores. #if defined(__i386__) || defined(__x86_64__) || defined(__powerpc__) Miod tells me we don't do unaligned accesses on powerpc. ===> Building for snappy-1.0.3 make all-am /usr/ports/infrastructure/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -O2 -pipe -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c -o snappy.lo snappy.cc c++ -DHAVE_CONFIG_H -I. -O2 -pipe -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c snappy.cc -fPIC -DPIC -o .libs/snappy.o In file included from snappy-internal.h:34, from snappy.cc:30: snappy-stubs-internal.h:246:22: error: byteswap.h: No such file or directory In file included from snappy-internal.h:34, from snappy.cc:30: snappy-stubs-internal.h: In static member function 'static snappy::uint16 snappy::LittleEndian::FromHost16(snappy::uint16)': snappy-stubs-internal.h:265: error: 'bswap_16' was not declared in this scope snappy-stubs-internal.h: In static member function 'static snappy::uint16 snappy::LittleEndian::ToHost16(snappy::uint16)': snappy-stubs-internal.h:266: error: 'bswap_16' was not declared in this scope snappy-stubs-internal.h: In static member function 'static snappy::uint32 snappy::LittleEndian::FromHost32(snappy::uint32)': snappy-stubs-internal.h:268: error: 'bswap_32' was not declared in this scope snappy-stubs-internal.h: In static member function 'static snappy::uint32 snappy::LittleEndian::ToHost32(snappy::uint32)': snappy-stubs-internal.h:269: error: 'bswap_32' was not declared in this scope Error while executing c++ -DHAVE_CONFIG_H -I. -O2 -pipe -MT snappy.lo -MD -MP -MF .deps/snappy.Tpo -c snappy.cc -fPIC -DPIC -o .libs/snappy.o *** Error code 2 -- Christian "naddy" Weisgerber na...@mips.inka.de