Re: [ROOT] setresgid and setresuid compile errors in ROOT 3.05 with linux

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sun Jan 19 2003 - 15:39:43 MET


Hi Jiri,

  I already checked on RH8.0. Although RH calls it glibc-2.2.93-5 it has
GLIBC_MINOR=3 (!). Since the glibc people don't provide a GLIBC_PATCH
symbol I cannot check using ifdefs for a version that has setresgid in
unistd.h (should be 2.3.1). I'll now provide a detection in ./configure.

Cheers, Fons.



On Sun, 2003-01-19 at 11:32, Jiri Masik wrote:
> "Glen R. Salo" <glenrsalo@earthlink.net> writes:
> 
> > I am running RedHat 8.0 with all the updates and had to remove "&&
> > !defined(linux)" from lines 345 and 245 in rootd.cxx and proofd.cxx
> > respectively to compile.  RedHat 8.0 comes standard with glibc 2.2.93-5
> > which does not include setresgid and setresuid prototypes.  
> >
> > Thanks,
> >
> > Glen
> 
> Hi Glen,
> 
> can you check /usr/include/features.h for the definition of
> __GLIBC_MINOR? rootd.cxx adds the prototypes for GLIBC_MINOR<3.
> 
> Jiri
-- 
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 7679480



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