MBPF:crafter-0.3 Freek$ ./configure && sudo make install
In file included from crafter/Utils/BitHandling.cpp:28:
crafter/Utils/BitHandling.h:69:11: error: expected ')'
uint64_t htonll(uint64_t value);
...
In file included from crafter/Utils/BitHandling.cpp:28:
crafter/Utils/BitHandling.h:71:11: error: expected ')'
uint64_t ntohll(uint64_t value);
crafter/Utils/BitHandling.cpp:101:19: error: unexpected parenthesis after '::'
uint64_t Crafter::htonll(uint64_t value) {
crafter/Utils/BitHandling.cpp:101:19: error: expected function body after
function declarator
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll(x) __DARWIN_OSSwapInt64(x)
crafter/Utils/BitHandling.cpp:101:19: error: expected unqualified-id
/usr/include/sys/_endian.h:141:25: note: expanded from macro 'htonll'
#define htonll(x) __DARWIN_OSSwapInt64(x)
crafter/Utils/BitHandling.cpp:112:19: error: unexpected parenthesis after '::'
uint64_t Crafter::ntohll(uint64_t value) {
crafter/Utils/BitHandling.cpp:112:19: error: expected function body after
function declarator
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll(x) __DARWIN_OSSwapInt64(x)
crafter/Utils/BitHandling.cpp:112:19: error: expected unqualified-id
/usr/include/sys/_endian.h:140:25: note: expanded from macro 'ntohll'
#define ntohll(x) __DARWIN_OSSwapInt64(x)
^
/usr/include/libkern/_OSByteOrder.h:78:78: note: expanded from macro
'__DARWIN_OSSwapInt64'
(__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt64(x) : _OSSwapInt64(x))
^
8 errors generated.
make: *** [crafter/Utils/BitHandling.lo] Error 1
MBPF:crafter-0.3 Freek$