delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/06/06:03:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
X-Sent: 6 Jul 2000 09:29:43 GMT
Message-ID: <002a01bfe735$20042a10$071ea8c0@kabul>
From: "BenHanokh Gabriel" <gabriel AT SANgate DOT com>
To: "Tim Prince" <tprince AT computer DOT org>, <cygwin AT sourceware DOT cygnus DOT com>
References: <001f01bfe6a7$74147d50$071ea8c0 AT kabul> <004d01bfe6b2$e1745d10$0100000a AT TIMYX18EWDT6RQ>
Subject: Re: rpcgen / XDR supprt
Date: Thu, 6 Jul 2000 12:29:49 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700

thanks for the link.

i had problems using the rpcgen, first the CPP defined in the rpcgen_main
was wrong? works fine after i change it to the right path.
it got also a minor problem of not adding #ifndef lines to the header files,
and puting #include <rpc/rpc.h> instead of <arpc/rpc.h>

i was linking with the static lib under
\cygwin\lib\cygwin-b20\static\libarpc.h

but the main problem for me was conecting to a VC project.
i'm a total newbie to M$ world so it might be my lake of experiance with VC,
but i had many conflicts with win types, which i resolve by removing the
arpc/rpc include from the generated header and adding a new definations
 bool_t int32_t ... ) after that i was left with 2 unresolve symbols
_ntohl AT 4
_htonl AT 4

can the arpc be complied into a fully self-sufficent lib containg all the
needed symbols so i can use it with VC

regards
/gabriel


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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