Hi there,
I am trying to build v1.7.8.3 release, but passing --disable-networking
to configure causes this:
CC input/common/linux_common.c
CC input/drivers/linuxraw_input.c
CC frontend/drivers/platform_unix.c
CC input/drivers_joypad/linuxraw_joypad.c
CC frontend/frontend_driver.c
CC frontend/drivers/platform_null.c
CC retroarch.c
CC paths.c
CC msg_hash.c
CC intl/msg_hash_us.c
retroarch.c: In function 'command_parse_sub_msg':
retroarch.c:2525:8: warning: implicit declaration of function 'command_get_arg'; did you mean 'command_version'? [-Wimplicit-function-declaration]
if (command_get_arg(tok, &arg, &index))
^~~~~~~~~~~~~~~
command_version
retroarch.c: In function 'command_network_poll':
retroarch.c:2562:14: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
if (handle->net_fd < 0)
^~
In file included from /usr/include/aarch64-linux-gnu/sys/types.h:196,
from /usr/include/stdlib.h:394,
from retroarch.c:43:
retroarch.c:2566:17: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
FD_SET(handle->net_fd, &fds);
^~
retroarch.c:2566:17: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
FD_SET(handle->net_fd, &fds);
^~
retroarch.c:2568:8: warning: implicit declaration of function 'socket_select' [-Wimplicit-function-declaration]
if (socket_select(handle->net_fd + 1, &fds, NULL, NULL, &tmp_tv) <= 0)
^~~~~~~~~~~~~
retroarch.c:2568:28: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
if (socket_select(handle->net_fd + 1, &fds, NULL, NULL, &tmp_tv) <= 0)
^~
In file included from /usr/include/aarch64-linux-gnu/sys/types.h:196,
from /usr/include/stdlib.h:394,
from retroarch.c:43:
retroarch.c:2571:24: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
if (!FD_ISSET(handle->net_fd, &fds))
^~
retroarch.c:2571:24: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
if (!FD_ISSET(handle->net_fd, &fds))
^~
retroarch.c:2581:7: error: 'lastcmd_net_fd' undeclared (first use in this function); did you mean 'lastcmd_source'?
lastcmd_net_fd = handle->net_fd;
^~~~~~~~~~~~~~
lastcmd_source
retroarch.c:2581:7: note: each undeclared identifier is reported only once for each function it appears in
retroarch.c:2581:38: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
lastcmd_net_fd = handle->net_fd;
^~
retroarch.c:2582:7: error: 'lastcmd_net_source_len' undeclared (first use in this function); did you mean 'lastcmd_source'?
lastcmd_net_source_len = sizeof(lastcmd_net_source);
^~~~~~~~~~~~~~~~~~~~~~
lastcmd_source
retroarch.c:2582:39: error: 'lastcmd_net_source' undeclared (first use in this function); did you mean 'lastcmd_source'?
lastcmd_net_source_len = sizeof(lastcmd_net_source);
^~~~~~~~~~~~~~~~~~
lastcmd_source
retroarch.c:2583:32: warning: implicit declaration of function 'recvfrom'; did you mean 'memfrob'? [-Wimplicit-function-declaration]
ret = recvfrom(handle->net_fd, buf,
^~~~~~~~
memfrob
retroarch.c:2583:47: error: 'command_t' {aka 'struct command'} has no member named 'net_fd'
ret = recvfrom(handle->net_fd, buf,
^~
I hope it could be fixed, as lightweight RetroArch builds are interesting for small SBC computers!