Re: Tn5250 compile under IBM Aix 5.3
Carey Evans <[email protected]>
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Message-ID | <[email protected]> |
On 6 May 2010 09:33, James Rich <[email protected]> wrote: > I think there must be something wrong with the source code you have. The > word "naccept" does not appear anywhere in the current source code of > tn5250. There is also no function called "tn5250_ssl_stream_init0". AIX redefines accept to naccept in sys/socket.h: > #define recvfrom nrecvfrom > #define accept naccept > #define getpeername ngetpeername > #define getsockname ngetsockname which means that line 466 of sslstream.c ends up trying to assign to the naccept member of the struct. You could try using the C++ compiler instead, which uses an inline function instead of #define, or simply add #undef accept near the top of the file. -- This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.