esock_atom_user problem and Android builds

Joakim G. joagre@REDACTED
Thu Jan 9 14:43:37 CET 2020

I'm trying to cross compile BEAM for Android but I'm stuck on a compile 

It seems that 'esock_atom_user' is undeclared and I can not even find 
any decalartion of it on the emulator/erts code.

Can anyone point me in the right direction?


jocke@REDACTED:~/src/erlang/otp_src_22.2$ make noboot
make USE_PGO=false BOOT_PREFIX= build_erl_interface emulator libs 
make[4]: Går till katalogen 
  MAKE    opt
make[5]: Går till katalogen 
  GEN    arm-unknown-linux-androideabi/
  CC    obj/arm-unknown-linux-androideabi/opt/smp/socket_util.o
nifs/common/socket_util.c: In function 'esock_encode_packet_pkttype':
nifs/common/socket_util.c:1495:21: error: 'esock_atom_user' undeclared 
(first use in this function)
          *ePktType = esock_atom_user;

More information about the erlang-questions mailing list