Re: Compilation without linux-vdso

Jon Siwek <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <CAMzgZ0L3mvgKy4siKc5MBoHbd9y7R4=hnw0OY+tERYyFCfT=Fw@mail.gmail.com>
On Fri, Feb 15, 2019 at 9:02 PM Nafisa Mandliwala
<[email protected]> wrote:

> I then tried to run configure like this-
> CC=<path to gcc> CXX=<path to g++> CFLAGS=<path to glibc> CXXFLAGS=<path to glibc> ./configure
>
> This picks the right compiler but runs into issues with openssl (header not found). I tried adding root and include paths for openssl by calling append_cache_entry() but it doesn't work.

I'd first try using the --with-openssl= configure option before
manually patching in workarounds.

Or if you must patch, I'd probably hack in custom paths just before
"FindRequiredPackage(OpenSSL)" in CMakeLists.txt rather than the
configure script.  If you're patching source code directly and still
have problems, it's hard to help further unless you give the exact
patch you are using.

> Was just wondering if I'm missing something here? Are there more changes required to safely replace the default compiler?

I think you were setting the compiler fine, but sounds like now the
OpenSSL headers not being found is likely a separate/unrelated issue
to figure out.

- Jon
_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.