Skip to content

Missing rpc header/library with Fedora 28 #46

@dandedrick

Description

@dandedrick

Starting with Fedora 28 /usr/include/rpc/rpc.h was removed from glibc. The replacement was to use /usr/include/libtirpc/rpc/rpc.h and link against libtirpc. The result is that with Fedora 28 or newer running make all fails because it can't find the rpc.h header file.

wfa_con.c:26:10: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
          ^~~~~~~~~~~
compilation terminated.

More information on the Fedora changes here.

Since there is no configuration step currently I'm not sure what the best way to fix this would be. Ideally a configure step would determine if libtirpc was present. If it was then the pkg-config could be used and if not then it could fall back to the current behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions