Stop Undefined References
There are many reasons why you might receive undefined references. The typical reason is that you have not specified an appropriate library or your command line order is incorrect. In order for a library to resolve references the dependency for the library must precede the library in the command line order.
E.G.
gcc -o foo -L/path/to/mylib bar.o -lbaz
Recent comments
7 years 11 weeks ago
7 years 11 weeks ago
7 years 44 weeks ago
7 years 44 weeks ago
7 years 44 weeks ago
7 years 44 weeks ago
7 years 45 weeks ago
7 years 45 weeks ago
7 years 46 weeks ago
8 years 1 week ago