The Linux egcs binary tar file has been compiled with egcs version egcs-2.90.27 980315 (egcs-1.0.2 release) You cannot mix code compiled with egcs1.1 and egcs1.0. We will support soon Linux with egcs1.1. Root has already been compiled with egcs1.1 on alphas and sgi. I would suggest you install egcs-1.0.2 meanwhile. Rene Brun Ye Shuwei wrote: > > Hi, Rooters, > > I posted a message on the problem with linking test program at RedHat5.1. > Today I searched the web site, and still could not solve my problem. > > The system I am using is RedHat5.1, and compiler g++ is gcc version > egcs-2.91.57 19980901 (egcs-1.1 release). The root distribution I downloaded > is "root_v2.00.Linux.2.0.33.egcs.tar.gz". > > The error message I got during linking the test programs : > > g++ -shared -g Event.o EventDict.o -o libEvent.so > g++ -g MainEvent.o Event.o EventDict.o > -L/afs/cern.ch/exp/ams/offruns/yesw/root/ > root2.13-egcs/lib -lNew -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d > -lHis > t -lHtml -lMatrix -lMeta -lMinuit -lNet -lPostscript -lProof -lTree -lUnix > -lZip > -lm -ldl -rdynamic -o Event > MainEvent.o: In function `main': > MainEvent.o(.text+0x26b): undefined reference to `TFile::TFile(char const *, > cha > r const *, char const *, int)' > MainEvent.o(.text+0x48a): undefined reference to `TFile::TFile(char const *, > cha > r const *, char const *, int)' > MainEvent.o(.text+0x532): undefined reference to `TDirectory::TDirectory(char > co > nst *, char const *, char const *)' > collect2: ld returned 1 exit status > gmake: *** [Event] Error 1 > > Thanks for your attention > > --Shuwei
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:40 MET