trickle icon indicating copy to clipboard operation
trickle copied to clipboard

glibc 2.26 rpc changes

Open tlhonmey opened this issue 6 years ago • 3 comments

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.

tlhonmey avatar Sep 07 '18 20:09 tlhonmey

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

devhen avatar Jan 18 '20 06:01 devhen

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

maxguru avatar Feb 14 '21 23:02 maxguru

./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

z0z0r4 avatar Mar 14 '22 05:03 z0z0r4