Hi,
DUFRENNE, Yves wrote:
> But I use MinGW32 (The Minimum GNU tools under Windows) as compiler,
and
> managed to use your package with it. But I had to make a little hack
in your
> code, that I give back you if you might want it :
Ahh, very welcome since at the moment we think about recommending MingW
to our partners from process industries. A former colleague once tested
MingW (quite some time ago), but at that time DLL creation was not
really satisfactory but a cumbersome process. Since MingW is now in its
2.0 incarnation we are thinking about supporting it now.
Do you create the oncrpc.dll with MingW?
Besides the changes in the source code you mentioned, what other changes
are necessary? For instance, do the makefiles need changes (I assume
so). I would be interested in adding the appropriate makefiles to the
package.
> In "svc_auth.h" Line 56, replace struct by enum, in compliance to
"auth.h"
> declaration.
Sad. What a long-standing bug...
> And I got a question about your roadmap. Do you plan to implement the
"-N"
> option, for new RPC style ?
> (It's support for multiple arguments in function calls) or how could I
do to
> pass several value in a single RPC call ?
Short answer: no. Background is that we lack the resources to really
maintain the ONC/RPC Win package and all we need is the oncrpc.dll.
Unfortunately (or fortunately, depending on one's view) we do not need
rpcgen and from my experience with maintaining the Java ONC/RPC package
RemoteTea I'm not that eager to spend my time on the C rpcgen. Bottom
line: you are very well welcome to add the missing functionality ;) (Now
that is once again one of those answers that satisfy the one answering
but not the one asking.)
>
> Last question : I may want to use your package in a L-GPL project
called
> "Transport Sample Protocol", dedicated to data distribution on
TCP/IP
> (see http://savannah.nongnu.org/projects/tsp
> <http://savannah.nongnu.org/projects/tsp> for more information).
What is
> your kind of licence / way of distribution ?
Well, it's not my license ... since the whole package was once ported by
Marting Gergeleit from the genuine Sun sources, Sun's BSD copyright does
apply. And this allows you to freely modify and redistribute the whole
stuff. Especially in mix with LGPL there is no problem. What we
typically do depends on the kind of distribution: source or binary. For
binary we usually only include oncrpc.dll on the client side and
oncrpc.dll and portmap.exe for the server side.
> Thanks in advance for your answers.
You are very welcome.
With best regards,
Harald Albrecht
--
Dr. Harald Albrecht
Chair of Process Control Engineering
RWTH Aachen University of Technology
Turmstrasse 46, D-52064 Aachen, Germany
Tel.: +49 241 80-97703, Fax: +49 241
80-92238