Top "Linker" questions

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

ld cannot find an existing library

I am attempting to link an application with g++ on this Debian lenny system. ld is complaining it cannot find …

linux gcc linker shared-libraries shared-objects
libpthread.so.0: error adding symbols: DSO missing from command line

When I'm compiling openvswitch-1.5.0, I've encountered the following compile error: gcc -Wstrict-prototypes -Wall -Wno-sign-compare -Wpointer-arith -Wdeclaration-after-statement -Wformat-security -Wswitch-enum -Wunused-parameter -Wstrict-aliasing …

gcc compiler-errors linker undefined-reference
Why does fatal error "LNK1104: cannot open file 'C:\Program.obj'" occur when I compile a C++ project in Visual Studio?

I've created a new C++ project in Visual Studio 2008. No code has been written yet; Only project settings have been …

visual-c++ linker
Embedding DLLs in a compiled executable

Is it possible to embed a pre-existing DLL into a compiled C# executable (so that you only have one file …

c# .net dll merge linker
error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

I don't know what's wrong with it.. I can't find where the error is, commenting out the implementation doesn't resolve …

c++ linker
How to specify preference of library path?

I'm compiling a c++ program using g++ and ld. I have a .so library I want to be used during …

c++ linker g++
What is compiler, linker, loader?

I wanted to know in depth meaning and working of compiler, linker and loader. With reference to any language preferably …

compiler-construction linker terminology loader
Why am I getting "undefined reference to sqrt" error even though I include math.h header?

I'm very new to C and I have this code: #include <stdio.h> #include <math.h> …

c linker linker-errors libm
How does the compilation/linking process work?

How does the compilation and linking process work? (Note: This is meant to be an entry to Stack Overflow's C++ …

c++ compiler-construction linker c++-faq
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in main.obj

I have read a lot of solutions to my problem but none helped. I tried clean, rebuild. Reinstalled visual 2010 and …

c++ debugging linker