Re: undefined `crypt'

From: Mikhail Matsyuk (Mikhail.Matsyuk@lnf.infn.it)
Date: Tue Dec 07 1999 - 16:01:29 MET


Hi!
Is it right for  Debian 2.1 to use make linuqdeb2? I have used  Makefile.linuxdeb
from version 2.23-09. Now I have added CRYPTLIBS=-lcrypt, and compilation has
finished successfully.
Thanks for all!
Mikhail


Marc Hemberger wrote:

> Hi,
>
> what version of ROOT do you use? In the Makefile.linuxdeb2 (of version
> 2.23-09), the symbol CRYPTLIBS=-lcrypt is properly defined and compiling
> works correctly on our Debian 2 machines. In Release 2.23-06 it is
> missing. This problem is solved now. You should try the newest release.
>
> Greetings,
>
> Marc
>
> Dr. Marc Hemberger
>
>        |\      _,,,---,,         GSI, Abteilung DV&EE
> ZZZzz  /,`.-'`'    -.  ;-;;,_    Planckstr. 1
>       |,4-  ) )-,_. ,\ (  `'-'
>      '---''(_/--'  `-'\_)        64291 Darmstadt
>
> M.Hemberger@gsi.de
>
> ** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**
>
> On Tue, 7 Dec 1999, O'NEEL Bruce wrote:
>
> > Hi,
> >   Probably adding a -lcrypt to your link line.
> >
> > g++ -g -O2  -o ../bin/rootd ROOTD_daemon.o ROOTD_error.o ROOTD_net.o
> > ROOTD_rootd.o  -lm -ldl -rdynamic -lcrypt
> >
> > shoudl do it.
> >
> > cheers
> >
> > bruce
> >
> >
> >
> > M.Matsyuk writes:
> >  > Dear rooters,
> >  > I'm trying to make ROOT 2.23 from source for Debian 2.1r3.
> >  > I have got:
> >  >
> >  > g++ -g -O2  -o ../bin/rootd ROOTD_daemon.o ROOTD_error.o ROOTD_net.o
> >  > ROOTD_rootd.o  -lm -ldl -rdynamic
> >  > ROOTD_rootd.o: In function `RootdPass(char const *)':
> >  > /usr/cern/root/src/ROOTD_rootd.cxx:720: undefined reference to `crypt'
> >  > collect2: ld returned 1 exit status
> >  >
> >  > What to do?
> >  > Kernal version is 2.0.36. My g++ version is (g++ -v):
> >  >
> >  > Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/specs
> >  > gcc version egcs-2.91.60 Debian 2.1 (egcs-1.1.1 release)
> >  >
> >  > Mikhail
> >  >
> >
> > --
> > Reality is 80m polygons - Alvy Ray Smith
> > Bruce O'Neel                       phone:  +41 22 950 91 22 (direct)
> > INTEGRAL Science Data Centre               +41 22 950 91 00 (switchb.)
> > Chemin d'Ecogia 16                 fax:    +41 22 950 91 33
> > CH-1290 VERSOIX                    e-mail: Bruce.Oneel@obs.unige.ch
> > Switzerland                        WWW:    http://isdc.unige.ch/
> >
> >



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:44 MET