Skip to content

Instantly share code, notes, and snippets.

@josephnoir
Created November 25, 2014 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save josephnoir/a46ce587c87b43a11222 to your computer and use it in GitHub Desktop.
Save josephnoir/a46ce587c87b43a11222 to your computer and use it in GitHub Desktop.
Building application cpp_timer for native w/ MCU native.
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/boards/native
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/core
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/cpu/native
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/drivers
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/sys
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/boards/native/drivers
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/sys/auto_init
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/sys/timex
"/Applications/Xcode.app/Contents/Developer/usr/bin/make" -C /Users/noir/Git/RIOT/sys/vtimer
/Users/noir/Git/RIOT/cpu/native/native_cpu.c:97:41: error: member reference type 'struct __darwin_mcontext32 *' is a pointer; maybe you meant to use '->'?
_native_saved_eip = ctx->uc_mcontext.gregs[REG_EIP];
~~~~~~~~~~~~~~~~^
->
/Users/noir/Git/RIOT/cpu/native/native_cpu.c:97:42: error: no member named 'gregs' in 'struct __darwin_mcontext32'
_native_saved_eip = ctx->uc_mcontext.gregs[REG_EIP];
~~~~~~~~~~~~~~~~ ^
/Users/noir/Git/RIOT/cpu/native/native_cpu.c:97:48: error: use of undeclared identifier 'REG_EIP'
_native_saved_eip = ctx->uc_mcontext.gregs[REG_EIP];
^
/Users/noir/Git/RIOT/cpu/native/native_cpu.c:98:21: error: member reference type 'struct __darwin_mcontext32 *' is a pointer; maybe you meant to use '->'?
ctx->uc_mcontext.gregs[REG_EIP] = (unsigned int)&_native_sig_leave_handler;
~~~~~~~~~~~~~~~~^
->
/Users/noir/Git/RIOT/cpu/native/native_cpu.c:98:22: error: no member named 'gregs' in 'struct __darwin_mcontext32'
ctx->uc_mcontext.gregs[REG_EIP] = (unsigned int)&_native_sig_leave_handler;
~~~~~~~~~~~~~~~~ ^
/Users/noir/Git/RIOT/cpu/native/native_cpu.c:98:28: error: use of undeclared identifier 'REG_EIP'
ctx->uc_mcontext.gregs[REG_EIP] = (unsigned int)&_native_sig_leave_handler;
^
6 errors generated.
make[2]: *** [/Users/noir/Git/RIOT/tests/cpp_timer/bin/native/cpu/native_cpu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [ALL--/Users/noir/Git/RIOT/cpu/native] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment