Subject: LIBSSH2 & AIX

LIBSSH2 & AIX

From: <Lamar.Saxon_at_americredit.com>
Date: Thu, 18 Aug 2011 11:38:52 -0500

Henrik,
        I receive the same error:

root_at_aoctoolbox:/usr/sys/inst.images/LIBSSH2/libssh2-1.2.8:> cd example

root_at_aoctoolbox:/usr/sys/inst.images/LIBSSH2/libssh2-1.2.8/example:> make ssh2_echo
        /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib,-brtl -g -O2
L/opt/pware/lib -o ssh2_echo ssh2_echo.o ../src/libssh2.la
libtool: link: gcc -O2 -Wl,-blibpath:/opt/pware/lib:/usr/lib:/lib -Wl,-brtl -g -O2 -o .libs/ssh2_echo ssh2_echo.o
L/opt/pware/lib -L../src/.libs -lssh2 -Wl,-blibpath:/opt/pware/lib:/opt/pware/lib:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .libssh2_channel_get_exit_signal
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make: The error code from the last command is 1.

Stop.

Lamar

--- In response to: ---
Date: Wed, 17 Aug 2011 21:34:24 +0200
From: Henrik Nordstr?m <henrik_at_henriknordstrom.net>
To: libssh2 development <libssh2-devel_at_cool.haxx.se>
Subject: Re: LIBSSH2 & AIX
Message-ID: <1313609664.2652.3.camel_at_Nokia-N900>
Content-Type: text/plain; charset=utf-8

That's odd indeed. libssh2_channel_get_exit_signal is a public API function defined in channel.c and part of the libssh2 library (-lssh2).

Do you get the same error if you

  cd example
  make ssh_echo

Regards
Henrik

Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2011-08-18