[ROOT] setresgid undeclared compilation error for RootdLogin()

From: Tony Colley (tony.colley@itt.com)
Date: Thu Jan 23 2003 - 14:58:31 MET


Fellow ROOTers:

I searched on the ROOT website for a reference to "setresgid" or even
"RootDLogin", but it returned no hits.

I am trying to compile the latest from CVS on a RedHat 8 Linux box with
gcc 3.2. My configure command was:

./configure linux --prefix=/usr/local --etcdir=/usr/local/etc/root
 --enable-thread --enable-shared --enable-soversion --enable-ttf
 --enable-opengl --disable-table --disable-cern --disable-mysql
 --disable-pgsql --disable-sapdb --disable-rfio --disable-dcache
 --disable-alien --disable-srp --disable-afs --disable-pythia
 --disable-pythia6 --disable-venus
 --with-ttf-fontdir=/usr/share/fonts/default/TrueType

The make continues for quite a while until it halts at the following
compilation:

g++ -O -pipe -Wall -Woverloaded-virtual -fPIC -Iinclude -DHAVE_CONFIG
  -D_REENTRANT -DR__SHADOWPW -DR__KRB5 -I/usr/kerberos/include
  -o rootd/src/rootd.o -c rootd/src/rootd.cxx
rootd/src/rootd.cxx: In function `void RootdLogin()':
rootd/src/rootd.cxx:897: `setresgid' undeclared (first use this
function)
rootd/src/rootd.cxx:897: (Each undeclared identifier is reported only
once for
   each function it appears in.)
rootd/src/rootd.cxx:900: `setresuid' undeclared (first use this
function)
make: *** [rootd/src/rootd.o] Error 1

Anyone have an idea what the problem is?  "setresgid" *is* defined in my
/usr/include/unistd.h.

Thanks,
Tony Colley



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