Re: [ROOT] cannot create TMapFile objects

From: Rene Brun (Rene.Brun@cern.ch)
Date: Thu May 17 2001 - 18:35:53 MEST


Hi Jason,

Use the $ROOTSYS/bin/rootn.exe module instead of root.exe module.
rootn.exe is linked with libNew.so that is required for TMapFile.

Rene Brun

Jason Lenoble wrote:
> 
>         Hi Rooters,
> 
>         I run root 3.00/06 with Linux 2.2.17-14 (RedHat 6.1).
>         I have just installed version 3.01/02, just in case.
>         When I try to create a map file , I have got the following error
> message, in both cases :
> 
> root [0] m = TMapFile::Create("test.map","RECREATE",1000000,"Memory Mapped
> File")
> 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
> (class TMapFile*)0x871fc00
> root [1]
> 
>         Is there some environmental issues I overlooked when I installed
> root on my PC ?
> 
>                                        Jason Lenoble
>       VWV     WWWWW      ---------        RM 97 MS16B
>        V     <(o o)>    |   A+ !  |       Jefferson Laboratory
>        |     _ \u/ _  __/---------        12000 Jefferson Avenue
>       (_|\  /|  V  |\                     Newport News VA 23606
>        |\ \/ /\ | /\ \                 Tel: Bur: ++ 1 (757) 269 7604
>    ----------------oooo-----------          Fax: ++ 1 (757) 269 6273
>                                        email: lenoble@jlab.org



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:45 MET