Hi all,

 I have exported "CC=/usr/bin/clang" in the shell and now Suricata compiles ok.

Many thanks to all for your help.

On 27/1/21, 14:45, "owner-m...@openbsd.org on behalf of Carlos Lopez" 
<owner-m...@openbsd.org on behalf of clo...@outlook.com> wrote:

    HI Stuart,

     Many thanks for your help. I have tried to compile using 
"--with-clang=/usr/bin/clang" flag but same error appears...

    On 27/1/21, 13:49, "owner-m...@openbsd.org on behalf of Stuart Henderson" 
<owner-m...@openbsd.org on behalf of s...@spacehopper.org> wrote:

        On 2021-01-27, Carlos Lopez <clo...@outlook.com> wrote:
        > Hi all,
        >
        > I am trying to compile suricata 6.0.1 with some custom options and 
the following error is returned:
        >
        > hecking for strlcat... yes
        > checking for special C compiler options needed for large files... no
        > checking for _FILE_OFFSET_BITS value needed for large files... no
        > checking host os... installation for x86_64-unknown-openbsd6.8 OS... 
ok
        > checking for c11 support... no
        > checking for thread local storage gnu __thread support... no
        > configure: error: "no thread local support available."
        >
        > Any ideas? Running configure without options (only with 
--disable-gccmarch-native) returns the same error.
        >
        > Regards,
        > C. L. Martinez
        >

        It is using the wrong compiler, OpenBSD/amd64 still installs the old
        version of gcc as /usr/bin/gcc and some software picks this up.

        I suggest modifying the port to suit your needs rather than building
        it standalone.




Reply via email to