Subject: | 'multiple definition' of libssh2_error |
Hi,
Seems that libssh2-1.2.5 has a 'libssh2_error' function, and it clashes
with the function of the same name used in SSH2.xs. When building Net-
SSH2 against that (static) library, I'm getting:
C:\_64\msys\1.0\local\lib\libssh2.a(misc.o):misc.c:(.text+0x0):
multiple definition of `libssh2_error'
SSH2.o:SSH2.c:(.data+0x0): first defined here
I replaced each occurrence of 'libssh2_error' in SSH2.xs (the symbol
appears only 3 times) with 'xs_libssh2_error' and everything then works
fine.
Cheers,
Rob