On Tue, 28 Jul 2009, David Arturo Macias Corona wrote:

Hi,

> Good progress
>    2009-07-28 18:54 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
>    gcc (GCC) 3.3.5 (Bird Build 2006-03-18 05:37)
>    eCS
> ../../../hbsocket.c: In function `hb_socketInetAddr':
> ../../../hbsocket.c:1391: warning: implicit declaration of function 
> `inet_pton'
> ../../../hbsocket.c: In function `hb_socketAddrGetName':
> ../../../hbsocket.c:1483: warning: implicit declaration of function 
> `inet_ntop'
> ../../../../../lib/os2/gcc/hbrtl.a(hbsocket.o): Undefined symbol _inet_pton 
> referenced from text segment
> ../../../../../lib/os2/gcc/hbrtl.a(hbsocket.o): Undefined symbol _inet_ntop 

Thank you for your tests. Here is part of hbsocket.h and note I left:

   #elif defined( HB_OS_OS2 )
   #  if defined( __WATCOMC__ )
   #     define HB_HAS_INET_PTON
   #     define HB_HAS_INET_NTOP
   #  else
         /* please verify it and disable unsupported options in GCC OS2 */
   #     define HB_HAS_INET_PTON
   #     define HB_HAS_INET_NTOP
   #  endif

so I guess that inet_pton() and inet_ntop() functions are not supported
by OS2 GCC CRTL. I'll disable then in a while. Please test it.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to