undefined-symbol

How do I reliably get Instruments 4.x to symbolicate?

你离开我真会死。 提交于 2019-12-03 15:11:53
问题 I have a bit of a dilemma — no matter what I do, I cannot get Apple's Instruments.app to symbolicate any of the included instruments while I'm profiling on my devices (it works OK in the iOS Simulator). I've tried just about everything I can think of, including: Checking that I'm actually building a dSYM Switching between Debug and Release build schemes Making sure that the signing certificate being used in my Development cert Adding and removing my Derived Data folder from Spotlight's

Xcode gives Apple Mach-O linker error

China☆狼群 提交于 2019-12-03 05:41:56
问题 I just compiled a project and Xcode returns these two errors which don't seem to be my code's fault. How do I fix them? Undefined symbols for architecture i386: "_vImageBoxConvolve_ARGB8888", referenced from: -[UIImage(Blur) boxblurImageWithBlur:] in UIImage+Blur.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) 回答1: Teaching a man (or women) how to fish: Usually Mach-O Linker Error means you have not included a

How do I reliably get Instruments 4.x to symbolicate?

谁说胖子不能爱 提交于 2019-12-03 04:52:12
I have a bit of a dilemma — no matter what I do, I cannot get Apple's Instruments.app to symbolicate any of the included instruments while I'm profiling on my devices (it works OK in the iOS Simulator). I've tried just about everything I can think of, including: Checking that I'm actually building a dSYM Switching between Debug and Release build schemes Making sure that the signing certificate being used in my Development cert Adding and removing my Derived Data folder from Spotlight's Privacy list Clean & Build before profiling Removing the Derived Data folder before building and profiling I

RAILS, bundle install returns - undefined symbol: SSLv2_method [duplicate]

妖精的绣舞 提交于 2019-12-02 08:35:19
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: undefined symbol: SSLv2_method when running bundle install I try "bundle install" my Rails project, but I have this error: Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in

RAILS, bundle install returns - undefined symbol: SSLv2_method [duplicate]

孤街醉人 提交于 2019-12-02 06:06:59
Possible Duplicate: undefined symbol: SSLv2_method when running bundle install I try "bundle install" my Rails project, but I have this error: Fetching gem metadata from https://rubygems.org/.Unfortunately, a fatal error has occurred. Please see the Bundler troubleshooting documentation at http://bit.ly/bundler-issues. Thanks! /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-linux/openssl.so: undefined symbol: SSLv2_method - /home/vekozlov/.rvm/rubies/ruby-1.9.3-p0/lib

C++ linker error in Apache Thrift tutorial - undefined symbols

非 Y 不嫁゛ 提交于 2019-12-02 03:45:17
I am running through Apache's Thrift tutorial: http://wiki.apache.org/thrift/ThriftUsageC%2B%2B My Thrift is version 0.9.1, and I'm on OS X. I've performed a search for similar problems with this tutorial, and while other people have also had issues they don't appear to be similar to the one I'm having. The server both compiles and links properly, and the client compiles correctly as well. The problem is linking the client at the very last step of the tutorial, where I get this: Undefined symbols for architecture x86_64: "apache::thrift::transport::TSocket::TSocket(std::string, int)",

“__aeabi_ldivmod” undefined when compiling kernel module

ⅰ亾dé卋堺 提交于 2019-12-01 16:19:20
I'm trying to compile a kernel module (which I wrote myself) on a raspberry pi. I am compiling it in the target environment. I get the following output: make -C /lib/modules/3.12.23-1.20140626git25673c3.rpfr20.armv6hl.bcm2708/build M=/home/harmic/horus/ppminput modules make[1]: Entering directory `/usr/src/kernels/3.12.23-1.20140626git25673c3.rpfr20.armv6hl.bcm2708' CC [M] /home/harmic/horus/ppminput/ppminput.o Building modules, stage 2. MODPOST 1 modules WARNING: "__aeabi_ldivmod" [/home/harmic/horus/ppminput/ppminput.ko] undefined! CC /home/harmic/horus/ppminput/ppminput.mod.o LD [M] /home

“__aeabi_ldivmod” undefined when compiling kernel module

元气小坏坏 提交于 2019-12-01 15:11:18
问题 I'm trying to compile a kernel module (which I wrote myself) on a raspberry pi. I am compiling it in the target environment. I get the following output: make -C /lib/modules/3.12.23-1.20140626git25673c3.rpfr20.armv6hl.bcm2708/build M=/home/harmic/horus/ppminput modules make[1]: Entering directory `/usr/src/kernels/3.12.23-1.20140626git25673c3.rpfr20.armv6hl.bcm2708' CC [M] /home/harmic/horus/ppminput/ppminput.o Building modules, stage 2. MODPOST 1 modules WARNING: "__aeabi_ldivmod" [/home

How to determine inter-library dependencies?

被刻印的时光 ゝ 提交于 2019-12-01 06:10:25
My project consists of a couple of static libraries, which are linked together in a final step. Now I have the problem, that the link order of the library is important (otherwise I get an undefined symbol linker error). Sometimes I run into the problem, that I have to re-sort the linked libraries (-lcommon -lsetup -lcontrol etc). At the moment it's a stupid trial and error: re-sort, compile, check error, re-sort, compile and so on. So I wrote a small program to show me the inter-library-dependencies and generates me the order of libraries to link. It reads in the defined ('T', 'B', etc) and

Cython build resulting in undefined symbol

こ雲淡風輕ζ 提交于 2019-12-01 04:48:38
I've got a c++ program I'm trying to wrap/convert to Cython. It uses a particular library that for some reason, will not result in a working module for importing. There is a working c++ program, by the way. Here's the setup.py: ext_modules = [ Extension( name="libnmfpy", sources=["interface/nmf_lib.pyx"], include_dirs = ["../src/", numpy.get_include()], libraries=["nmf","mpi_cxx","mpi","m"], library_dirs=["../build/Linux/bin.release","/usr/local/lib/","/usr/lib"], language="c++",) ] setup( name = 'libnmfpy', cmdclass = {'build_ext': build_ext}, ext_modules = ext_modules, ) I should mention it