Skip to content

Instantly share code, notes, and snippets.

@skomik
Created September 14, 2013 22:55
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 skomik/6566436 to your computer and use it in GitHub Desktop.
Save skomik/6566436 to your computer and use it in GitHub Desktop.
fbb build error
Created ./build/BUILDPREFIX_release and ..._debug directories
/usr/bin/make -C "./build/BUILDPREFIX_debug" -r -f ../../build/Makefile.tbb cfg=debug
../../build/Makefile.tbb:39: CONFIG: cfg=debug arch=intel64 compiler=clang os=macos runtime=cc4.2.1_os10.8.5
clang++ -o concurrent_hash_map.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_hash_map.cpp
clang++ -o concurrent_queue.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp
clang++ -o concurrent_vector.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_vector.cpp
clang++ -o dynamic_link.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/dynamic_link.cpp
clang++ -o itt_notify.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/itt_notify.cpp
clang++ -o cache_aligned_allocator.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/cache_aligned_allocator.cpp
clang++ -o pipeline.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/pipeline.cpp
clang++ -o queuing_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o queuing_rw_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/queuing_rw_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o reader_writer_lock.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/reader_writer_lock.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o spin_rw_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_rw_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o spin_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/spin_mutex.cpp
clang++ -o critical_section.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/critical_section.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o recursive_mutex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/recursive_mutex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o condition_variable.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/condition_variable.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o tbb_thread.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_thread.cpp
clang++ -o concurrent_monitor.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_monitor.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o semaphore.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/semaphore.cpp
clang++ -o private_server.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/private_server.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o rml_tbb.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/rml/client/rml_tbb.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
sh ../../build/version_info_macos.sh clang++ -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include >version_string.ver
clang++ -o tbb_misc_ex.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc_ex.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o task.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o task_group_context.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/task_group_context.cpp
clang++ -o governor.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/governor.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o market.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/market.cpp
clang++ -o arena.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/arena.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o scheduler.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/scheduler.cpp
clang++ -o observer_proxy.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/observer_proxy.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o tbb_statistics.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_statistics.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o tbb_main.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_main.cpp
clang++ -o concurrent_vector_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_vector_v2.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o concurrent_queue_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/concurrent_queue_v2.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o spin_rw_mutex_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/spin_rw_mutex_v2.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -o task_v2.o -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include ../../src/old/task_v2.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
sh ../../build/generate_tbbvars.sh DY
clang++ -E -x c++ ../../src/tbb/mac64-tbb-export.def -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I../../src -I../../src/rml/include -I../../include > tbb.def
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
clang++ -c -MMD -g -O0 -DTBB_USE_DEBUG -DUSE_PTHREAD -m64 -fPIC -D__TBB_BUILD=1 -Wall -Wno-non-virtual-dtor -I. -I../../src -I../../src/rml/include -I../../include ../../src/tbb/tbb_misc.cpp
brew: superenv removed: -g -O0 -m64 -Wall -Wno-non-virtual-dtor
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'Applications'
static const char VersionString[] = "\0" TBB_VERSION_STRINGS;
^
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:82: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'Xcode'
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:95: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'Contents'
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:105: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'Developer'
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:114: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'Toolchains'
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:124: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'XcodeDefault'
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:135: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'usr'
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:160: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'bin'; did you mean 'min'?
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:164: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
../../src/tbb/tbb_misc.h:114:4: note: 'min' declared here
T1 min ( const T1& val1, const T2& val2 ) {
^
../../src/tbb/tbb_misc.cpp:173:42: error: use of undeclared identifier 'ld'
static const char VersionString[] = "\0" TBB_VERSION_STRINGS;
^
../../src/tbb/tbb_version.h:117:29: note: expanded from macro 'TBB_VERSION_STRINGS'
#define TBB_VERSION_STRINGS TBB_VERSION_STRINGS_P(TBB)
^
../../src/tbb/tbb_version.h:115:118: note: expanded from macro 'TBB_VERSION_STRINGS_P'
#define TBB_VERSION_STRINGS_P(N) __TBB_VERSION_NUMBER(N) __TBB_INTERFACE_VERSION_NUMBER(N) __TBB_VERSION_DATETIME(N) __TBB_VERSION_STRINGS(N) __TBB_VERSION_USE_DEBUG(N) __TBB_VERSION_USE_ASSERT(N) __TBB_VERSION_TBB_PREVIEW_BINARY(N) __TBB_VERSION_DO_NOTIFY(N)
^
./version_string.ver:5:168: note: expanded from macro '__TBB_VERSION_STRINGS'
#N": BUILD_GCC Apple LLVM version 5.0 (clang-500.2.75) (based on LLVM 3.3svn) "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -w -o a.out -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -headerpad_max_install_names -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/5.0/lib/darwin/libclang_rt.osx.a" ENDL \
^
9 errors generated.
make[1]: *** [tbb_misc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [tbb] Error 2
HOMEBREW_VERSION: 0.9.4
HEAD: 8d88a52859a90bc6dafb9cef11d7f5b15b484e0c
CPU: 8-core 64-bit sandybridge
OS X: 10.8.5-x86_64
Xcode: 5.0
CLT: 5.0.0.0.1.1377666378
X11: 2.7.4 => /opt/X11
$ brew doctor
Warning: gettext files detected at a system prefix
These files can cause compilation and link failures, especially if they
are compiled with improper architectures. Consider removing these files:
/usr/local/lib/libintl.dylib
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libactivemq-cpp.11.dylib
/usr/local/lib/libboost_filesystem-mt.dylib
/usr/local/lib/libboost_serialization-mt.dylib
/usr/local/lib/libboost_system-mt.dylib
/usr/local/lib/libencfs.6.dylib
/usr/local/lib/libintl.8.dylib
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
/usr/local/lib/libosxfuse_i64.2.dylib
/usr/local/lib/libPocoCrypto.11.dylib
/usr/local/lib/libPocoFoundation.11.dylib
/usr/local/lib/libPocoNet.11.dylib
/usr/local/lib/libPocoNetSSL.11.dylib
/usr/local/lib/libPocoUtil.11.dylib
/usr/local/lib/libPocoXML.11.dylib
/usr/local/lib/librlog.5.0.0.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libosxfuse_i32.la
/usr/local/lib/libosxfuse_i64.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/osxfuse.pc
$ brew upgrade
==> Upgrading 1 outdated package, with result:
tbb 4.2
==> Upgrading tbb
==> Downloading https://www.threadingbuildingblocks.org/sites/default/files/software_releases/source/tbb42_20130725oss_src.tgz
Already downloaded: /Library/Caches/Homebrew/tbb-4.2.tgz
==> make tbb_build_prefix=BUILDPREFIX compiler=clang arch=intel64
^
9 errors generated.
make[1]: *** [tbb_misc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [tbb] Error 2
READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment