On Mon, 4 Dec 2017, Michael wrote:

However, this also has a GNU make dependency - I am guessing due to the m4 macros that check for changes to Makefile.in, etc.. That is where "default" make dies.

I'm not denying there may be problems. I'm not sure that's because of gnu makeisms though. We haven't heard any complaints before from people who normally don't use gnu make, like BSD people. And the makefile has basically remained like this since a very long time afaicr.

root@x064:[/data/prj/aixtools/libssh2-1.8.0]make
"Makefile", line 980: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 981: make: 1254-055 Dependency line needs colon or double colon operator.

Can you show us line 980 and 981 of your generated Makefile?

"../../src/libssh2-1.8.0/src/kex.c", line 195.82: 1506-041 (E) The invocation of macro _libssh2_debug contains fewer arguments than are required by the macro definition.

This looks like your compiler has an issue with the _libssh2_debug #define in libssh2_priv.h.

"../../src/libssh2-1.8.0/src/session.c", line 522.15: 1506-068 (W) Operation between types "void*" and "void(*)(struct _LIBSSH2_SESSION*,const char*,int,void**)" is not allowed.

This warning (error?) is hard do fix with our current API. It shows with other compilers as well.

# ERROR: 0

... so you still managed to build and test everything suceessfully?

--

 / daniel.haxx.se
_______________________________________________
libssh2-devel https://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to