Re: [ROOT] Version 3.00/05 now available.

From: Fons Rademakers (Fons.Rademakers@cern.ch)
Date: Sun Feb 18 2001 - 01:57:50 MET


Hi Severino,

   in config/Makefile.suse6 change the line:

F77LIBS       = -lg2c

to

F77LIBS       = -lg2c -lnsl

I don't think it is necessary to link anything else with -lnsl.


Cheers, Fons.



On Sat, Feb 17, 2001 at 07:03:39PM +0100, Jiri Masik wrote:
> Severino Tessarin <tessarin@bestia.desy.de> writes:
> 
> > Hi rooter ,
> > I compiled the new version on a linux suse 7.0 without any problems,
> > but the procedure was been interrupeted during the creation of  h2root
> > file (see below).
> > I also tried  to include mysql database with this configure flags:
> > 
> > ./configure  linuxsuse6 --with-ttf-fontdir=/usr/Root/ttf/fonts
> >  --with-cern-libdir=/cern/lib 
> > --with-mysql-incdir=~/mySQL/mysql-3.23.33-pc-linux-gnu-i686/include/
> > --with-mysql-libdir=~/mySQL/mysql-3.23.33-pc-linux-gnu-i686/lib 
> > but the answer was Checking for mysql.h ... no    
> > This maybe due to my system not properly configured,. I'm only a beginner with
> > the databases.
> >      
> > Anyone have an idea how to solve these problems,
> > Seve
> > ----------------------------------------------------
> > g++ -O2 
> > -o bin/h2root main/src/h2root.o main/src/hntvar2.o \            -Llib -lCore
> > -lCint -lHist -lGraf -lGraf3d -lTree -lMatrix \            -L/cern/lib
> > -lpacklib -lkernlib -lg2c -lm -ldl -rdynamic
> > /cern/lib/libpacklib.a(ypgetacctent.o): In function `ypgetacctent':
> > ypgetacctent.o(.text+0x20a): undefined reference to `yp_get_default_domain'
> > ypgetacctent.o(.text+0x267): undefined reference to `yp_match'
> > ypgetacctent.o(.text+0x2d0): undefined reference to `yp_match'
> > ypgetacctent.o(.text+0x366): undefined reference to `yp_all' collect2: ld
> > returned 1 exit status gmake: *** [bin/h2root] Error 1             
> > 
> 
> Hi Severino,
> 
> I guess you need to add -lnsl to the SYSLIBS variable in
> config/Makefile.linuxsuse6 as a quick hack. (see for example
> Makefile.linuxdeb2). Folks using SUSE 7 will tell you which arch to
> use.
> 
>         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 7677910



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:36 MET