delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/10/20:18:27

From: Christine DOT Pourcelot AT inria DOT fr (Chris)
Subject: Re: un.h
10 Dec 1998 20:18:27 -0800 :
Message-ID: <366FBEAB.B645FE98.cygnus.gnu-win32@inria.fr>
References: <3676bd14 DOT 14469816 AT smtp DOT saunalahti DOT fi>
Mime-Version: 1.0
To: "Mika Löf" <mlof AT kotilo DOT saunalahti DOT fi>,
"gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>

Hi,
I had that kind of problem while porting some code using Sockets...
In "un.h" you will find definitions for Unix ipc domain (sockaddr_un structure)
If your code is handling sockets, you'll have to add :
#define Win32_Winsock
#include <windows.h>
and put <include un.h> in comments
and add -lwsock32 to your gcc command line.
Hope this help ;-)
Christine

Mika Löf wrote:

>  I compiled the GNU inetutils-1.3a (with Sergey's diffs applied) package but
> syslogd didn't compile, error referring to missing un.h headers. What do these
> headers consist of? Why is un.h missing from cygwin32? Are they intentionally
> left out because of some missing feature (as I am guessing)
>  What should un.h look like on my machine?
> Running CygWin b20 (the full.exe package with updated 20.1 cygwin.dll)
>  I don't know much about C programming, however I've compiled a few of my own
> *simple* Linux programs on CygWin :-)
>
> "The only stupid question is the unasked one."
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".



--
Christine Pourcelot
stagiaire projet CODES (INRIA ROCQUENCOURT)
Christine DOT Pourcelot AT inria DOT fr
tel : 01 39 63 57 70



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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