Hi,

(copying back in the list)

On Sat, Sep 30, 2017 at 09:46:29AM +0200, Gert Doering wrote:
> Which linux distribution is this, in which version?  Can you upload
> config.log and your system's "lz4.h" somewhere so we can see what it 
> tried to do, and why it is failing?

I received the files in the meantime, and I'm not fully understanding
the issue yet.  

lz4.h says it's 1.8.0, so is passing the "newer than 1.7.1" check just 
fine.  The lz4.h also has a prototype for LZ4_compress_default(), so it
really should work fine...


What I noticed in config.log is that we test for "is it working?" by
checking LZ4_compress()

    # if LZ4_LIBS is set, we assume it will work, otherwise test
    if test -z "${LZ4_LIBS}"; then
        AC_CHECK_LIB([lz4],
                     [LZ4_compress],
                     [LZ4_LIBS="-llz4"],
                     [have_lz4="no"])
    fi

... which we might want to change to LZ4_compress_default().

But it should still work.


@logcabin: can you show me the failing compiler call as well?  Like,
the last 30 lines from a failing "make" run?

You said you found a workaround for it - what did you do to fix it?

Could it be that there are multiple liblz4.a or liblz4.so.* on your
system?  What does "locate liblz4." print out?

(So maybe there's a lz4.h for 1.8.0, but the liblz4.* that the linker
picks up is from an older version that did not have LZ4_compress_default()
yet...)


Slightly puzzling :-)

gert

-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to