When I build a project from github - and it seems to apply to any project that builds using the XMOS makefile system - I get error messages from dyld. Here's example output from building the app_random_example project in the sc_util repo:
Code: Select all
**** Build of configuration Default for project app_random_example ****
xmake all
Checking xmos.com for board support package: XK-1
Installed BSP for target XK-1
Creating dependencies for random.xc
dyld: lazy symbol binding failed: Symbol not found: __ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l
Referenced from: /Applications/XMOS_xTIMEcomposer_12.2.0/bin/xcc
Expected in: /usr/lib/libstdc++.6.dylib
bash: line 1: 16326 Trace/BPT trap xcc -MMD -E -g -O3 -save-temps -Wall -target="XK-1" -DCONFIG=Default -D__random_conf_h_exists__=1 -I'../.' -I'.././src' -I'/Users/skeptic/workspace/module_random' -I'/Users/skeptic/workspace/module_random/doc' -I'/Users/skeptic/workspace/module_random/src' '/Users/skeptic/workspace/module_random/src/random.xc' > /dev/null
[ ... there are a few of these, then: ]
xmake[1]: *** [.build/src/main.c.o] Error 133
xmake: *** [bin//app_random_example.xe] Error 2
Code: Select all
XCC_ASSEMBLER_INCLUDE_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/target/include:/Applications/XMOS_xTIMEcomposer_12.2.0/target/include/gcc
XCC_CPLUS_INCLUDE_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/target/include:/Applications/XMOS_xTIMEcomposer_12.2.0/target/include/gcc:/Applications/XMOS_xTIMEcomposer_12.2.0/target/include/c++/4.2.1:/Applications/XMOS_xTIMEcomposer_12.2.0/target/include/c++/4.2.1/xcore-xmos-elf
XCC_C_INCLUDE_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/target/include:/Applications/XMOS_xTIMEcomposer_12.2.0/target/include/gcc
XCC_DEVICE_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/configs:/Applications/XMOS_xTIMEcomposer_12.2.0/configs/.deprecated
XCC_EXEC_PREFIX=/Applications/XMOS_xTIMEcomposer_12.2.0/libexec/
XCC_LIBRARY_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/target/lib
XCC_TARGET_PATH=/Users/skeptic/.xmos/targets:/Applications/XMOS_xTIMEcomposer_12.2.0/targets:/Applications/XMOS_xTIMEcomposer_12.2.0/targets/.deprecated
XCC_XC_INCLUDE_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/target/include:/Applications/XMOS_xTIMEcomposer_12.2.0/target/include/gcc
XMOS_CACHE_PATH=/Users/skeptic/.xmos/cache
XMOS_DOC_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/doc
XMOS_HOME=/Users/skeptic/.xmos
XMOS_MAKE_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0/build
XMOS_REPO_PATH=/Users/skeptic/.xmos/repos
XMOS_TOOL_PATH=/Applications/XMOS_xTIMEcomposer_12.2.0