Date: Thu, 3 Sep 1998 23:49:21 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: current@FreeBSD.ORG Subject: Re: Problems with ELF and UMich LDAP Message-ID: <19980903234921.A12700@keltia.freenix.fr> In-Reply-To: <19980903154530.B1597@kublai.com>; from Brian Cully on Thu, Sep 03, 1998 at 03:45:30PM -0400 References: <19980903154530.B1597@kublai.com>
next in thread | previous in thread | raw e-mail | index | archive | help
According to Brian Cully:
> Which is totally bizarre to me, considering that the inet_* functions
> live in libc. When I use `gcc -aout' everything works fine.
Add "#include <arpa/inet.h>" in the file.
(and possibly <sys/types.h>, <sys/socket.h> and <netinet/in.h>"). cf
inet_addr(3):
INET(3) FreeBSD Library Functions Manual INET(3)
NAME
inet_aton, inet_addr, inet_network, inet_ntoa, inet_makeaddr, inet_lnaof,
inet_netof - Internet address manipulation routines
SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #62: Mon Jul 27 20:47:08 CEST 1998
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980903234921.A12700>
