[ROOT] Trivial question about ACLiC

From: Gerco Onderwater (onderwat@nialas.npl.uiuc.edu)
Date: Thu Jun 21 2001 - 16:49:35 MEST


Hi All,

I have a question regarding ACLiC, which I just found out about and which
seems to be extremely handy. But I cannot get it to work. Here is the
script I'm trying to use:

hello()
{
  printf("Hello\n");
}

and this is the result:

root [0] .L hello.c+
Creating shared library /home/onderwat/g-2/G2Too/macro/./hello_c.so
rootcint: option -c must come directly after the output file

and then hello() of course doesn't exist. In the users_guide I read that
"ACLiC will (...) use the compiler and the compiler options that were used
to compile ROOT". So my guess is that these options don't work for me for
some reason. In any case, I don't have control over those options because
I don't compile ROOT myself. 

What should I do to make things work? Presumably the answer is trivial,
but I don't seem to be able to get it.

I tried ROOT 2.25/03 and 3.01/05 on Linux. Both have the same result.

Something else: the page numbering of the Users guide v3.1b is limited to
page numbers 150 for even pages and 99 for odd pages (at least even and
odd are correct :). That is rather unhandy when you try to use the index.

Thanks for helping me out!

-- Gerco

Dr. C.J.G. Onderwater
Nuclear Physics Laboratory
401B Loomis Laboratory of Physics
University of Illinois at Urbana-Champaign
1110 West Green Street
Urbana, IL 61801-3080     
Phone : (217) 244-7363
Fax   : (217) 333-1215  
E-mail: onderwat@uiuc.edu



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