Hi Arek, To use the TMapFile class, you must run rootn.exe instead of root.exe. If you link your own application, you must specify libNew.so Rene Brun On Wed, 20 Jun 2001, a.bubak wrote: > Hi all, > > I'm trying to create a memory mapped file using a compiled program > (program is working and it create data.map), using > : > TMapFile::Create("data.map", "RECREATE", 100000, ""); > > and to connect to it in CINT > mfile = TMapFile::Create("data.map") > > but this command gives me the message break *** segmentation violation > (lots of times). > > If I use macro instead compiled program both macros will work correctly. > In the second case macro which read from data.map gives me message like > above. > > I'm using root 3.01/00 on a SuSe Linux 7.0 (g++ 2.95.2) > Did anybody experienced this problem ? > > Thanks ! > > Arek >
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:49 MET