lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I saw it and added
#ifndef IPV6_V6ONLY
#define IPV6_V6ONLY 27
#endif
to tcp.c options.c and udp.c
but in the linking

CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x9c): undefined reference to `_getaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x156): undefined reference to `_getnameinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x19a): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x25e): undefined reference to `_getnameinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x2e2): undefined reference to `_getnameinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x36e): undefined reference to `_getnameinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x3e2): undefined reference to `_getaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x4db): undefined reference to `_getnameinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x590): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x91d): undefined reference to `_inet_ntop' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0x9c1): undefined reference to `_inet_ntop' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xaf5): undefined reference to `_inet_ntop' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xb99): undefined reference to `_inet_ntop' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xd5b): undefined reference to `_getaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xd79): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xe79): undefined reference to `_getaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xe97): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(inet.c.obj):inet.c:(.text+0xf34): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(tcp.c.obj):tcp.c:(.text+0x201): undefined reference to `_getaddrinfo' CMakeFiles\socket.dir/objects.a(tcp.c.obj):tcp.c:(.text+0x223): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(tcp.c.obj):tcp.c:(.text+0x308): undefined reference to `_freeaddrinfo' CMakeFiles\socket.dir/objects.a(udp.c.obj):udp.c:(.text+0x990): undefined reference to `_inet_ntop' CMakeFiles\socket.dir/objects.a(udp.c.obj):udp.c:(.text+0xa08): undefined reference to `_inet_ntop' CMakeFiles\socket.dir/objects.a(udp.c.obj):udp.c:(.text+0xb5d): undefined reference to `_inet_pton' CMakeFiles\socket.dir/objects.a(udp.c.obj):udp.c:(.text+0xc39): undefined reference to `_inet_pton'

I cant find how to solve it
Best
victor