“/usr/bin/ld: cannot find -lz”
I am trying to compile Android source code under Ubuntu 10.04. I get an error saying, /usr/bin/ld: cannot find -lz Can you please … Read more
I am trying to compile Android source code under Ubuntu 10.04. I get an error saying, /usr/bin/ld: cannot find -lz Can you please … Read more
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 -Wbad-function-cast -Wcast-align -Wstrict-prototypes … Read more
I just ran across the following error (and found the solution online, but it’s not present in Stack Overflow): (.gnu.linkonce.[stuff]): undefined reference to … Read more
This warning: LINK : warning LNK4098: defaultlib ‘MSVCRT’ conflicts with use of other libs; use /NODEFAULTLIB:library is a fairly common warning in Visual … Read more
I often hear the terms ‘statically linked’ and ‘dynamically linked’, often in reference to code written in C, C++ or C#. What are … Read more
I have been involved in some debate with respect to libraries in Linux, and would like to confirm some things. It is to … Read more
How does the compilation and linking process work? (Note: This is meant to be an entry to Stack Overflow’s C++ FAQ. If you … Read more
Why does the order in which libraries are linked sometimes cause errors in GCC? 9 s 9 (See the history on this answer … Read more
Is it possible to embed a pre-existing DLL into a compiled C# executable (so that you only have one file to distribute)? If … Read more