Hi,
this has been fixed in the cvs version a while ago. The coming release
will compile out of the box on RH8.
-- Fons
On Thu, 2003-02-13 at 07:42, Shitov Yuriy wrote:
> Hi, rooters,
>
> Compilation of root under original RedHat-8.0 was failed for files:
> ./proofd/src/proofd.cxx
> ./rootd/src/rootd.cxx
>
> due to unknown functions setresuid/setresgid
>
> Problem was solved removing the following conditional compilation tag:
>
> /* #if defined(linux) && (__GLIBC__ <= 2 && __GLIBC_MINOR__ <= 2) */
> ~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~ removed
> #if defined(linux)
> extern "C" {
> int setresgid(gid_t r, gid_t e, gid_t s);
> int setresuid(uid_t r, uid_t e, uid_t s);
> }
> #endif
>
> I found that for my glibc-2.2.93 library setresgid/setresuid prototypes
> are still not defined in the unistd.h (this is known glibc bug), so tag
> pointed is obsolete now.
>
> Best wishes,
> Yuriy.
--
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:09 MET