Subject: [libssh2] [ libssh2-Bugs-1538714 ] session.c fails to compile on AIX5.2

[libssh2] [ libssh2-Bugs-1538714 ] session.c fails to compile on AIX5.2

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 06 Jun 2007 12:52:33 -0700

Bugs item #1538714, was opened at 2006-08-11 15:53
Message generated for change (Comment added) made by bagder
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1538714&group_id=125852

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Kent Pirkle (kpirkle)
Assigned to: Daniel Stenberg (bagder)
Summary: session.c fails to compile on AIX5.2

Initial Comment:
All the other components prior to this one compile OK:

        gcc -o session.o session.c -c -g -O2
-I/opt/freeware/include -I/usr/include -Wall
-I../include/ -fPIC
session.c: In function `libssh2_poll':
session.c:757: error: structure has no member named
`rtnevents'
session.c:761: error: structure has no member named
`reqevents'
session.c:834: error: structure has no member named
`reqevents'
session.c:834: error: structure has no member named
`rtnevents'
session.c:837: error: structure has no member named
`reqevents'
session.c:838: error: structure has no member named
`rtnevents'
session.c:839: error: structure has no member named
`rtnevents'
session.c:841: error: structure has no member named
`reqevents'
session.c:842: error: structure has no member named
`rtnevents'
session.c:843: error: structure has no member named
`rtnevents'
session.c:845: error: structure has no member named
`reqevents'
session.c:846: error: structure has no member named
`rtnevents'
session.c:847: error: structure has no member named
`rtnevents'
session.c:850: error: structure has no member named
`rtnevents'
session.c:853: error: structure has no member named
`rtnevents'
session.c:857: error: structure has no member named
`reqevents'
session.c:858: error: structure has no member named
`rtnevents'
session.c:859: error: structure has no member named
`rtnevents'
session.c:862: error: structure has no member named
`rtnevents'
session.c:867: error: structure has no member named
`rtnevents'
session.c:901: error: structure has no member named
`rtnevents'
session.c:903: error: structure has no member named
`rtnevents'
session.c:913: error: structure has no member named
`rtnevents'
session.c:923: error: structure has no member named
`rtnevents'
make: 1254-004 The error code from the last command is 1.

Stop.
make: 1254-004 The error code from the last command is 1.

Stop.

----------------------------------------------------------------------

>Comment By: Daniel Stenberg (bagder)
Date: 2007-06-06 21:52

Message:
Logged In: YES
user_id=1110
Originator: NO

no response

----------------------------------------------------------------------

Comment By: Daniel Stenberg (bagder)
Date: 2007-05-08 22:26

Message:
Logged In: YES
user_id=1110
Originator: NO

is this still a problem in current CVS?

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2006-08-23 05:05

Message:
Logged In: NO

Change include/libssh2.h:
Lines 175 and 176 to look like this:

 unsigned long rtnevents; /* Requested Events */
 unsigned long reqevents; /* Returned Events */

Worked for me after that.

AJ (ajpahl_at_insight.rr.com)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=703942&aid=1538714&group_id=125852

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel
Received on 2007-06-11