Burin Asavapibhop wrote: > > Hello, > > I have difficult time trying to execute the macros in tutorials. I > downloaded the ROOT source tree and binany version of Linux 2.00/12 for > Redhat 5.0/5.1 and egcs. I could compile the source code and got the > root executable. However when I tried to run the macros in tutorials > directory, it crashed(no root prompt) and I got this > ******************************************* > * * > * W E L C O M E to R O O T * > * * > * Version 2.00/12 9 October 1998 * > * * > * You are welcome to visit our Web site * > * http://root.cern.ch * > * * > ******************************************* > > CINT/ROOT C/C++ Interpreter version 5.13.75, Sep 23 1998 > Type ? for help. Commands must be C++ statements. > Enclose multiple statements between { }. > > *** Break *** segmentation violation > > But if I started root from some other directory except tutorials, I > could get the root prompt(i.e. root [0]), still I couldn't run any macro > with .x command. It gave me *** Break *** segmentation violation every > time. Here is my test macro. > { > gROOT->Reset(); > int i; > > i=10; > printf("i = %d",i); > } > > Does anyone have any idea what's going on? Did I miss something? > > Thanks in advance, > Burin I suspect something wrong in your .rootrc file Did you modify this file provided in the tutorials directory? Rene Brun
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET