elixir-circuits / circuits_uart

Discover and use UARTs and serial ports in Elixir
Apache License 2.0
189 stars 48 forks source link

armv6-rpi-linux-gnueabi-gcc: error: CoreFoundation: No such file or directory #1

Closed johnhamelink closed 8 years ago

johnhamelink commented 8 years ago

Hi there,

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"
fhunleth commented 8 years ago

Fixed in a490d74e5d5e7454cf9efa4a0ba264d254eeca3d.