I'm trying to cross-compile nerves_uart on my mac for my raspberry pi (original). When make is ran on the nerves_uart dependency, I get the following error:
/Users/john/.nerves/toolchains/nerves-armv6-rpi-linux-gnueabi-darwin-x86_64-v0.6.0/bin/armv6-rpi-linux-gnueabi-gcc src/debug_tests.o src/erlcmd.o src/nerves_uart.o src/uart_comm.o src/uart_comm_unix.o src/uart_comm_win.o src/uart_enum.o src/uart_enum_linux.o src/uart_enum_osx.o src/uart_enum_win.o src/util.o -L/Users/john/.nerves/systems/nerves/rpi-0.4.0/staging/usr/lib/erlang/erts-7.2.1/lib -L/Users/john/.nerves/systems/nerves/rpi-0.4.0/staging/usr/lib/erlang/lib/erl_interface-3.8.1/lib -lerts -lerl_interface -lei -framework CoreFoundation -framework IOKit -o priv/nerves_uart
armv6-rpi-linux-gnueabi-gcc: error: CoreFoundation: No such file or directory
armv6-rpi-linux-gnueabi-gcc: error: IOKit: No such file or directory
armv6-rpi-linux-gnueabi-gcc: error: unrecognized command line option '-framework'
armv6-rpi-linux-gnueabi-gcc: error: unrecognized command line option '-framework'
make: *** [priv/nerves_uart] Error 1
could not compile dependency :nerves_uart, "mix compile" failed. You can recompile this dependency with "mix deps.compile nerves_uart", update it with "mix deps.update nerves_uart" or clean it with "mix deps.clean nerves_uart"
Hi there,
I'm trying to cross-compile
nerves_uart
on my mac for my raspberry pi (original). Whenmake
is ran on thenerves_uart
dependency, I get the following error: