Hi Muhammad,
As Rene pointed out, you have to run it from $ROOTSYS/tutorials; staff.C needs the input file cernstaff.dat.
Cheers, Axel.
Muhammad Asghar wrote:
>
>
> The ROOT version is root_v5.08.00b
>
> OS is Scientific Linux CERN 3
>
> I did not modify the file staff.C
>
> cernstaff.C exists
>
>
>
> Irfan
>
>
>
> -----Original Message-----
> From: Rene Brun [mailto:Rene.Brun_at_cern.ch]
> Sent: Fri 3/3/2006 12:04 PM
> To: Muhammad Asghar
> Cc: roottalk_at_pcroot.cern.ch
> Subject: Re: [ROOT] problem with staff.C
>
> I cannot reproduce this problem.
> Which version of ROOT? which OS?
> Did you modify staff.C?
> Can you check that the file cernstaff.dat exist?
>
> Rene Brun
>
> On Fri, 3 Mar 2006,
> Muhammad Asghar wrote:
>
>> Dear Rooters >> >> I am using the example staff.C, but it gives the problem with the following message. >> >> >> >> root [3] .x $ROOTSYS/tutorials/staff.C >> Error: fgets param[2]=0 must not be 0 /scratch/root/tutorials/staff.C:35: >> *** Interpreter error recovered *** >> >> >> I am not able to understand this problem. Any soln please. >> >> >> irfan >> >>
This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:57 MET