When I make the root src of root_v2.00.Linux.2.0.33.egcs using
Makefile.linuxegcc as Makefile at radhad5.2, all is O.K. when compile , but
when I link the lib I met the following problems,
g++ -g -o /usr/local/root/bin/cint MAIN_cppmain.o \
-L/usr/local/root/lib -lCint -lm -ltermcap -lbsd -ldl -rdynamic
/usr/local/root/lib/libCint.so: undefined reference to
`ostream::operator<<(void *)'
/usr/local/root/lib/libCint.so: undefined reference to
`iostream::iostream(int, streambuf *)'
/usr/local/root/lib/libCint.so: undefined reference to
`istrstream::istrstream(int, char *)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::fill(char)'
/usr/local/root/lib/libCint.so: undefined reference to
`ofstream::rdbuf(void)'
/usr/local/root/lib/libCint.so: undefined reference to
`ifstream::rdbuf(void)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::unsetf(long)'
/usr/local/root/lib/libCint.so: undefined reference to `filebuf::fd(void)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::setf(long)'
/usr/local/root/lib/libCint.so: undefined reference to
`istrstream::istrstream(int, char *, int)'
/usr/local/root/lib/libCint.so: undefined reference to
`ostream::ostream(int, streambuf *)'
/usr/local/root/lib/libCint.so: undefined reference to `fstream::rdbuf(void)'
/usr/local/root/lib/libCint.so: undefined reference to
`filebuf::is_open(void)'
/usr/local/root/lib/libCint.so: undefined reference to
`Iostream_init::~Iostream_init(void)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::setf(long,
long)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::operator
void *(void)'
/usr/local/root/lib/libCint.so: undefined reference to
`istream::istream(int, streambuf *)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::tie(void)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::rdbuf(void)'
/usr/local/root/lib/libCint.so: undefined reference to `ios::flags(long)'
/usr/local/root/lib/libCint.so: undefined reference to
`fstreambase::rdbuf(void)'
make: *** [/usr/local/root/bin/cint] Error 1
Before I make this, I had set the ROOTSYS and LD_LIBRARY_PATH
according the "Status & Availability" pages said.
By the my, the ROOTSYS in my system is /usr/local/root, I did this
as a superuser.
*****************************************************************************
*
* Name: Ai-Dong Chen
* Room: Room 410, The Youth Apartment (Tel: 68213344--2945) IHEP
* Office: Room 104,Three Hall(Tel: 68213344--2312)
* Room 210,Three Hall(Tel: 68213344--2184)
* Address: INST OF HIGH ENERGY PHYSICS
* PO BOX 918
* BEIJING 100039
* P R CHINA
* E_mail: chenad@hpws2.ihep.ac.cn
* HomePage: http://hptc3.ihep.ac.cn:6666/~chenad
*
****************************************************************************