> Dear Masaharu, I got error due to ``Too many open files'' in =
>rootcint.
>Any idea ? We wonder we can not use one extra include file as follows:
I think you hit limitation of OS kernel configuration. In normal UNIX
configuration, one process can open only upto 50 or so files at a time.
rootcint allows a user to open upto 500 header files. In fact, it plays a tric
k
so that you can give more files than the kernel limitation. When making
dictionary, cint closes header files after reading if it does not have functio
n
macro or template. You hit the OS limitation because you have many files with
function macro or templates. From your message, you are off by 2 indeed.
St__TableCint.h and ST__TableCint.cxx which are dictionary outputs, are the
last 2. You reduce by 2 then it should work fine.
If my view is correct, solutions are,
1) Split library and headers in to smaller set so that you have less files at
a time.
2) Gather template and function macro into a few common files.
3) Change dfile and recompile UNIX OS.
I hope this helps.
Masaharu Goto