[ROOT] no such file?

From: Olivier D'Arcy (darcy@ligo.mit.edu)
Date: Wed Jun 14 2000 - 00:17:47 MEST


I'm trying to create a shared library for my programm and it doesn't work.
There should'nt be any syntax errors since Fons has already corrected and
verified my code in a previous message. Is it a path problem, an
installation problem, why are those files not found ?

On my system,
$ROOTSYS = home/edaw/root/root.

I would like an advice on what is the
problem.

Thanks

My file is named mymain.C
and when I try to link with "++", here is what I receive from ROOT:

root [0] .L ~/tidgui/mymain.C++    
Creating shared library /home/darcy/tidgui/mymain.so
Note: operator new() masked 1c
Note: operator delete() masked 1c
Class MyMainFrame: Streamer() not declared
Class MyMainFrame: ShowMembers() not declared
In file included from baa22aWqm.C:5:
baa22aWqm.h:8: stdio.h: No such file or directory
baa22aWqm.h:9: stdlib.h: No such file or directory
In file included from baa22aWqm.h:10,
                 from baa22aWqm.C:5:
/home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/math.h:5:
math.h: No such file or directory
In file included from baa22aWqm.C:5:
baa22aWqm.h:11: string.h: No such file or directory
In file included from baa22aWqm.h:13,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/G__ci.h:202: stdio.h: No such file or
directory
/home/edaw/root/root/include/G__ci.h:203: string.h: No such file or
directory
In file included from baa22aWqm.h:13,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/G__ci.h:205: stdlib.h: No such file or
directory
/home/edaw/root/root/include/G__ci.h:206: signal.h: No such file or
directory
In file included from
/home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/syslimits.h:7,
                 from
/home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/limits.h:11,
                 from /home/edaw/root/root/include/G__ci.h:208,
                 from baa22aWqm.h:13,
                 from baa22aWqm.C:5:
/home/edaw/gnu/lib/gcc-lib/sparc-sun-solaris2.7/2.95.1/include/limits.h:117:
limits.h: No such file or directory
In file included from baa22aWqm.h:13,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/G__ci.h:209: setjmp.h: No such file or
directory
/home/edaw/root/root/include/G__ci.h:211: ctype.h: No such file or
directory
/home/edaw/root/root/include/G__ci.h:212: fcntl.h: No such file or
directory
/home/edaw/root/root/include/G__ci.h:221: unistd.h: No such file or
directory
In file included from /home/edaw/root/root/include/TObject.h:23,
                 from /home/edaw/root/root/include/TNamed.h:18,
                 from /home/edaw/root/root/include/TDirectory.h:17,
                 from /home/edaw/root/root/include/TROOT.h:21,
                 from baa22aWqm.h:26,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/Rtypes.h:22: stdio.h: No such file or
directory
In file included from /home/edaw/root/root/include/TObject.h:199,
                 from /home/edaw/root/root/include/TNamed.h:18,
                 from /home/edaw/root/root/include/TDirectory.h:17,
                 from /home/edaw/root/root/include/TROOT.h:21,
                 from baa22aWqm.h:26,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/TBuffer.h:15: string.h: No such file or
directory
In file included from /home/edaw/root/root/include/TBuffer.h:24,
                 from /home/edaw/root/root/include/TObject.h:199,
                 from /home/edaw/root/root/include/TNamed.h:18,
                 from /home/edaw/root/root/include/TDirectory.h:17,
                 from /home/edaw/root/root/include/TROOT.h:21,
                 from baa22aWqm.h:26,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/Bytes.h:30: string.h: No such file or
directory
In file included from /home/edaw/root/root/include/TCollection.h:30,
                 from /home/edaw/root/root/include/TSeqCollection.h:18,
                 from /home/edaw/root/root/include/TList.h:18,
                 from /home/edaw/root/root/include/TNamed.h:23,
                 from /home/edaw/root/root/include/TDirectory.h:17,
                 from /home/edaw/root/root/include/TROOT.h:21,
                 from baa22aWqm.h:26,
                 from baa22aWqm.C:5:
/home/edaw/root/root/include/TString.h:17: string.h: No such file or
directory
g++: baa22aWqm.o: No such file or directory
g++: No input files



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:27 MET