Greg Jung <[email protected]> writes: > My apologies to be posting such a basic problem here, I'm getting undefined > references:
This type of errors are usually caused by wrong order of listed libraries on the command line. If library A contains references to library B, you need to list -lA before -lB on the command line because, while resolving references, the GNU linker only looks at the libraries that comes after the one it is currently processing. Although this is not your case, the Same rule applies to object files: if you put the libraries before the object files on the command line, the linker will not process those libraries while resolving the symbols of the object files. ------------------------------------------------------------------------------ _______________________________________________ Msys2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/msys2-users
