Re: [ROOT] setresgid undeclared compilation error for RootdLogin()

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Thu Jan 23 2003 - 15:19:09 MET


Hi Tony,

 this problem should be fixed in the head of today. Also notice that
with the head of today you will get freetype 2 support built-in, no more
need for the --enable--ttf and --with-ttf-fontdir flags.

Cheers, Fons.



On Thu, 2003-01-23 at 14:58, Tony Colley wrote:
> 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
-- 
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