473,326 Members | 2,173 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 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 4042
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

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

Similar topics

6
by: o'seally | last post by:
solaris/linux admins/rookie_developers that battle with this error are probably all frustrated when it happens. i bet you're also somehow frustrated by this seemingly unsolvable error :-) ...take...
8
by: Brandon McCombs | last post by:
This may be the wrong group but I didn't see anything for VC++ so I'm trying here. I have a C++ book by Deitel and Deitel that says I can use fstream File("data.dat", ios::in | ios::out |...
6
by: KoRnDragon | last post by:
I know about getlastmod() but is there one for created date? If not is there some other way of getting the created date of a file?
0
by: Rithish | last post by:
OS : RHEL3 PHP version : 5.0.2 JDK version : 1.5.0.06 I have been trying to compile PHP with JAVA support for the past week, and all I have left to do is take a noose and hang myself. Of all...
2
by: ritesh | last post by:
Hi, I'm facing a problem in which I need to edit an already created file, and the editing needs to be done at the start of the file rather then appending to the file. OS - Linux,Solaris ...
2
by: enquiring mind | last post by:
-learning python with limited knowledge of linux. -get error msg 21 "file or directory does not exist" -running Suse linux 10. -haven't had a problem before - rebooted several times. -python...
4
by: Tony B | last post by:
I've moved an existing site (which I didn't write) from a apache/php/mysql host under windows to a linux apache/php/mysql host. I've sorted out most problems except one. There is an upload...
1
by: RolfK | last post by:
Hello Experts, I have a small problem with copy of CDATA sections. (I'm using XSLT2.0 ) My output target is defined as txt. In my xml source is a CDATA section to be put as it is into the...
9
by: tdahsu | last post by:
All, I have the following code: for fileTarget in dircache.listdir("directory"): (dirName, fileName) = os.path.split(fileTarget) f = open(fileTarget).readlines() copying = False for i in...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.