Re: [ROOT] TMapFile: no memory mapped file capability available

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Mon Jul 24 2000 - 18:49:27 MEST


Make sure your app is linked with ROOT's libNew.so. This lib is needed for
shared file capability.

Cheers, Fons.



Volker Hejny wrote:
> 
> Hallo,
> 
> I have a problem using TMapFile in my own program. When trying
> to create a new MapFile I got the following messages:
> 
> Error in <TMapFile::TMapFile>: no memory mapped file capability available
> Error in <TMapFile::TMapFile>: mapped file not in mmalloc format or
> already open in RW mode by another process
> 
> On the root command line everything works fine, i.e. I can use the
> producer and consumer examples given in the tutorials. Is there anything
> that has to be enables explicitly ?
> 
> Thanks in adcance,
> Volker Hejny
> 
> --
> Volker Hejny                    Tel: 02461/616853                      **
> Institut f. Kernphysik          Fax: 02461/613930                     **
> ---------------------------------------------------------------- **  ** ---
> Forschungszentrum Juelich GmbH, D-52425 Juelich                    **

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch              Phone: +41 22 7679248
WWW:    http://root.cern.ch/~rdm/            Fax:   +41 22 7677910



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:30 MET