Hello, I've just installed ROOT version 3.01/06 on my SPARC Solaris 5.8 system. I followed the instructions to update the PATH and LD_LIBRARY_PATH as indicated, and then decided to start compiling the examples. Unfortunately, I got the following error (cf end of the mail). Unfortunately, I didn't manage to find the problem using documentation/howto or mailing list archives. I must quote that I succeeded in compiling programs (by another programmer) using ROOT and CC, that gave similar errors when trying to switch to g++ (even after modifying my makefile). In advance, thank you for your help. /users/these/bailleul/bin/root/test>make g++ -O -fPIC -I/users/these/bailleul/bin/root/include -c Event.cxx g++ -O -fPIC -I/users/these/bailleul/bin/root/include -c EventDict.cxx g++ -shared -O Event.o EventDict.o -o libEvent.so libEvent.so done g++ -O -fPIC -I/users/these/bailleul/bin/root/include -c MainEvent.cxx g++ -O MainEvent.o libEvent.so -L/users/these/bailleul/bin/root/lib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lm -ldl -lnsl -lsocket \ -o Event Undefined first referenced symbol in file __1cDstdTbasic_ostringstream4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Dstr6kM_n0AMbasic_string4Ccn0B_n0C____ /users/these/bailleul/bin/root/lib/libCint.so __1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_ /users/these/bailleul/bin/root/lib/libCore.so __1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___2l6MpFr1_2_2_ /users/these/bailleul/bin/root/lib/libCore.so __1cDstdNbasic_istream4Ccn0ALchar_traits4Cc___Epeek6M_i_ /users/these/bailleul/bin/root/lib/libCore.so c::c(N6, (int0_t)) /users/these/bailleul/bin/root/lib/libCore.so __1cDstdCws4Ccn0ALchar_traits4Cc___6Frn0ANbasic_istream3CTACTB___4_ /users/these/bailleul/bin/root/lib/libCore.so __1cDstdObasic_ofstream4Ccn0ALchar_traits4Cc___His_open6M_b_ /users/these/bailleul/bin/root/lib/libCint.so __1cDstdPbasic_streambuf4Ccn0ALchar_traits4Cc___G__vtbl_ /users/these/bailleul/bin/root/lib/libCint.so TStopwatch::Continue(void) MainEvent.o TObject::Clone(char const *) const libEvent.so TStopwatch::CpuTime(void) MainEvent.o TObject::SavePrimitive(ofstream &, char const *)libEvent.so __1cDstdSbasic_stringstream4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Frdbuf6kM_pn0APbasic_stringbuf4Ccn0B_n0C____ /users/these/bailleul/bin/root/lib/libCint.so __1cDstdObasic_ifstream4Ccn0ALchar_traits4Cc___2t6Mpkcil_v_ /users/these/bailleul/bin/root/lib/libCore.so TTree::SetBranchStyle(int) MainEvent.o __1cDstdPbasic_stringbuf4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___Dstr6kM_n0AMbasic_string4Ccn0B_n0C____ /users/these/bailleul/bin/root/lib/libCint.so TObject::SetDrawOption(char const *)libEvent.so __1cDstdPbasic_stringbuf4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6Mrkn0AMbasic_string4Ccn0B_n0C___i_v_ /users/these/bailleul/bin/root/lib/libCint.so [...] __1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___Ftellp6M_n0AEfpos4nL__mbstate_t____ /users/these/bailleul/bin/root/lib/libCint.so TObject type_info function libEvent.so TObject::Browse(TBrowser *) libEvent.so TObject::ls(char const *) const libEvent.so __1cDstdNbasic_ostream4Ccn0ALchar_traits4Cc___2l6ML_r1_ /users/these/bailleul/bin/root/lib/libCint.so TFile::TFile(char const *, char const *, char const *, int)MainEvent.o ld: fatal: Symbol referencing errors. No output written to Event collect2: ld returned 1 exit status make: *** [Event] Error 1 /users/these/bailleul/bin/root/test> -- -------------------------- Jonathan BAILLEUL Doctorant au GREYC Image ISMRA, Université de Caen
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:43 MET