delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/14/14:36:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 14 May 2002 14:35:45 -0400
From: Daniel Jacobowitz <drow AT mvista DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: [craig AT triscend DOT com: RE: gdb/546: GDB fails to build under Cygwin on Windows Hosts]
Message-ID: <20020514183545.GA22374@nevyn.them.org>
Mime-Version: 1.0
User-Agent: Mutt/1.5.1i

[Please CC me, I'm not on cygwin@]


I guess I'll have to autoconf around it for a few years, but should
Cygwin have a dummy <netinet/udp.h> to match <netinet/tcp.h>?


----- Forwarded message from Craig Hackney <craig AT triscend DOT com> -----

Date: Tue, 14 May 2002 11:31:20 -0700
From: Craig Hackney <craig AT triscend DOT com>
Subject: RE: gdb/546: GDB fails to build under Cygwin on Windows Hosts
To: "'Daniel Jacobowitz'" <drow AT mvista DOT com>,
   Craig Hackney
	 <craig AT triscend DOT com>
Cc: gdb-gnats AT sources DOT redhat DOT com
X-Mailer: Internet Mail Service (5.5.2653.19)


	I created a dummy udp.h file and it seems to build OK, maybe
	Cygwin should have this dummy file, like with tcp.h?

----------------------------------------------------------------------
             
       /\    Craig Hackney                     TEL: 650-968-8668 x171
    /\/  \   Triscend Corporation              FAX: 650-934-9393
 /\/ /    \  301 North Whisman Road         mailto:craig AT triscend DOT com
/ / /      \ Mountain View, CA 94043          http://www.triscend.com

----------------------------------------------------------------------


-----Original Message-----
From: Daniel Jacobowitz [mailto:drow AT mvista DOT com]
Sent: Tuesday, May 14, 2002 11:15 AM
To: craig AT triscend DOT com
Cc: gdb-gnats AT sources DOT redhat DOT com
Subject: Re: gdb/546: GDB fails to build under Cygwin on Windows Hosts


On Tue, May 14, 2002 at 05:22:08PM -0000, craig AT triscend DOT com wrote:
> 
> >Number:         546
> >Category:       gdb
> >Synopsis:       GDB fails to build under Cygwin on Windows Hosts
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    unassigned
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Tue May 14 10:27:59 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator:     craig AT triscend DOT com
> >Release:        unknown-1.0
> >Organization:
> >Environment:
> 
> >Description:
> The build error is due to a missing header file called udp.h in
/usr/include/netinet
> 
> The following change causes the problem.
> 
> 2002-05-14  Daniel Jacobowitz  <drow AT mvista DOT com>
> 
>         * ser-tcp.c: Include <netinet/udp.h>.  Rename tcp_open
>         and tcp_close to net_open and net_close.
>         (net_open): Accept "udp:" and "tcp:" specifications.  Connect
>         using UDP if requested.  Don't try to disable Nagle on UDP
>         sockets.
>         * remote.c (remote_serial_open): New function.  Warn about UDP.
>         (remote_open_1, remote_async_open_1, remote_cisco_open): Call it.

I didn't guard this include because <netinet/tcp.h> was changed to be
unconditionally included on Cygwin.  Is <netinet/tcp.h> really present
without <netinet/udp.h>?

I see that <netinet/tcp.h> is a dummy file... perhaps <netinet/udp.h>
should also be...

> >How-To-Repeat:
> Build GDB on a windows host using Cygwin.
> >Fix:
> 
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
> 

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


----- End forwarded message -----

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019