Skip to content

Instantly share code, notes, and snippets.

Created July 16, 2014 19:24
Show Gist options
  • Save anonymous/bccde39a2d275c22e08f to your computer and use it in GitHub Desktop.
Save anonymous/bccde39a2d275c22e08f to your computer and use it in GitHub Desktop.
clang -O -c -o vecLibFort.o vecLibFort.c
clang -shared -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib -O vecLibFort.c \
-Wl,-reexport_framework -Wl,vecLib \
-install_name /usr/local/lib/libvecLibFortI.dylib
vecLibFort.c:vecLibFort.c:19:1019:10: fatal error: : fatal error: 'vecLib/cblas.h' file not found
'vecLib/cblas.h' file not found
#include <vecLib/cblas.h>
^
#include <vecLib/cblas.h>
^
1 error generated.
make: *** [libvecLibFortI.dylib] Error 1
make: *** Waiting for unfinished jobs....
1 error generated.
make: *** [vecLibFort.o] Error 1
HOMEBREW_VERSION: 0.9.5
HEAD: 0952de8532f181b777ff5a75a08168aac53fc431
CPU: quad-core 64-bit haswell
OS X: 10.9.4-x86_64
Xcode: 5.1.1
X11: 2.7.6 => /opt/X11
clang called with: -shared -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib -O vecLibFort.c -Wl,-reexport_framework -Wl,vecLib -install_name /usr/local/lib/libvecLibFortI.dylib
superenv removed: -O
superenv added: -pipe -w -Os -march=native -m64 -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang -pipe -w -Os -march=native -m64 -shared -DVECLIBFORT_INTERPOSE -o libvecLibFortI.dylib vecLibFort.c -Wl,-reexport_framework -Wl,vecLib -install_name /usr/local/lib/libvecLibFortI.dylib -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -O -c -o vecLibFort.o vecLibFort.c
superenv removed: -O
superenv added: -pipe -w -Os -march=native -m64 -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -pipe -w -Os -march=native -m64 -c -o vecLibFort.o vecLibFort.c -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/libxml2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/apache2 -isystem/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew
HEAD: 0952de8532f181b777ff5a75a08168aac53fc431
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: quad-core 64-bit haswell
OS X: 10.9.4-x86_64
Xcode: 5.1.1
Clang: 5.1 build 503
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-451
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.8/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:
/usr/local/share/man/de
/usr/local/share/man/de/man1
/usr/local/share/man/mann
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
brew install veclibfort
Run `brew missing` for more details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment