Hi Damon, try moving in the makefile -lXpm just before -lX or copy the libXpm.so and libXpm.a from /usr/X11R6/lib to $ROOTSYS/lib. Cheers, Fons. Damon Spayde wrote: > > I am trying to compile the most recent version of ROOT on a Pentium > machine running RedHat 4.2. The compilation proceeds smoothly using > Makefile.linuxrh42 in the source distribution until it attempts to build > root.exe. The following error message results: > > g++ -O -o /home/bpc75/sample/cern/root/bin/root.exe MAIN_rmain.o \ > -L/home/bpc75/sample/cern/root/lib -lNew -lBase -lCint -lClib -lCont -lFunc -lGraf -lGraf3d -lHist -lHtml -lMatrix -lMeta -lMinuit -lNet -lPhysics -lPostscript -lProof -lTree -lUnix -lZip -lGpad -lGui -lGX11 -lX3d -lXpm -lRint -L/usr/X11R6/lib -lX > 11 -lg++ -lm -ldl -rdynamic > /home/bpc75/sample/cern/root/lib/libXpm.so: undefined reference to `__curbrk' > /home/bpc75/sample/cern/root/lib/libXpm.so: undefined reference to `__fxstat' > make: *** [/home/bpc75/sample/cern/root/bin/root.exe] Error 1 > > The first time I attempted to compile it there was a warning before the > undefined reference that said it could not find libc.so.6. As a kludge I > made a soft link to the libc.so that does exist on this machine, > libc.so.5.3.12. That cleared up the warning message, but I have no idea > if this mismatch is related to the undefined references above. > > Any help would be greatly appreciated. > > Thanks, > Damon > > -------------------------------- > Damon Spayde > Department of Physics > University of Maryland > PO Box 175 > College Park, MD 20742 > Phone: (301) 405-6113 > Fax: (301) 405-8558 > e-mail: dspayde@physics.umd.edu > -------------------------------- -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:33 MET