[ROOT] Error in <TMapFile::TMapFile>

From: Jianglai Liu (jianglai@jlab.org)
Date: Tue Nov 18 2003 - 05:59:53 MET


Dear ROOTers,

I am having problems to run TMapfile produers. In the attachment you could
find an example producer code that I am struggling with.

I have a locally-compiled ROOT3.05-07 with gcc3.2.3, which I simple 
configured as "linux" during compilation. Everything went through and
looks like I've got all the libraries and bins. (Yes, libNew.so was
made.) Then I compiled the producer with the root libraries (see the
attached Makefile), with -lNew options. The executable was made OK. 

But when I tried to run the producer, I've got the error messages like:

Error in <TMapFile::TMapFile>: no memory mapped file capability available
Use rootn.exe or link application against "-lNew"

If I tried to run the code in rootn.exe CINT. It doesn't complain about
the TMapFile. But when if I try to break it with ctrl-c, it crashed
horribly with errors like:

 *** Break *** segmentation violation
 Generating stack trace...
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
BFD: Dwarf Error: Invalid or unhandled FORM value: 14.
...

On the other hand if I tried the same thing on my laptop (standard
RH9/gcc3.2.2/ROOT3.05-07), everything is fine. Could there be any
incompatibility between root and gcc3.2.3?

The gcc3.2.3 I used is from our computer center server, which is a RH7.3
with all kinds of patches. So it could be that some other libraries were
missing when ROOT got compiled. If you need more details about this
specific ROOT compilation I will pipe it.

Thanks very much!

Jianglai

 





This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:16 MET