diff --git a/README.md b/README.md index 2a083911c..6b52ccfc8 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ apt install autoconf automake libtool pkg-config clang bison cmake mercurial nin Older versions of Ubuntu may report errors when trying to install `libarchive-tools`. In this case try using `apt install bsdtar` instead. +If you later get errors like `fatal error: 'new' file not found` this is probably because you have `gcc-` installed but not the corresponding `g++-` which causes `clang++` to select the wrong include directory. Uninstall `gcc` or install `g++` or install an appropriate `libstdc++`. + #### RHEL/Fedora If you are building CHERI on a RHEL/Fedora-based machine, the following command will install the packages required for the most commonly used cheribuild targets: