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

glibc 2.26 rpc changes #24

Open
tlhonmey opened this issue Sep 7, 2018 · 3 comments
Open

glibc 2.26 rpc changes #24

tlhonmey opened this issue Sep 7, 2018 · 3 comments

Comments

@tlhonmey
Copy link

tlhonmey commented Sep 7, 2018

glibc has changed the location of rpc.h. It's now split into tirpc. As such the project won't compile without some tweaking.

https://stackoverflow.com/questions/50590546/unable-to-build-rpc-project-with-libtirpc has hints on how to fix it.

@devhen
Copy link

devhen commented Jan 18, 2020

This is a problem on RHEL/CentOS 8 as well.

@maxguru
Copy link

maxguru commented Feb 14, 2021

Same on Gentoo. Compiles with ./configure CFLAGS=-I/usr/include/tirpc LDFLAGS=-ltirpc.

@z0z0r4
Copy link

z0z0r4 commented Mar 14, 2022

./configure CFLAGS=-I/usr/include/tirpc LDFLAGS=-ltirpc

But...

[root@localhost trickle]# ./configure CFLAGS=-I/usr/include/tirpc LDFLAGS=-ltirpc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/root/trickle':
configure: error: C compiler cannot create executables
See `config.log' for more details

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

4 participants