On Wed, 29 Sep 1999, Wolfgang Korsch wrote: > Hi Rooters, > I would like to access a ".map" file when the map file was produced > by a compiled code. When I use hprod.C and hcons.C in interactive > mode it works fine. As soon as I generate a compiled version > of hprod.C I a get scrolling `seg violations' when I run hcons.C > (started within a ROOT session) on this map file. > As an example I tested the file from roottalk98/1244.html. > > I run 2.22/10 on LINUX RH 5.2 Hi Wolfgang, I guess you have the problem that your compiled program is smaller then the root exe hence your MapFile is allocated at too low address space for root. Please consult the following URL how to use SetMapAddress in your program: root.cern.ch/root/html/TMapFile.html#TMapFile:SetMapAddress Cheers, Otto ---------------------------------------------------------------------------- Otto Schaile Sektion Physik der LMU Muenchen Phone: (+49 89)289 14070 Am Coulombwall 1, D-85748 Garching, Germany FAX: (+49 89)289 14072 EMail: Otto.Schaile@Physik.Uni-Muenchen.DE
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:40 MET