471,071 Members | 1,328 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

no XDR file created using rpcgen in linux...

hi all..

I want to implement an rpc client ,whose server is already there.. i am porting the client code from SunOS to linux.. but when i compile the '.x' file using rpcgen the XDR files are not getting created.. only CLNT, SVC and header files are getting created .. is their any way to create the XDR file on linux platform.. i need it becoz the server will be expectin the request in XDR format...

plz help ...
Nov 3 '06 #1
2 3949
hi all..

I want to implement an rpc client ,whose server is already there.. i am porting the client code from SunOS to linux.. but when i compile the '.x' file using rpcgen the XDR files are not getting created.. only CLNT, SVC and header files are getting created .. is their any way to create the XDR file on linux platform.. i need it becoz the server will be expectin the request in XDR format...

plz help ...

hi all,

i created one RPC specification file ( .x) , compiled it using rpcgen protocol compiler. It created a .h file, client stub and server stub.. it DID'NT produce the XDR file.
$ rpcgen msg.x
$ ls

msg.x msg_svc.c msg.h msg_clnt.c


when i compile the same .x file on sunos it produces all the files.. I need this XDR file for the RPC client as the RPC server is using it..

Is their any way to produce the xdr files on linux platform..

urgent help needed...
Nov 5 '06 #2
hi all,

i created one RPC specification file ( .x) , compiled it using rpcgen protocol compiler. It created a .h file, client stub and server stub.. it DID'NT produce the XDR file.
$ rpcgen msg.x
$ ls

msg.x msg_svc.c msg.h msg_clnt.c


when i compile the same .x file on sunos it produces all the files.. I need this XDR file for the RPC client as the RPC server is using it..

Is their any way to produce the xdr files on linux platform..

urgent help needed...

okeysss.. i found out what my mistake was..
since i was trying out a dummy example i didnt define any data types( stuctures) for the rpc.. if no input or out put data satructures is defined then rpcgen will not produce XDR files....
Nov 5 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

8 posts views Thread by Brandon McCombs | last post: by
6 posts views Thread by KoRnDragon | last post: by
2 posts views Thread by ritesh | last post: by
2 posts views Thread by enquiring mind | last post: by
4 posts views Thread by Tony B | last post: by
9 posts views Thread by tdahsu | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.