www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples | github

Archive Index This month's Index

Subject: Re: Feedback re: Build on AIX - FYI.

Re: Feedback re: Build on AIX - FYI.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 4 Dec 2017 11:01:17 +0100 (CET)

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_at_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
Received on 2017-12-04

the libssh2 team