GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » CBM » CBM computing and communication infrastructure » CINT -> g++
CINT -> g++ [message #4519] Wed, 20 June 2007 13:56 Go to previous message
Konstantin Antipin is currently offline  Konstantin Antipin
Messages: 3
Registered: May 2007
Location: Frankfurt
occasional visitor

From: *ikf.physik.uni-frankfurt.de
Hi all,

I have a question concerning migration from CINT to g++.

Usually I am using root to load and execute macros with my tasks
for analysing data. So, I am using cint interpreter.

But currently I am interested to make a stand-alone program and thus use g++ for compiling.
So, I wrote a makefile (see attachment) and compiled my program. But when I am trying to execute it, it fails with segmentation error on loading libraries. I figured out, that the problem is in libParBase library in CbmRuntimeDb class. It fails when trying to access variable 'contFactories' (static TList) in function 'addContFactory'.

I can't find the reason why when I load this library under ROOT session all works perfectly.

So, if anybody has any suggestion how to make it work (if is it actually possible?), I would be very grateful.

Regards,
Konstantin
  • Attachment: Makefile
    (Size: 1.42KB, Downloaded 410 times)
  • Attachment: test.C
    (Size: 4.66KB, Downloaded 424 times)


Konstantin
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: files on /u/cbmgast1
Next Topic: Error on running much_sim.C
Goto Forum:
  


Current Time: Wed Mar 20 12:17:00 CET 2019

Total time taken to generate the page: 0.03535 seconds