Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.6.4 fails to build: error: 'EAI_OVERFLOW' undeclared (first use in this function); did you mean 'EOVERFLOW'? #1254

Open
barracuda156 opened this issue Aug 19, 2024 · 0 comments · May be fixed by #1255

Comments

@barracuda156
Copy link

:info:build [39/736] /opt/local/bin/gcc-mp-14 -DATOMVM_HAS_MBEDTLS -DAVM_CREATE_STACKTRACES -DAVM_TASK_DRIVER_ENABLED -DDYNLOAD_PORT_DRIVERS -DHAVE_ATOMIC -DHAVE_CLOSE -DHAVE_EXTENDED_EAI_ERRNO -DHAVE_OPEN -DHAVE_SELECT -DHAVE_SERVBYNAME -DHAVE_SIGNAL -DHAVE_SOCKET -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/platforms/generic_unix/lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/libAtomVM -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/build/src/platforms/generic_unix/libAtomVM -isystem /opt/local/include -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -Wall -pedantic -Wextra -ggdb -Werror=incompatible-pointer-types -MD -MT src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o -MF src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o.d -o src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/libAtomVM/otp_net.c
:info:build FAILED: src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o 
:info:build /opt/local/bin/gcc-mp-14 -DATOMVM_HAS_MBEDTLS -DAVM_CREATE_STACKTRACES -DAVM_TASK_DRIVER_ENABLED -DDYNLOAD_PORT_DRIVERS -DHAVE_ATOMIC -DHAVE_CLOSE -DHAVE_EXTENDED_EAI_ERRNO -DHAVE_OPEN -DHAVE_SELECT -DHAVE_SERVBYNAME -DHAVE_SIGNAL -DHAVE_SOCKET -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/platforms/generic_unix/lib -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/libAtomVM -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/build/src/platforms/generic_unix/libAtomVM -isystem /opt/local/include -pipe -Os -DNDEBUG -isystem/opt/local/include/LegacySupport -I/opt/local/include -arch ppc -mmacosx-version-min=10.6 -Wall -pedantic -Wextra -ggdb -Werror=incompatible-pointer-types -MD -MT src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o -MF src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o.d -o src/platforms/generic_unix/lib/CMakeFiles/libAtomVMDarwin-powerpc.dir/__/__/__/libAtomVM/otp_net.c.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/libAtomVM/otp_net.c
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/libAtomVM/otp_net.c: In function 'eai_errno_to_term':
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_erlang_atomvm/atomvm/work/atomvm-0.6.4/src/libAtomVM/otp_net.c:88:14: error: 'EAI_OVERFLOW' undeclared (first use in this function); did you mean 'EOVERFLOW'?
:info:build    88 |         case EAI_OVERFLOW:
:info:build       |              ^~~~~~~~~~~~
:info:build       |              EOVERFLOW
barracuda156 added a commit to barracuda156/AtomVM that referenced this issue Aug 19, 2024
@barracuda156 barracuda156 linked a pull request Aug 19, 2024 that will close this issue
barracuda156 added a commit to barracuda156/AtomVM that referenced this issue Nov 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant