Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 17 Dec 2001 10:48:45 -0600 From: Timothy Flechtner To: cygwin AT cygwin DOT com Subject: oncrpc and cygwin Message-ID: <20011217104845.M13644@sunbc558> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.2.1 Lines: 67 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/