Error when building Readout on Ubuntu

Hi All,

I’m having an issue while building ReadOut on Ubuntu 20:

– Build files have been written to: /alisw/alice/sw/BUILD/428fdbbe029d6c2337427af57e0c1cc5ab18f503/Readout
++ make -j 8 install
[ 3%] Built target ProcessorLZ4Compress
[ 6%] Built target ProcessorZlibCompress
[ 10%] Built target testMonitor.exe
[ 12%] Built target objReadoutAggregator
[ 17%] Built target readoutMonitor.exe
[ 18%] Building CXX object CMakeFiles/objReadoutUtils.dir/src/MemoryPagesPool.cxx.o
[ 27%] Built target objReadoutEquipment
[ 44%] Built target objReadoutConsumers
/alisw/alice/sw/SOURCES/Readout/master/0/src/MemoryPagesPool.cxx: In destructor ‘MemoryPagesPool::~MemoryPagesPool()’:
/alisw/alice/sw/SOURCES/Readout/master/0/src/MemoryPagesPool.cxx:82:5: error: ‘printf’ was not declared in this scope
82 | printf(“memory pool statistics: \n”);
| ^~~~~~
/alisw/alice/sw/SOURCES/Readout/master/0/src/MemoryPagesPool.cxx:14:1: note: ‘printf’ is defined in header ‘’; did you forget to '#include '?
13 | #include <assert.h>
+++ |+#include
14 |
make[2]: *** [CMakeFiles/objReadoutUtils.dir/build.make:173: CMakeFiles/objReadoutUtils.dir/src/MemoryPagesPool.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:448: CMakeFiles/objReadoutUtils.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Could someone help me?


Please create new topics for new questions or problems.

@hristov @sy-c

This looks like some trivial missing include file.
However, this does not happen on CC7 or osx with the standard compiler options.
I have no access to an unbuntu machine, so can unfortunately not fix this myself for the time being.