RPC on linux

Andrey R. Urazov coola@ngs.ru
Fri Feb 1 05:08:00 GMT 2002


On Fri, Feb 01, 2002 at 01:14:54PM +0100, Johan Ekberg wrote:
> I'm trying to build a small RPC example on Linux Mandrake, I use the
> rpcgen, which (without any problem) generates my .h-file. But when I
> compile my server-function along with the rpcgen generated files I get
> the error "conflicting types" on the function name (my server function)
> followed by "previous defined" in the rpcgen generated .h-file.
The error you're talking about could have occurred because of the fact
the function you've defined and the one declared in the header file
generated by `rpcgen' have different signatures.
If this is the case, just fix your function definition.


                        Yours sincerely, Andrey Urazov
-- 
One Page Principle:
	A specification that will not fit on one page of 8.5x11 inch
	paper cannot be understood.
		-- Mark Ardis
--
Friday, February 01, 2002, 19:05:45 +0600 - Andrey R. Urazov (mailto:coola@ngs.ru)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20020201/40c6915f/attachment-0001.sig>


More information about the Gcc-help mailing list