Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2002 15:36:34 +0100 (CET)
From:      David Holm <david@realityrift.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46444: adasockets 1.4.1 compilation fails on CURRENT
Message-ID:  <200212211436.gBLEaYfD055135@rift.ath.cx>

next in thread | raw e-mail | index | archive | help

>Number:         46444
>Category:       ports
>Synopsis:       adasockets 1.4.1 compilation fails on CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 21 06:40:02 PST 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212211436.gBLEaYfD055135>