Hi all,
Trying to compile bsontools on Ubuntu 16.04 using scons (I have as bson-cxx in a peer-level directory alongside bsontools). Several of the utilities compile without issue, but when it gets to compiling 'hex', the build fails with the following error:
g++ -o hex src/bsontools/hex.o
src/bsontools/hex.o: In function `_bson::Status _bson::parseNumberFromString<int>(_bson::StringData const&, int*)':
hex.cpp:(.text+0x55b): undefined reference to `_bson::Status _bson::parseNumberFromStringWithBase<int>(_bson::StringData const&, int, int*)'
collect2: error: ld returned 1 exit status
scons: *** [hex] Error 1
scons: building terminated because of errors.
Am I missing a something, or just hitting a bug?
Thanks,
Ryan