You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In file included from /usr/include/sys/select.h:30,
from /usr/include/sys/types.h:179,
from /usr/include/stdlib.h:395,
from ../../athrill/src/device/peripheral/mros-dev/mros-athrill/target/os/kernel.h:5,
from ../../athrill/src/device/peripheral/mros-dev/mros-src/os/target/os_asp/mros_os_target.h:8,
from ../../athrill/src/device/peripheral/mros-dev/mros-src/inc/mros_types.h:51,
from ../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/mros_comm_cimpl.h:25,
from ../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/mros_comm_socket_cimpl.h:25,
from ../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/mros_comm_socket_cimpl.c:18:
../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/mros_comm_socket_cimpl.c: In function ‘mros_comm_socket_select’:
../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/target/lwip/mros_comm_target.h:37:57: error: ‘__arr’ undeclared (first use in this function)
37 | #define MROS_FD_ZERO(arg) FD_ZERO(arg)
| ^~~~~~~
../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/mros_comm_socket_cimpl.c:67:9: note: in expansion of macro ‘MROS_FD_ZERO’
67 | MROS_FD_ZERO(&fd_set);
| ^~~~~~~~~~~~
../../athrill/src/device/peripheral/mros-dev/mros-src/node/cimpl/mros_node_cimpl.c
../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/target/lwip/mros_comm_target.h:37:57: note: each undeclared identifier is reported only once for each function it appears in
37 | #define MROS_FD_ZERO(arg) FD_ZERO(arg)
| ^~~~~~~
../../athrill/src/device/peripheral/mros-dev/mros-src/comm/cimpl/mros_comm_socket_cimpl.c:67:9: note: in expansion of macro ‘MROS_FD_ZERO’
67 | MROS_FD_ZERO(&fd_set);
|
The text was updated successfully, but these errors were encountered:
ubuntu 22.04 gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
の環境でビルドしたところ以下のエラーが発生しました。
エラーの詳細原因は不明ですが、mros_comm_socket_select()のmRosFdSetType fd_set;の変数名がfd_setになっていることが原因のようです。fd_setをsetのような名前に変更することでビルドが通ることを確認しました。
The text was updated successfully, but these errors were encountered: