crypt problem...

Nikos Mavroyanopoulos nmav at i-net.paiko.gr
Sat Oct 3 12:06:01 EEST 1998


On Sat, Oct 03, 1998 at 11:38:13PM +0200, Plagianakos Vassilis wrote:
> Otan kanw compile ena programma (se Red Hat 5.1), poy exei thn
> synarthsh crypt lambanw to akoloy8o error message:
> 
> [root at hellhound /root]# g++ mypasswd.cpp
> /tmp/cca004081.o: In function `main':
> /tmp/cca004081.o(.text+0x241): undefined reference to `crypt'
> collect2: ld returned 1 exit status
g++ mypasswd.cpp -lcrypt
(Se libc5 den to xreiazetai,opote an thes na ftiaxeis makefile geniko dokimase
to autoconf)

> Kamia idea;;
> Vassilis.
> P.S.: Profanws exw kanei: #define _XOPEN_SOURCE
>                           #include <unistd.h>

-- 
         Nikos Mavroyanopoulos
          nmav at i-net.paiko.gr
finger/pgpkey: ma06205 at hermes.cc.uoi.gr
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at argos.hol.gr
Ta archives tis listas einai sto http://www.argos.hol.gr/lists :
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================



More information about the Linux-greek-users mailing list