From avatar@rift.ath.cx  Sat Dec 21 06:36:47 2002
Return-Path: <avatar@rift.ath.cx>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DACC837B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Dec 2002 06:36:47 -0800 (PST)
Received: from rift.ath.cx (h23n2fls32o836.telia.com [217.208.105.23])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E954243EDC
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Dec 2002 06:36:46 -0800 (PST)
	(envelope-from avatar@rift.ath.cx)
Received: from rift.ath.cx (localhost [127.0.0.1])
	by rift.ath.cx (8.12.6/8.12.6) with ESMTP id gBLEaYXA055136
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Dec 2002 15:36:35 +0100 (CET)
	(envelope-from avatar@rift.ath.cx)
Received: (from avatar@localhost)
	by rift.ath.cx (8.12.6/8.12.6/Submit) id gBLEaYfD055135;
	Sat, 21 Dec 2002 15:36:34 +0100 (CET)
Message-Id: <200212211436.gBLEaYfD055135@rift.ath.cx>
Date: Sat, 21 Dec 2002 15:36:34 +0100 (CET)
From: David Holm <david@realityrift.com>
Reply-To: David Holm <david@realityrift.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: adasockets 1.4.1 compilation fails on CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         46444
>Category:       ports
>Synopsis:       adasockets 1.4.1 compilation fails on CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 21 06:40:02 PST 2002
>Closed-Date:    Wed Jan 08 06:38:39 PST 2003
>Last-Modified:  Wed Jan 08 06:38:39 PST 2003
>Originator:     David Holm
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD rift.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Sun Dec 15 14:14:05 CET 2002 avatar@rift.ath.cx:/usr/src/sys/i386/compile/MYKERNEL i386

GNAT 3.15p  (20020523) Copyright 1996-2002 Free Software Foundation, Inc.

# gcc -v
Using built-in specs.
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 3.2.1 [FreeBSD] 20021119 (release)
>Description:
Compilation of adasockets 1.4.1 on CURRENT generates the following error:
/usr/include/netinet/tcp.h:44: syntax error before "tcp_seq"
 /usr/include/netinet/tcp.h:44: warning: data definition has no type or 
storage 
 class
 /usr/include/netinet/tcp.h:45: syntax error before "tcp_cc"
 /usr/include/netinet/tcp.h:45: warning: data definition has no type or 
storage 
 class
 /usr/include/netinet/tcp.h:55: syntax error before "u_short"

>How-To-Repeat:
	
>Fix:

I replaced #include <sys/cdefs.h> with #include <sys/types.h> in netinet/tcp.h
I mailed current@freebsd.org and they said it's a bug with the port and not in tcp.h



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Wed Jan 8 06:38:31 PST 2003 
State-Changed-Why:  
Committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=46444 
>Unformatted:
