[Interest] QWE 5.9.3/Linux: chromium build trips over headers from the installed system openssl, protobuf-cpp

Konstantin Tokarev annulen at yandex.ru
Fri Dec 22 13:56:08 CET 2017



22.12.2017, 15:46, "René J. V. Bertin" <rjvbertin at gmail.com>:
> Michal Klocek wrote:
>
>>  might want to check what actually returns -I/opt/local/include/glib-2.0
>>  -I/opt/local/lib/glib-2.0/include -I/opt/local/include. A good starting
>>  point might be glib-2.0.pc file (or simply run pkg-config --cflags
>>  glib-2.0)
>
> Yeah, that'd be the culprit, or a culprit.
>
> Question is what to do about that, other than making sure no conflicting headers
> exist wherever they shouldn't be, during the build.
>
> It also doesn't tell us why the openssl headers from /usr/include/openssl do NOT
> cause the same problem as the newer ones in /opt/local/include/openssl .

/usr/include is an implicit search path, so explicit -I options take priority over it

> I don't see any options to exclude the usual system include directories.
>
> R.
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-- 
Regards,
Konstantin



More information about the Interest mailing list