From owner-freebsd-bugs Tue Nov 30 19:30: 6 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E58B14E54 for ; Tue, 30 Nov 1999 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA74825; Tue, 30 Nov 1999 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from pal.svznov.kemerovo.su (pal.svznov.kemerovo.su [193.125.140.95]) by hub.freebsd.org (Postfix) with ESMTP id 7309914E06 for ; Tue, 30 Nov 1999 19:27:23 -0800 (PST) (envelope-from sa@pal.svznov.kemerovo.su) Received: (from root@localhost) by pal.svznov.kemerovo.su (8.9.3/8.9.3) id KAA06182; Wed, 1 Dec 1999 10:28:10 +0700 (KRAT) (envelope-from sa) Message-Id: <199912010328.KAA06182@pal.svznov.kemerovo.su> Date: Wed, 1 Dec 1999 10:28:10 +0700 (KRAT) From: root@pal.svznov.kemerovo.su Reply-To: eugen@svzserv.kemerovo.su To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: i386/15197: Bug in /usr/include/netinet/in.h with u_int32_t Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15197 >Category: i386 >Synopsis: Bug in /usr/include/netinet/in.h with u_int32_t >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 30 19:30:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 3.3-STABLE i386, cvsup'd at 1 Dec 1999 >Organization: SvzServ Co. >Environment: Fresh installation of FreeBSD 3.3-RELEASE, cvsup'd to -STABLE; gcc 2.7.2.3. >Description: There is a definition in /usr/include/netinet/in.h, $FreeBSD: src/sys/netinet/in.h,v 1.38.2.3 1999/08/29 16:29:34 peter Exp $, line 223: struct in_addr { u_int32_t s_addr; }; does not define u_int32_t. It does not include or something else that defines u_int32_t. Therefore, if a C-program includes and AFTER, it fails to compile. I discovered it compiling Perl module TacacsPlus-0.16 fetched from CPAN. >How-To-Repeat: Download http://www.perl.com/CPAN-local/authors/id/MSHOYHER/TacacsPlus-0.16.tar.gz tar xfvz TacacsPlus-0.16.tar.gz perl Makefile.PL make Here you will have parse error in /usr/include/netinet/in.h >Fix: Here is a patch: --- in.h.orig Wed Dec 1 10:25:23 1999 +++ in.h Wed Dec 1 10:25:47 1999 @@ -36,7 +36,7 @@ #ifndef _NETINET_IN_H_ #define _NETINET_IN_H_ - +#include /* * Constants and structures defined by the internet system, * Per RFC 790, September 1981, and numerous additions. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message