Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tirpc/rpc/rpc.h no such file ot directory #10

Open
megha-an opened this issue Nov 18, 2019 · 4 comments
Open

tirpc/rpc/rpc.h no such file ot directory #10

megha-an opened this issue Nov 18, 2019 · 4 comments

Comments

@megha-an
Copy link

Hi

I cloned the lmbench source to ubuntu 16.04 , I am trying to run the lmbench with x86 gcc but i am getting error with rpc.h header . Error Details are below ,

commands:

cd src
make

error :

In file included from lib_tcp.c:9:0:
bench.h:41:27: fatal error: tirpc/rpc/rpc.h: No such file or directory
compilation terminated.
Makefile:246: recipe for target '../bin/x86_64-linux-gnu/lib_tcp.o' failed
make[1]: *** [../bin/x86_64-linux-gnu/lib_tcp.o] Error 1

How can i solve this issue ?

Regards
Megha

@843723683
Copy link

Hi

I cloned the lmbench source to ubuntu 16.04 , I am trying to run the lmbench with x86 gcc but i am getting error with rpc.h header . Error Details are below ,

commands:

cd src
make

error :

In file included from lib_tcp.c:9:0:
bench.h:41:27: fatal error: tirpc/rpc/rpc.h: No such file or directory
compilation terminated.
Makefile:246: recipe for target '../bin/x86_64-linux-gnu/lib_tcp.o' failed
make[1]: *** [../bin/x86_64-linux-gnu/lib_tcp.o] Error 1

How can i solve this issue ?

Regards
Megha

Hi

I think the package is not installed “libtirpc-dev”
“sudo apt-get install libtirpc-dev”

@TellamNikhilkhanna
Copy link

Hello,
even after install that i am getting same error what should I do, Can anyone pls help

@sagrawal2023
Copy link

sagrawal2023 commented Jun 14, 2023

I am also facing the same issue. Even after installing libtirpc, it is giving error.

@sitano
Copy link

sitano commented Aug 28, 2023

Just pass include and link paths to the compiler:

$ make build CPPFLAGS="-I /usr/include/tirpc" LDFLAGS="-l tirpc"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants