Top "Linker" questions

The linker is part of the toolchain for producing executables from source code written in compiled programming languages.

gcc: undefined reference to

I would like to compile this. program.c #include <libavcodec/avcodec.h> int main(){ int i = avpicture_get_…

c++ c gcc linker undefined-reference
Compilation fails with "relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object"

I'm trying to compile this source code from the makefile in a VPS, but its not working. The VPS is …

c++ linux gcc linker shared-libraries
GCC C++ Linker errors: Undefined reference to 'vtable for XXX', Undefined reference to 'ClassName::ClassName()'

I'm setting up a C++ project, on Ubuntu x64, using Eclipse-CDT. I'm basically doing a hello world and linking to …

c++ linker g++ eclipse-cdt
What does the "no version information available" error from linux dynamic linker mean?

In our product we ship some linux binaries that dynamically link to system libraries like "libpam". On some customer systems …

linux linker
How do I make a fully statically linked .exe with Visual Studio Express 2005?

My current preferred C++ environment is the free and largely excellent Microsoft Visual Studio 2005 Express edition. From time to time …

c++ visual-studio linker
How to specify non-default shared-library path in GCC Linux? Getting "error while loading shared libraries" when running

There is a laptop on which I have no root privilege. onto the machine I have a library installed using …

gcc linker shared-libraries
What's an object file in C?

I am reading about libraries in C but I have not yet found an explanation on what an object file …

c compilation linker object-files
error LNK2005: xxx already defined in MSVCRT.lib(MSVCR100.dll) C:\something\LIBCMT.lib(setlocal.obj)

I'm using DCMTK library for reading Dicom files (Image format used in medical image processing.) I'm having a problem in …

c++ c visual-c++ linker msvcr100.dll
ld cannot find -l<library>

I am having trouble installing pyipopt on ubuntu 12.04. During linking, I receive the error: /usr/bin/ld: cannot find -lcoinhsl …

gcc ubuntu linker shared-libraries ld
Multiple definition of ... linker error

I defined a special file: config.h My project also has files: t.c, t.h pp.c, pp.h …

c linker linker-errors