I recompile root on solaris machines using gcc quite often. I always remove the -lsunmath from the root-config script and have never had any problems. FWIW I must also remove "-I/usr/openwin/include" from the CXXFLAGS and CFLAGS in the makefile to compile with gcc 2.95.2. The X headers are also installed in my /usr/include where certain illegal constructs (function declarations without a return type) are tolerated by the compiler. Best regards, John On Tue, 11 Apr 2000, Maurizio Ungaro wrote: > Message Body: > > Hello, > when I tried to compile a program that uses ROOT libraries, > under SunOS I got: > > ld: fatal: library -lsunmath: not found > > and indeed sunmath is not present in /u/apps/root/2.23-12/root/lib > > > Under HP-UX I got: > > /usr/ccs/bin/ld: Unsatisfied symbols: > TStorage::ObjectAlloc(unsigned int)(code) > TROOT::TROOT(char const *, char const *, void (**)(void))(code) > TROOT::~TROOT(void)(code) > TTree::Branch(char const *, void *, char const *, int)(code) > TTree::TTree(char const *, char const *, int)(code) > TFile::TFile(char const *, char const *, char const *, int)(code) > TFile::Write(char const *, int, int)(code) > TObject::operator delete(void *)(code) > TFile::~TFile(void)(code) > collect2: ld returned 1 exit status > make: *** [mtree] Error 1 > > Do you have any idea? > > Mauri > > > > > >
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:23 MET