English 中文(简体)
影子图书馆
原标题:Where is the library for dlsym

我正在发现这一联系错误:

system/core/libacc/tests/main.cpp:42: error: undefined reference to  dlsym 

您能否告诉我,有9.10座乌普图图书馆藏有乐器?

谢谢。

问题回答

从<代码>dlsym(3)上载:

#include <dlfcn.h>

  ....

Link with -ldl.




相关问题
Where are the symbols etext, edata and end defined?

This is a code from Linux man page: #include <stdio.h> #include <stdlib.h> extern char etext, edata, end; int main() { printf("First address past: "); printf(" program text (...

Problem statically linking MFC libraries

I have a Visual Studio 6 workspace I m trying to convert to a Visual Studio 2008 solution. The output of said solution is a .dll. It has to be a .dll and it needs to statically link MFC as I can t ...

Create a shared lib using another shared lib

I have a shared library "libwiston.so". I am using this to create another shared library called "libAnimation.so", which will be used by another project. Now, the second library "libAnimation.so" can ...

C++ linker - Lack of duplicate symbols

Why does the following code not give me a duplicate symbol linker error for Impl? I ran across this problem in some code I inherited and I m recreating a shorter version here for simplicity. I have ...

problem w/ linking static function g++

I am trying to build a small program and I have my own library libfoo. I have a camera class that is calling a static function from my Vector3 class (i.e. crossProduct). My camera class and Vector3 ...

Extract statically linked libraries from an executable

I m not sure if this is even possible, but given an executable file (foo.exe), with has many libraries which has been linked statically. Is there any software that extract from this file the .lib ( ...

热门标签