This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 1.1.x/sunrpc 4.0/rpcgen: cpp not found bugfix (for Suhaib ?)


Would it not make sense to contact the author of this code rather than
sending email here?

cgf

On Fri, Mar 30, 2001 at 05:35:38PM +0200, Michael Haubenwallner wrote:
>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

-- 
cgf@cygnus.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]