From owner-freebsd-questions Thu Apr 10 12:43:05 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA25853 for questions-outgoing; Thu, 10 Apr 1997 12:43:05 -0700 (PDT) Received: from evinrude.zdv.Uni-Mainz.DE (evinrude.zdv.Uni-Mainz.DE [134.93.8.167]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id MAA25848 for ; Thu, 10 Apr 1997 12:43:01 -0700 (PDT) Received: (from martin@localhost) by evinrude.zdv.Uni-Mainz.DE (8.8.4/8.8.4) id VAA11975; Thu, 10 Apr 1997 21:42:57 +0200 (MESZ) Date: Thu, 10 Apr 1997 21:42:57 +0200 (MESZ) Message-Id: <199704101942.VAA11975@evinrude.zdv.Uni-Mainz.DE> From: Christoph Martin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: wpub1@net-link.net Cc: tjh@mincom.oz.au, christoph.martin@uni-mainz.de, freebsd-questions@FreeBSD.ORG Subject: Re: SSL-MZ telnet question In-Reply-To: <334DE617.490D@net-link.net> References: <334DE617.490D@net-link.net> X-Mailer: VM 6.22 under Emacs 19.33.1 Organization: Johannes Gutenberg-Universitaet Mainz Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk We have this problem everytime we try it on another plattform. Look into lib/libbsd/inet_addr.c line 63. There is: #if defined(linux) || defined(sgi) || defined(__NetBSD__) || defined(hpux) int #else unsigned long #endif inet_aton(cp, addr) add a preprocessor definition for FreeBSD and recompile (and send the patch to me. It`ll be in the next version. Christoph Matthew Hagerty writes: > Greetings, > > I was wondering if you may be able to give some direction? I am > trying to compile SSL-MZ telnet(d) 0.9.1 on FreeBSD 2.2.1 with GCC > 2.7.2.1 and SSLeay 0.6.4. > > configure works fine, but during compilation I get the following > error: > > make > . > . standard telnet lib compiles and links fine. > . > gcc -c -g -O -I../../include -DHAVE_CONFIG_H -DLIBC_SCCS inet_addr.c > inet_addr.c:69 conflicting types for `inet_aton' > /usr/include/arpa/inet.h:50: previous declaration of `inet_aton' > *** Error code 1 > > Stop. > *** Error code 1 > > Stop. > > That's as far as she goes. Any insight on how I may fix this would > be greatly appreciated. Thank you. > > Matthew Hagerty > wpub1@net-link.net