468,512 Members | 1,338 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,512 developers. It's quick & easy.

rpcgen cannot find any C Preprocessor

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
Nov 30 '07 #1
2 4789
pavi wrote:
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
<news:comp.unix.programmer>. 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>

Nov 30 '07 #2
pavi <pr**************@gmail.comwrites:
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".

--
Keith Thompson (The_Other_Keith) <ks***@mib.org>
Looking for software development work in the San Diego area.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
Nov 30 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

205 posts views Thread by Jeremy Siek | last post: by
24 posts views Thread by Nudge | last post: by
16 posts views Thread by Trying_Harder | last post: by
13 posts views Thread by Chris Croughton | last post: by
2 posts views Thread by James Calivar | last post: by
31 posts views Thread by Sam of California | last post: by
14 posts views Thread by lagman | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by fmendoza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.