I understand now. I've never built nerves on a BBB. It is meant to be
built on a regular x86-based PC. I think that even if you get past
this error that the build time will be so painfully slow that you'll
give up. I would suggest using the native Debian erlang package
instead even though it's slightly out of date from what I heard.
Erlang Solutions has an updated package for Raspbian if the RPi is an
option, and I thought that they had a generic ARM A8 one somewhere.
Nerves is intended for cross-compiled Erlang setups where you do most
development on your PC since the target device isn't good for regular
development. That makes it a little harder to get started, but if you
need to produce something small and focused on a specific app, it can
be the way to go. If you're coming at this totally new to embedded
development, it can be a lot easier to prototype your app on the BBB
or RPi and then at some point switch to Nerves.
Frank