rpcgen cannot find any C Preprocessor

P

pavi

Hi,
I am writing a simple application using rpcgen. when I run
rpcgen with protocol specification file as an argument ex:rpcgen msg.x
it gives an error "rpcgen cannot find any C preprocessor"
I have my C preprocessor in /usr/bin/cpp-2.95. Kindly suggest the
solution.

Regards,
Praveen Kumar
 
S

santosh

pavi said:
Hi,
I am writing a simple application using rpcgen. when I run
rpcgen with protocol specification file as an argument ex:rpcgen msg.x
it gives an error "rpcgen cannot find any C preprocessor"
I have my C preprocessor in /usr/bin/cpp-2.95. Kindly suggest the
solution.

You should ask this question is platform specific group like
<The C Standard doesn't say anything about
the system level details of implementations, only that they should
follow a certain "as-if" scheme for translation.

<OT>
Try setting a symbolic link called 'cpp' pointing to your 'cpp-2.95'
executable.
</OT>
 
K

Keith Thompson

pavi said:
I am writing a simple application using rpcgen. when I run
rpcgen with protocol specification file as an argument ex:rpcgen msg.x
it gives an error "rpcgen cannot find any C preprocessor"
I have my C preprocessor in /usr/bin/cpp-2.95. Kindly suggest the
solution.

This is a question about rpcgen, not about C.

Hint: Read the rpcgen man page, and search for the word "preprocessor".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top