Skip to content

Reply To: Install issue olb-1.5r0

#6548
hungryfish
Participant

Thanks Adrian,

I repeated the same on an actual RedHat Linux, there are similar difficulties with ‘nullptr’

olb-1.5r0]$ make
make -C external
make[1]: Entering directory `/home2/lindne03/olb-1.5r0/external’
make -C zlib
make[2]: Entering directory `/home2/lindne03/olb-1.5r0/external/zlib’
cc -c -o build/adler32.o ./adler32.c
cc -c -o build/crc32.o ./crc32.c
cc -c -o build/deflate.o ./deflate.c
cc -c -o build/infback.o ./infback.c
cc -c -o build/inffast.o ./inffast.c
cc -c -o build/inflate.o ./inflate.c
cc -c -o build/inftrees.o ./inftrees.c
cc -c -o build/trees.o ./trees.c
cc -c -o build/zutil.o ./zutil.c
cc -c -o build/compress.o ./compress.c
cc -c -o build/uncompr.o ./uncompr.c
cc -c -o build/gzclose.o ./gzclose.c
cc -c -o build/gzlib.o ./gzlib.c
cc -c -o build/gzread.o ./gzread.c
cc -c -o build/gzwrite.o ./gzwrite.c
ar rc build//libz.a ./build/adler32.o ./build/crc32.o ./build/deflate.o ./build/infback.o ./build/inffast.o ./build/inflate.o ./build/inftrees.o ./build/trees.o ./build/zutil.o ./build/compress.o ./build/uncompr.o ./build/gzclose.o ./build/gzlib.o ./build/gzread.o ./build/gzwrite.o
make[2]: Leaving directory `/home2/lindne03/olb-1.5r0/external/zlib’
cp zlib/build/libz.a lib/
make -C tinyxml
make[2]: Entering directory `/home2/lindne03/olb-1.5r0/external/tinyxml’
g++ -c tinystr.cpp -o build/tinystr.o
In file included from tinystr.cpp:32:0:
tinystr.h: In copy constructor ‘TiXmlString::TiXmlString(const TiXmlString&)’:
tinystr.h:82:50: error: ‘nullptr’ was not declared in this scope
TiXmlString ( const TiXmlString & copy) : rep_(nullptr)
^
tinystr.h: In constructor ‘TiXmlString::TiXmlString(const char*)’:
tinystr.h:89:58: error: ‘nullptr’ was not declared in this scope
TIXML_EXPLICIT TiXmlString ( const char * copy) : rep_(nullptr)
^
tinystr.h: In constructor ‘TiXmlString::TiXmlString(const char*, TiXmlString::size_type)’:
tinystr.h:96:72: error: ‘nullptr’ was not declared in this scope
TIXML_EXPLICIT TiXmlString ( const char * str, size_type len) : rep_(nullptr)
^
make[2]: *** [build/tinystr.o] Error 1
make[2]: Leaving directory `/home2/lindne03/olb-1.5r0/external/tinyxml’
make[1]: *** [tinyxml] Error 2
make[1]: Leaving directory `/home2/lindne03/olb-1.5r0/external’
make: *** [dependencies] Error 2
[lindne03@e84158 olb-1.5r0]$

olb-1.5r0]$ rpm -qa | grep tiny
tinyxml-2.6.2-3.el7.x86_64