rootana build fails with default branch of MIDAS

Issue #14 resolved
Joseph McKenna created an issue

libMidasInterface/TMidasOnline.cxx fails to build with MIDAS. It seems 'CH_IPC' is no longer defined in the master branch of MIDAS and causes rootana build to fail.

I am creating a pull request to update (fix) the rootana CI to correctly report this bug: https://bitbucket.org/tmidas/rootana/pull-requests/8 Note: My pull request does not fix the bug, I am not going to interfere with libMidasInterface/TMidasOnline.cxx unless I understand it

Steps taken:

git clone https://bitbucket.org/tmidas/midas

git clone https://bitbucket.org/tmidas/mxml

git clone https://bitbucket.org/tmidas/mscb

cd midas

make

export MIDASSYS=pwd

cd ../rootana

make

***build goes ok until:

g++ -g -O2 -Wall -Wuninitialized -I./include -DHAVE_LIBZ -DHAVE_ROOT -pthread -std=c++11 -m64 -I/usr/local/include/root -DHAVE_ROOT_XML -DHAVE_ROOT_HTTP -DHAVE_THTTP_SERVER -DHAVE_MIDAS -DOS_LINUX -Dextname -I/opt/atlassian/pipelines/agent/build/midas/include -DHAVE_LIBNETDIRECTORY -DHAVE_XMLSERVER -o obj/TMidasOnline.o -c libMidasInterface/TMidasOnline.cxx libMidasInterface/TMidasOnline.cxx: In member function ‘bool TMidasOnline::sleep(int)’: libMidasInterface/TMidasOnline.cxx:191:27: error: ‘CH_IPC’ was not declared in this scope ss_suspend_set_dispatch(CH_IPC, 0, NULL); ^ libMidasInterface/TMidasOnline.cxx:191:42: error: ‘ss_suspend_set_dispatch’ was not declared in this scope ss_suspend_set_dispatch(CH_IPC, 0, NULL); ^ make: *** [obj/TMidasOnline.o] Error 1

Comments (5)

  1. Log in to comment