[odb-users] Cannot Compile ODB Compiler on RHEL 8.5

Boris Kolpackov boris at codesynthesis.com
Fri Jun 10 11:27:38 EDT 2022

Tyler Lytle <tlytle123 at gmail.com> writes:

> I got the following output:
> [tlytle at localhost odb]$ g++ --print-file-name=plugin
> /usr/lib/gcc/x86_64-redhat-linux/8/plugin
> [tlytle at localhost plugin]$ cd /usr/lib/gcc/x86_64-redhat-linux/8/plugin/
> [tlytle at localhost plugin]$ ls
> annobin.so  annobin.so.0  annobin.so.0.0.0  libcc1plugin.so
>  libcc1plugin.so.0  libcc1plugin.so.0.0.0  libcp1plugin.so
>  libcp1plugin.so.0  libcp1plugin.so.0.0.0
> The include/ directory is actually up one directory level as shown below:

I don't think that's the directory we are looking for. The one
we are after should be inside the directory reported with
--print-file-name=plugin. It should contain headers like gcc.h
and gcc-plugin.h.

It looks like you only have the plugin libraries but not the
headers. Maybe there is a separate package that contains these?
Try to look for a package that contains gcc-plugin.h.

More information about the odb-users mailing list