[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]Estoy haciendo un programa que utiliza la función crypt
CRYPT(3) Library functions CRYPT(3)
NAME
crypt - password and data encryption
SYNOPSIS
#define _XOPEN_SOURCE
#include <unistd.h>
char *crypt(const char *key, const char *salt);
Sin embargo, cuando trato de compilar no encuentra la función. No sé si
me falte especificar alguna librería o qué. ¿Alguien sabe cómo corregir
esto?
/tmp/ccPMKXkZ.o: In function `main':
/tmp/ccPMKXkZ.o(.text+0x59): undefined reference to `crypt'
collect2: ld returned 1 exit status
--
A human being should be able to change a
nappy, plan an invasion, butcher a hog, conn a
ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the
dying, take orders, give orders, cooperate, act
alone, solve equations, analyse a new
problem, pitch manure, program a computer,
cook a tasty meal, fight efficiently, die
gallantly. Specialisation is for insects.
-- Robert Heinlein
Juan Pablo Zaldívar Carrillo
ITESM Campus Guadalajara
al665901 en academ01 gda itesm mx
--
Para desuscribirse, mande correo a: ayuda-unsubscribe en linux org mx
Para comandos adicionales, envíelo a: ayuda-help en linux org mx