FS#62561 - error when calling the <rpc/rpc.h> library, the file or directory was not found
Attached to Project:
Arch Linux
Opened by Yeison Mosquera (thebart70) - Monday, 06 May 2019, 18:51 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 May 2019, 19:05 GMT
Opened by Yeison Mosquera (thebart70) - Monday, 06 May 2019, 18:51 GMT
Last edited by Antonio Rojas (arojas) - Monday, 06 May 2019, 19:05 GMT
|
Details
Description:
error when calling the <rpc/rpc.h> library, the file or directory was not found When you create a file.c and include <rpc/rpc.h>, it fails to include the <rpc/rpc.h> libraries, since the default search path of the compiler is </usr/include/rpc/rpc.h>, but with recent updates was implemented tirpc that changed the path to </usr/include/tirpc/rpc/rpc.h. A possible solution would be to add #include "/usr/include/tirpc/rpc/rpc.h" but this fails since rpc.h makes an internal call to types.rpc within the path <rpc/ rpc.h>. Sorry for not being clear, my English is not good at all Additional info: * package version(s) --> libtirpc 1.1.4-1 (x86_64) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: install tirpc library, create file.c and include <rpc/rpc.h> or <tirpc/rpc/rpc.h>. the compiler fails to include libraries |
This task depends upon
Closed by Antonio Rojas (arojas)
Monday, 06 May 2019, 19:05 GMT
Reason for closing: Not a bug
Additional comments about closing: Use pkgconfig
Monday, 06 May 2019, 19:05 GMT
Reason for closing: Not a bug
Additional comments about closing: Use pkgconfig