× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Carey, thanks for your answer!
I've tried both with using xlc++ native AIX compiler and also modifying the
stream.h file as you've suggested but i always get the same error for
"naccept" at lines 466 and 560.
Do you have any hint about?
Thanks!
Ciao.
Alberto.


"Carey Evans" <carey@xxxxxxxxxxxxx> ha scritto nel messaggio
news:mailman.26496.1273103561.2580.linux5250@xxxxxxxxxxxxxxx
On 6 May 2010 09:33, James Rich <james@xxxxxxxxxxx> 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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.