Hi, I forgot to explain when those errors happen : when compiling wrapper.c Command used : bin/xlc -DLIBSSH_EXPORTS -I/path/to/libssh/build/src -I/path/to/libssh/libssh-0.7.5/src -I/path/to/libssh/libssh-0.7.5/include -I/path/to/libssh/build -I/path/to/openssl/openssl-1.0.2k/include -I/path/to/zlib/zlib-1.2.11/include -O -qarch=com -DNLS -D_LARGE_FILES -qpic -o CMakeFiles/ssh_shared.dir/wrapper.c.o -c /path/to/libssh/libssh-0.7.5/src/wrapper.c
Regards, Robin 2017-07-19 12:27 GMT+02:00 Robin Geffroy <[email protected]>: > Hi, > > I work with libssh, and I have to make it work with a lot of different > OSes. On Windows / Linux, no problem. But here I am on AIX, and I am unable > to make it work :( > > I have to use the xlc compiler (XL 12.1.0 here). I got some errors with > the C++-style comment in some files, easy to solve, but then another error > appeared when trying to "make" : > > "/path/to/openssl/openssl-1.0.2k/include/openssl/crypto.h", line 502.44: > 1506-275 (S) Unexpected text free_func encountered. > "/path/to/openssl/openssl-1.0.2k/include/openssl/crypto.h", line 507.47: > 1506-275 (S) Unexpected text free_func encountered. > "/path/to/openssl/openssl-1.0.2k/include/openssl/asn1.h", line 909.46: > 1506-275 (S) Unexpected text free_func encountered. > "/path/to/openssl/openssl-1.0.2k/include/openssl/asn1.h", line 1063.49: > 1506-275 (S) Unexpected text free_func encountered. > "/path/to/openssl/openssl-1.0.2k/include/openssl/objects.h", line 996.31: > 1506-275 (S) Unexpected text free_func encountered. > "/path/to/openssl/openssl-1.0.2k/include/openssl/ec.h", line 842.41: > 1506-275 (S) Unexpected text free_func encountered. > "/path/to/openssl/openssl-1.0.2k/include/openssl/ec.h", line 854.44: > 1506-275 (S) Unexpected text free_func encountered. > make: The error code from the last command is 1. > > > Stop. > make: The error code from the last command is 2. > > > Stop. > make: The error code from the last command is 2. > > > Do you have any idea what can I do ? I don't know what's happening here. I > tried with or without CFLAGS, and nothing seems to work. I use OpenSSL with > other projects, and I got no problem with it... > > Regards, > > Robin >
