Hello, ROOTers. I'm a newbie using these libraries. I've downloaded the HP-UX 10.20 / CC version of root and try to compile the test programs using g++ (beacuse I don't have CC). To do that I got the file http://root.cern.ch/root/Makefile.html and copied this section: # HP-UX 10.x with g++ CXXFLAGS = -g -I$(ROOTSYS)/include CXX = g++ LD = g++ LDFLAGS = -g SOFLAGS = -b ROOTLIBS = -L$(ROOTSYS)/lib -lRoot LIBS = $(ROOTLIBS) -lg++ -lm GLIBS = $(ROOTLIBS) $(ROOTGLIBS) -L/usr/lib/X11R5 \ -L/usr/lib -lXpm -lX11 -lg++ -lm -ldld over the original section on the Makefile that comes with the original package. By doing this I can compile any .cxx file without problems, but I cannot link it after. For example I got this when I do a 'make Event' on root/test : g++ -g -I/diska/jpavlich/root/include -c Event.cxx Generating dictionary EventDict... Note: operator new() masked 1c Note: operator delete() masked 1c class EventHeader in Event.h line 23 original base of virtual func class HistogramManager in Event.h line 133 original base of virtual func g++ -g -I/diska/jpavlich/root/include -c EventDict.cxx g++ -g -I/diska/jpavlich/root/include -c MainEvent.cxx g++ -b -g -B/vlt/gnu/lib/gcc-lib/hppa1.1-hp-hpux10.20/2.7.2.2/ Event.o EventDict.o -o libEvent.so collect2: ld returned 1 exit status /usr/bin/ld: Unsatisfied symbols: TObject::Read(char const *)(code) G__tag_memfunc_setup (code) TObject::DrawClone(char const *)(code) TObject::InheritsFrom(TClass const *)(code) G__getsizep2memfunc (code) AddClass(char const *, short, void (*)(void))(code) TObject::Print(char const *)(code) TString::~TString(void)(code) G__letdouble (code) TBuffer::operator>>(unsigned int &)(code) G__int (code) TObject::Browse(TBrowser *)(code) G__tag_memfunc_reset (code) TBuffer::operator>>(int &)(code) TBuffer::operator>>(float &)(code) TObject::GetTitle(void) const(code) G__get_linked_tagnum (code) G__add_macro (code) TObject::SetDrawOption(char const *)(code) TObject::ClassName(void) const(code) TBuffer::operator<<(unsigned int)(code) G__add_setup_func (code) TH1F::TH1F(char const *, char const *, int, float, float)(code) TBuffer::operator>>(short &)(code) TObject::IsFolder(void)(code) G__inheritance_setup (code) TObject::Paint(char const *)(code) G__tag_memvar_setup (code) TObject::Execute(char *, char *)(code) TObject::GetDrawOption(void) const(code) G__tagtable_setup (code) TObject::Sizeof3D(void) const(code) TString::Length(void) const(code) G__double (code) G__getstructoffset (code) RemoveClass(char const *)(code) Error(char const *, char const *,...)(code) G__lastifuncposition (code) TObject::SavePrimitive(ofstream &, char const *)(code) CreateClass(char const *, short, char const *, char const *, int, int)(code) TObject::Pop(void)(code) TObject::GetOption(void) const(code) TObject::IsSortable(void) const(code) TObject::SetUniqueID(unsigned int)(code) G__add_compiledheader (code) TObject::Hash(void)(code) G__search_typename2 (code) TMath::Sqrt(double)(code) TObject::ExecuteEvent(int, int, int)(code) G__setsizep2memfunc (code) TObject::Execute(TMethod *, TObjArray *)(code) TObject::Write(char const *, int, int)(code) TClonesArray::TClonesArray(char *, int, unsigned char)(code) G__getnumbaseclass (code) G__resetplocal (code) G__letint (code) G__memvar_setup (code) TBuffer::ReadObject(TClass const *)(code) TBuffer::IsReading(void) const(code) G__getaryconstruct (code) TObject::GetName(void) const(code) TBuffer::WriteVersion(TClass const *)(code) TObject::Is3D(void)(code) TObject::Draw(char const *)(code) G__remove_setup_func (code) TObject::GetObjectInfo(int, int)(code) TObject::Streamer(TBuffer &)(code) TObject::ShowMembers(TMemberInspector &, char *)(code) TObject::HandleTimer(TTimer *)(code) gRandom (data) TObject::IsModified(void)(code) TBuffer::operator<<(int)(code) TBuffer::ReadVersion(void)(code) G__tag_memvar_reset (code) G__resetglobalenv (code) TObject::GetUniqueID(void) const(code) TObject::Modified(unsigned char)(code) TString::Data(void) const(code) TObject::RecursiveRemove(TObject *)(code) G__memfunc_setup (code) TBuffer::operator<<(float)(code) TObject::Delete(char const *)(code) TObject::Close(char const *)(code) TObject::Dump(void)(code) TObject::Copy(TObject &)(code) TObject::Clone(void)(code) TBuffer::WriteObject(TObject const *)(code) TObject::operator new(unsigned int, void *)(code) TObject::operator new(unsigned int)(code) TObject::~TObject(void)(code) gDirectory (data) TObject::DistancetoPrimitive(int, int)(code) TObject::operator delete(void *)(code) TBuffer::operator<<(short)(code) TObject::TObject(TObject const &)(code) G__setnewtype (code) G__setnull (code) TObject::IsEqual(TObject *)(code) TObject::TObject(void)(code) TObject::InheritsFrom(char const *)(code) G__resetifuncposition (code) G__defined_typename (code) TObject::Inspect(void)(code) TObjArray::UncheckedAt(int) const(code) main G__getgvp (code) TObject::ls(char const *)(code) G__check_setup_version (code) TObject::DrawClass(void)(code) TObject::Compare(TObject *)(code) TString::operator=(char const *)(code) operator>>(TBuffer &, TH1F *&)(code) TObject::UseCurrentStyle(void)(code) TObject::GetIconName(void) const(code) TObject::Clear(char const *)(code) make: *** [Event] Error 1 Can anybody help me?!. I want to know if it is possible to compile test programs under g++, beacuse is the only compiler I have (I don't have CC nor aCC, and I don't plan to buy them). Does exist a ROOT version for HPUX10.x / g++ ?. Thanks, Jaime Pavlich
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:27 MET