delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/02/23/14:52:25

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew Schulman <schulman DOT andrew AT epa DOT gov>
Subject: bindresvport(): can it be exported from cygwin1.dll?
Date: Thu, 23 Feb 2006 14:29:29 -0500
Lines: 15
Message-ID: <h83sv1dhuj4c6n7po53eno8b6r19a1uj39@4ax.com>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I'm trying to build dante, a SOCKS client and server, for Cygwin.  Right now
build is failing with

.libs/Rbindresvport.o: In function `Rbindresvport':
/usr/local/src/dante-1.1.19/lib/Rbindresvport.c:68: undefined reference to
`_bindresvport'

based on a call to bindresvport().  bindresvport() is normally declared in
netinet/in.h, but in Cygwin it's missing.

I see that bindresvport.c is part of the cygwin source code.  Would it be
possible to have it exported from cygwin1.dll?

Thanks,
Andrew.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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