Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
X-Sent: 6 Jul 2000 09:29:43 GMT
Message-ID: <002a01bfe735$20042a10$071ea8c0@kabul>
From: "BenHanokh Gabriel" <gabriel@SANgate.com>
To: "Tim Prince" <tprince@computer.org>, <cygwin@sourceware.cygnus.com>
References: <001f01bfe6a7$74147d50$071ea8c0@kabul> <004d01bfe6b2$e1745d10$0100000a@TIMYX18EWDT6RQ>
Subject: Re: rpcgen / XDR supprt
Date: Thu, 6 Jul 2000 12:29:49 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
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@4
_htonl@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@sourceware.cygnus.com

