Questions tagged [undefined-symbol]

After all of the input files have been read and all symbol resolution is complete, the link-editor searches the internal symbol table for any symbol references that have not been bound to symbol definitions. These symbol references are referred to as undefined symbols. Undefined symbols can affect the link-edit process according to the type of symbol, together with the type of output file being generated.

Usually the errors related to are mean this:

It means you haven't written a function, or you haven't created a variable, or you haven't linked against the library or object code that contains the missing function or variable.

It means the linker has looked through all the compiled code you told it to, and it still can't find what it's looking for.


Source0 and Source1

417 questions
2
votes
0 answers

What are the exported kernel APIs in a kernel module that are undefined, and Why?

I did an nm -u on the .ko file of a wireless driver's kernel module. The driver source is part of the kernel source tree. The output of nm shows about 100 symbols that are exported, yet undefined. Some of the undefined ones are: printk All PCI…
Nav70
  • 31
  • 1
  • 3
2
votes
2 answers

Exceptions while using GoogleSignIn

I'v added G+ button and tried to run app but receive that And i can't find any solution in google
Ookey
  • 652
  • 1
  • 7
  • 16
2
votes
0 answers

Get "undefined symbol: cairo_surface_get_device_scale" when use caffe in python

After successfully compiled and installed caffe and pycaffe, I got undefined symbol: cairo_surface_get_device_scale when trying to import caffe in Python. >>> import caffe Traceback (most recent call last): File "", line 1, in
2
votes
1 answer

Unresolved external symbol in Boost filesystem library (error LNK2019)

I was trying to debug a linking error LNK2019: unresolved external symbol. In order to so, I tried to list all the symbols in the library that is supposed to contain that symbol. However, I have two questions: 1) First, I am confused about how to…
Ben N.
  • 1,217
  • 2
  • 9
  • 9
2
votes
3 answers

Undefined symbol in Diab linker

i'm trying to run LZMA (C version) (7-zip.org/sdk.html) on an MPC5748G from NXP, by compiling a simple code to encode/decode a stream , i get the follwing WARNING from the linker: scons: done reading SConscript files. scons: Building targets…
jack leporteur
  • 118
  • 1
  • 10
2
votes
2 answers

libmediainfo: qt5 project undefined symbol errors

I am trying to use libmediainfo with my qt5 project and am getting the following error Undefined symbols for architecture x86_64: "MediaInfoLib::MediaInfo::Open(std::basic_string, std::allocator >…
Neal
  • 197
  • 1
  • 16
2
votes
1 answer

Why is the Eclipse C++ "symbol 'std' could not be resolved" error fixed by saving the file?

I'm trying to learn how to use Eclipse for C++ development (using MinGW) and have run into an interesting problem. While writing a simple test program I get the following error: However simply saving the file resolves the error... Why does this…
tjwrona1992
  • 8,614
  • 8
  • 35
  • 98
2
votes
1 answer

Linker issue when switch to Xcode7, Undefined symbols for architecture armv7: _objc_readClassPair

I got this error when I try to use the latest xcode, which is 7.1.1, but got 2 linker error: Error msg image Undefined symbols for architecture armv7: "_objc_readClassPair", referenced from: __ARCLite__load() in…
David Kong
  • 123
  • 1
  • 9
2
votes
2 answers

Symbol(s) not found for architecture i386 Xcode 6.4

I am having trouble trying this project to iOS Simulator. this is the screenshot of errors: I have modified in Build Settings -> Build Active Architecture Only -> No but nothing change... I did not make this framework, but the person who did it,…
Ilario
  • 5,979
  • 2
  • 32
  • 46
2
votes
1 answer

Why does Lua report that lua_pushlstring is undefined?

I managed to compile Lua 5.1.4 for Palm webOS and now I'm trying to write an extension to use webOS' services from Lua. However, when I try to load my library, Lua reports: undefined symbol: lua_pushlstring Here's my code: #define LUA_LIB #include…
David Brown
  • 35,411
  • 11
  • 83
  • 132
2
votes
1 answer

yum install firefox error - libnssutil3.so

I'm getting this error while installing/listing firefox or python on a Linux server. Any ideas how to fix it. # yum install firefox There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: …
AKS
  • 16,482
  • 43
  • 166
  • 258
2
votes
1 answer

boost.python undefined symbol issue

I am trying to compile a project with boost.python, but run into the following problem undefined symbol: _ZN5boost6python7objects23register_dynamic_id_auxENS0_9type_infoEPFNSt3__14pairIPvS2_EE I am building it using cmake ... # Find necessary…
Mike
  • 3,775
  • 8
  • 39
  • 79
2
votes
1 answer

"Undefined symbols for architecture x86_64" in terminal but no error in xcode

This is driving me nuts. I don't understand what the error is telling me and it only appears when I compile using the terminal and call the function. If I include the class.h, make a member called "first", there is no error, but if I call the…
Alexander Kleinhans
  • 5,950
  • 10
  • 55
  • 111
2
votes
1 answer

RubyMine - Keyword 'require' shown red, but application works fine

I have a simple Ruby SOAP application: require 'savon' client = Savon.client(wsdl: 'https://valid.wsdl.url.here', log: true) # more code I am RubyMine and Ruby beginner so, please, forgive me any obvious mistakes. (Although I know IDEA and Java…
wst
  • 4,040
  • 4
  • 41
  • 59
2
votes
1 answer

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

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…
ConnorManning
  • 299
  • 3
  • 14