Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AC4A7CA.FD08DA8A@salomon.at> Date: Fri, 30 Mar 2001 17:35:38 +0200 From: Michael Haubenwallner X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.18 i686) X-Accept-Language: de-AT, en MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: 1.1.x/sunrpc 4.0/rpcgen: cpp not found bugfix (for Suhaib ?) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! There is a bug in the rpcgen from sunrpc 4.0 for 1.1.x i downloaded from http://www.inspirepharm.com/whatif/sunrpc-4.0-cygwin.tar.bz2 got there through http://siddiqi.webjump.com/ The problem is that rpcgen does call the cpp using execl(). On emx/cygwin/mingw the macro CPP is "cpp", not "/usr/bin/cpp" and so execlp() is needed. Rpcdev/src/rpcgen/rpc_main.c 188c188 < execl(CPP, CPP, CPPFLAGS, define, infile, NULL); --- > execlp(CPP, CPP, CPPFLAGS, define, infile, NULL); Another bug is in the rpcgen/Makefile, there is just a space missing: (and, -r is not needed with rm here) Rpcdev/src/rpcgen/Makefile 17c17 < rm -rf*.o --- > rm -f *.o thanks, haubi -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple