Re: [ROOT] problem compiling with root

From: David Noyes (dnoyes@umdgrb.umd.edu)
Date: Wed Jan 15 2003 - 16:44:13 MET


Hi,

	I forgot to mention that I had tried that already. But I found 
something else. When I link to the root libraries in my makefile I set 
ROOTLIBS = $ROOTSYS/bin/root-config --libs, which for returns

-L/software/root/lib -lCore -lCint -lHist -lGraf -lGraf3d 
-lGpad -lTree -lRint -lPostscript -lMatrix -lPhysics -lpthread -lm -ldl 
-rdynamic

When I removed the -lpthread (a random guess) my code compiled and ran 
fine.


David
-- 


On 15 Jan 2003, Fons Rademakers wrote:

> Very strange. ROOT is build on a fully patched and updated RH7.3 machine
> (with gcc 2.96-113). Anyway, you can always try to build from source to
> see if this problem persists for you configuration.
> 
> -- Fons
> 
> 
> On Wed, 2003-01-15 at 02:43, David Noyes wrote:
> > Hi.
> > 
> > 	I am running redhat 7.3, and just applied the latest updates, 
> > which included updates to gcc and glibc. The upgrade was from gcc version 
> > 2.96-112 to 2.96-113. Now none of my code that links to root libraries 
> > runs. It compiles fine, but seg faults imediately. All my c or c++ code 
> > that does not use root still runs fine. Anyone have the same problem or 
> > ideas? If I revert to the old versions of gcc and glibc, etc everything 
> > works fine again.
> > 
> > 
> > David
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:08 MET