Skip to content

Instantly share code, notes, and snippets.

@spott
Created September 10, 2012 21:40
Show Gist options
  • Select an option

  • Save spott/3694095 to your computer and use it in GitHub Desktop.

Select an option

Save spott/3694095 to your computer and use it in GitHub Desktop.
openblas problems
/usr/bin/make -j 8 -C exports dyn
make[1]: warning: -jN forced in submake: disabling jobserver mode.
perl ./gensymbol osx x86_64 _ 1 0 0 0 > osx.def
cc -O2 -DEXPRECISION -m128bit-long-double -Wall -m64 -DF_INTERFACE_GFORT -fPIC -DSMP_SERVER -DMAX_CPU_NUMBER=8 -DASMNAME=_ -DASMFNAME=__ -DNAME=_ -DCNAME= -DCHAR_NAME=\"_\" -DCHAR_CNAME=\"\" -DNO_AFFINITY -I.. -all_load -headerpad_max_install_names -install_name /private/tmp/brew-openblas-0.2.3-LYWH/xianyi-OpenBLAS-e552452/exports/../libopenblas_sandybridgep-r0.2.3.dylib -dynamiclib -o ../libopenblas_sandybridgep-r0.2.3.dylib ../libopenblas_sandybridgep-r0.2.3.a -Wl,-exported_symbols_list,osx.def -L/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/x86_64 -L/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1 -L/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc -L/usr/local/Cellar/gfortran/4.2.4-5666.3/bin/../lib/gcc/i686-apple-darwin11/4.2.1/../../.. -lgfortran -lgfortran -lSystem -lSystem
Undefined symbols for architecture x86_64:
"___divti3", referenced from:
__gfortran_pow_i16_i4 in libgfortran.a(pow_i16_i4.o)
__gfortran_pow_i16_i8 in libgfortran.a(pow_i16_i8.o)
__gfortran_pow_i16_i16 in libgfortran.a(pow_i16_i16.o)
_convert_integer in libgfortran.a(list_read.o)
"___modti3", referenced from:
_specific__mod_i16 in libgfortran.a(_mod_i16.o)
"___udivti3", referenced from:
__gfortrani_gfc_itoa in libgfortran.a(error.o)
__gfortrani_read_radix in libgfortran.a(read.o)
__gfortrani_read_decimal in libgfortran.a(read.o)
"___umodti3", referenced from:
__gfortrani_gfc_itoa in libgfortran.a(error.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libopenblas_sandybridgep-r0.2.3.dylib] Error 1
make: *** [shared] Error 2
==> Build Environment
HOMEBREW_VERSION: 0.9.3
HEAD: a9f156399dceff9c55a2f4763d05e2dc6424a3f3
CPU: 8-core 64-bit ivybridge
OS X: 10.8.1-x86_64
Xcode: 4.4.1
CLT: 4.4.0.0.1.1249367152
X11: 2.7.2 in /opt/X11
CC: cc
CXX: c++
LD: cc
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
PKG_CONFIG_PATH: /usr/local/lib/pkgconfig:/usr/local/Library/Homebrew/pkgconfig
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /usr/local/Library/ENV/4.3:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: Failed executing: make CC=cc\ FC=/usr/local/bin/gfortran (openblas.rb:17)
This link will help resolve the above errors:
https://github.com/homebrew/homebrew-science/issues/new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment