Created attachment 538676 [details, diff] Adjust tirpc headers to reflect proper location: include/tirpc Libtiprc headers gets installed into /usr/include/tiprc. Those install headers assume they are located in /usr/include. Either the headers must be moved to the place assumed by them or modified to reflect the actual location. For the latter choice please take a look at on the patch attached.
You are supposed to build with -I/usr/include/tirpc on the compiler command line. % pkg-config --cflags libtirpc -I/usr/include/tirpc