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

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Fri Jan 24 2003 - 12:10:14 MET


Do you have freetype/Module.mk, i.e. did you do an cvs update -dP ?

-- Fons


On Fri, 2003-01-24 at 09:26, Roberto Barbera wrote:
> Hi Fons,
> 
> I updated Root with the CVS HEAD of 5 mins ago on my RH 8.0 and, 
> following your suggestion, I commented out all the stuff concerning 
> freetype from my configuration file:
> 
> touch /cern/root/lib/libPythia.so /cern/root/lib/libPythia6.so 
> /cern/root/lib/libVenus.so
> chmod a+x /cern/root/lib/libPythia.so /cern/root/lib/libPythia6.so 
> /cern/root/lib/libVenus.so
> ./configure linuxegcs \
>                        --prefix=/cern/root \
>                        --datadir=/cern/root \
>                        --libdir=/cern/root/lib \
>                        --incdir=/cern/root/include \
>                        --etcdir=/cern/root/etc \
>                        --enable-rfio \
>                        --enable-thread \
>                        --enable-cern \
>                        --enable-pythia \
>                        --enable-pythia6 \
>                        --enable-venus \
>                        --with-shift-libdir=/cern/extralibs/ \
>                        --with-pythia6-libdir=/cern/extralibs/ \
>                        --with-pythia-libdir=/cern/extralibs/
> 
> 
> I made a "make distclean" but the make breaks:
> 
> ....
> ....
> ....
> -D_REENTRANT" cint/src/auxu.c > cint/src/auxu.d
> make: *** No rule to make target `freetype/Module.mk'.  Stop.
> 
> 
> Where am I wrong ?
> 
> Roberto
> 
> Fons Rademakers wrote:
> > 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