[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Any >undefined reference to 'crypt'< solution?



On Thu, 24 May 2001, IronHand wrote:

I> Hello!
I> 
I> Could anybody posibly tell me why some source codes using crypt() with
I> shadowed passwords crush linker?
I> I get an error:
I> --------------------------------------------------
I> xxx.o: In function 'yyy'
I> ccc.o(.text+0xMMM): undefined reference to 'crypt'
I> .
I> .
I> .
I> --------------------------------------------------
I> compiling Pine or Popa3d. Is there any solution?

edit the Makefile and add '-lcrypt' to the libs list

                                                Dingo.


                                      ).|.(
                                    '.`___'.`
                                   ' `(>~<)' `
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-ooO-=(_)=-Ooo-=-=-=-=-=-=-=-=-=-=-=-=-
      Petr [Dingo] Dvorak                             dingo@pdragon.org
      Coder - Purple Dragon MUD                   pdragon.org port 3333
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 369D93 ]=-
                         Oxymoron: Microsoft Works
     -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




Reply to: