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