public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Timothy Flechtner <Timothy.Flechtner@tellabs.com>
To: cygwin@cygwin.com
Subject: oncrpc and cygwin
Date: Mon, 17 Dec 2001 08:59:00 -0000	[thread overview]
Message-ID: <20011217104845.M13644@sunbc558> (raw)

hi!
    i'm trying to use oncrpc  version 1.14 with cygwin, but i'm getting 
conflicts between winsock.h and in.h, both included from oncrpc's rpc.h.  
i'm using w32api-1.2-1, and cygwin version 1.3.6-6, both of which are the 
latest i could find.  when i try to compile, i get:

g++ -I/opt/include -D__INSIDE_CYGWIN__ -DWIN32 -DUSE_SYS_TYPES_FD_SET 
-I/opt/include/glib-1.2 -I/opt/lib/glib/include -I/opt/include/gtk1.2 
-I/opt/lib/gtkmm/include -I/opt/lib/sigc++/include -I/opt/include/libxml2 
-I/lib/oncrpc -D_REENTRANT -ggdb -Ist -Iinternals -Iexhand 
-Isaxconstructor -Iffdb -Ibabble -IgooE -Ist -Iinternals -Iexhand 
-Isaxconstructor -Iffdb -Ibabble -IgooE   -c -o babble/connection.o 
babble/connection.cc
In file included from /lib/oncrpc/rpc/rpc.h:57,
                  from ffdb/ffdb_PhysicalStore_Data_Interface_s.hh:31,
                  from babble/mapping.hh:6,
                  from babble/connection.hh:6,
                  from babble/connection.cc:1:
/usr/include/w32api/winsock.h:198: warning: `IN_CLASSA' redefined
/usr/include/cygwin/in.h:113: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:201: warning: `IN_CLASSA_
/usr/include/cygwin/in.h:116: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:203: warning: `IN_CLASSB' redefined
/usr/include/cygwin/in.h:119: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:206: warning: `IN_CLASSB_HOST' redefined
/usr/include/cygwin/in.h:122: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:208: warning: `IN_CLASSC' redefined
/usr/include/cygwin/in.h:125: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:211: warning: `IN_CLASSC_HOST' redefined
/usr/include/cygwin/in.h:128: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:212: warning: `INADDR_ANY' redefined
/usr/include/cygwin/in.h:138: warning: this is the location of the 
previous definition
/usr/include/w32api/winsock.h:214: warning: `INADDR_BROADCAST' redefined
/usr/include/cygwin/in.h:141: warning: this is the location of the 
previous definition
In file included from /lib/oncrpc/rpc/rpc.h:57,
                  from ffdb/ffdb_PhysicalStore_Data_Interface_s.hh:31,
                  from babble/mapping.hh:6,
                  from babble/connection.hh:6,
                  from babble/connection.cc:1:
/usr/include/w32api/winsock.h:185: redefinition of `struct in_addr'
/usr/include/cygwin/in.h:83: previous definition here
/usr/include/w32api/winsock.h:216: redefinition of `struct sockaddr_in'
/usr/include/cygwin/in.h:104: previous definition here
/usr/include/w32api/winsock.h:270: redefinition of `struct ip_mreq'
/usr/include/cygwin/in.h:91: previous definition here
In file included from /lib/oncrpc/rpc/rpc.h:119,
                  from ffdb/ffdb_PhysicalStore_Data_Interface_s.hh:31,
                  from babble/mapping.hh:6,
                  from babble/connection.hh:6,
                  from babble/connection.cc:1:
/lib/oncrpc/rpc/netdb.h:45: redefinition of `struct rpcent'
/usr/include/netdb.h:112: previous definition here

is there something else i need to define?

thanks for any help you can give.

-tim
  
************************************************************
The information contained in this message may be privileged 
and confidential and protected from disclosure.  If the 
reader of this message is not the intended recipient, or an 
employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any 
reproduction, dissemination or distribution of this 
communication is strictly prohibited. If you have received 
this communication in error, please notify us immediately by 
replying to the message and deleting it from your computer.

Thank you.
Tellabs
************************************************************

--
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/

                 reply	other threads:[~2001-12-17 16:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011217104845.M13644@sunbc558 \
    --to=timothy.flechtner@tellabs.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).