Problems linking with inet_ntoa and inet_aton
  • Order of the Butterfly
    Order of the Butterfly
    BalrogSoft
    Posts: 171 from 2006/10/6
    From: Spain
    Hello.

    I'm trying to compile a SDL game, but i found a problem linking the game with some system functions inet_ntoa and inet_aton, i have found references of these functions on some include files, but i can't link it properly, are these functions supported by MorphOS?, any suggestion?

    Code:

    ./.libs/libfcgui-sdl.a(servers.o): In function `meta_send_request':
    /client/servers.c:191: undefined reference to `uname'
    ./.libs/libfcgui-sdl.a(servers.o): In function `get_lan_server_list':
    /client/servers.c:823: undefined reference to `inet_ntoa'
    ./.libs/libfcgui-sdl.a(servers.o): In function `begin_lanserver_scan':
    /client/servers.c:628: undefined reference to `inet_aton'
    /client/servers.c:716: undefined reference to `inet_aton'


    Edited:

    I found an implementation of this functions on vlc port for MorphOS, if someone need it, it's available on Aminet.

    [ Edited by BalrogSoft 13.06.2012 - 16:12 ]
    Balrog Software - AmigaSkool.net
    Mac Mini - MorphOS 3.8 - G4 1.5Ghz - Ati 9200 64 Mb
    Efika - MorphOS 3.6 - Ati 9200 64Mb - 80 Gb HD
    Amiga 1200D - OS 3.9 - Blizzard 603e/240mh
  • »15.05.12 - 00:41
    Profile Visit Website