From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75084 invoked by alias); 21 Nov 2017 12:35:56 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75071 invoked by uid 89); 21 Nov 2017 12:35:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.9 required=5.0 tests=AWL,BAYES_50,CYGWIN_OWNER_BODY,GIT_PATCH_2,KAM_INFOUSMEBIZ,KAM_LAZY_DOMAIN_SECURITY,KB_WAM_FROM_NAME_SINGLEWORD,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=rpc, Geisert, geisert, congrats X-HELO: mailrelay.dillinger.de Received: from mailrelayb.dillinger.de (HELO mailrelay.dillinger.de) (212.184.64.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 21 Nov 2017 12:35:53 +0000 Received: from mailrelaya2.dillinger.de (mailrelaya [192.168.175.11]) by lin254mailrelayb.dillinger.de (Postfix) with ESMTP id D7B38A38D for ; Tue, 21 Nov 2017 13:35:50 +0100 (CET) Received: from lin275.int.shsservices.de (lin275 [172.18.32.6]) by mailrelaya2.dillinger.de (Postfix) with ESMTP id EA61F242373 for ; Tue, 21 Nov 2017 13:43:45 +0100 (CET) Received: from RESW103.resdom01.local (resw103.dillinger.de [172.18.22.103]) by lin275.int.shsservices.de (Postfix) with ESMTP id BC612F3961 for ; Tue, 21 Nov 2017 13:35:50 +0100 (CET) Received: from RESW102.resdom01.local ([fe80::a883:3db9:4459:1159]) by RESW103.resdom01.local ([fe80::a480:c1ef:e5bb:a91b%15]) with mapi id 14.03.0279.002; Tue, 21 Nov 2017 13:35:50 +0100 From: "PAULUS, Raimund, TI-ABN" To: "cygwin@cygwin.com" Subject: WG: RPC clnt_create() adress already in use Date: Tue, 21 Nov 2017 12:35:00 -0000 Message-ID: <59D90AF8D70E9740907BACDE2BCB520836B79134@RESW102.resdom01.local> References: <59D90AF8D70E9740907BACDE2BCB52083663B2F2@RESW102.resdom01.local> <61904960-a940-b179-0462-3d8d3ac23d71@maxrnd.com> In-Reply-To: <61904960-a940-b179-0462-3d8d3ac23d71@maxrnd.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2017-11/txt/msg00240.txt.bz2 Hello Mark, is there any news with respect to libtirpc? Very important: I need it in Cy= gwin 2.5.1. Raimund Paulus -----Urspr=FCngliche Nachricht----- Von: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] Im Auftrag vo= n Mark Geisert Gesendet: Freitag, 29. September 2017 11:52 An: cygwin@cygwin.com Betreff: Re: RPC clnt_create() adress already in use PAULUS, Raimund, TI-ABN wrote: > Hello Mark, > > i downloaded the sources of libtirpc from this url: https://sourceforge.n= et/projects/libtirpc/files/libtirpc/1.0.1/ and unpacked it in the local sub= directory libtirpc-1.0.1. > I had to make the following changes: > > libtirpc-1.0.1/src/clnt_bcast.c (because POLLRDNORM, POLLRDBAND are alrea= dy defined in /usr/include/sys/poll.h) : > > --> #ifndef POLLRDNORM > --> # define POLLRDNORM 0x040 /* Normal data may be read. = */ > --> # define POLLRDBAND 0x080 /* Priority data may be read.= */ > --> #endif > > libtirpc-1.0.1/tirpc/rpc/xdr.h (typedefs where missed): > > --> #include > > --> typedef __uint64_t u_quad_t; > --> typedef __int64_t quad_t; > > > I linked the necessary source files with my testprogram: > > gcc -D__GLIBC__ -D__linux__ -I/c/dh-progs/tstdir/libtirpc-1.0.1/tirpc=20 > \ tst_rpc.c \ /c/dh-progs/tstdir/libtirpc-1.0.1/src/clnt_bcast.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/clnt_dg.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/clnt_generic.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/clnt_perror.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/clnt_vc.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/rpc_callmsg.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/rpc_commondata.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/rpc_generic.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/rpc_prot.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/rpcb_clnt.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/rpcb_prot.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/xdr.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/xdr_array.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/xdr_mem.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/xdr_rec.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/xdr_reference.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/getnetconfig.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/getnetpath.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/auth_none.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/auth_unix.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/authunix_prot.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/mt_misc.c \=20 > /c/dh-progs/tstdir/libtirpc-1.0.1/src/debug.c \ -o=20 > tst_rpc-libtirpc-1-0-1 > > The program works perfectly (no errors is test cases 1 and 2). > > I assume, there must be a difference between the downloaded lib-files and= the Cygwin-libtirpc. Thank you Raimund for debugging this to the root cause. Cygwin claims to b= e providing libtirpc 1.0.1 so I suspect you're correct about the cause. I = will figure out what the differences are and take the issue up with the Cyg= win libtirpc maintainer. Congrats on solving the problem yourself! Thanks again, ..mark -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple