Hi, I've just found the following compilation error under Linux (Ubuntu under WSL).
gcc -I. -I./include -I../include -DOS_LINUX -DDEBUG -D_DEBUG -Wall -fPIC -g -Wall -fvisibility=hidden -fvisibility=default -c -MMD -MP -MF debug.linux/aio-connect.d -o src/aio-connect.o src/aio-connect.c
In file included from ../include/sockutil.h:4,
from src/aio-connect.c:6:
../include/sys/sock.h: In function ‘socket_multicast_join’:
../include/sys/sock.h:1268:5: error: ‘struct ip_mreq’ has no member named ‘imr_ifindex’
1268 | imr.imr_ifindex = 0; // any interface
| ^
../include/sys/sock.h:1269:32: error: ‘struct ip_mreq’ has no member named ‘imr_address’
1269 | inet_pton(AF_INET, local, &imr.imr_address);
| ^
make[1]: *** [../gcc.mk:84: src/aio-connect.o] Error 1
Very small change of the following should resolve the issue.
Hi, I've just found the following compilation error under Linux (Ubuntu under WSL).
Very small change of the following should resolve the issue.
Hope the above may be of your help
Best regards, smg31