On Sunday 18 March 2012, R.L. Horn wrote: > On Sat, 17 Mar 2012, Dr.Leo wrote: > > > ...the linker terminates with errors after generating the dll.a file. > > > By the way, I believe the pkg-config.pc is not entirely correct apart from > > the wrong filename (libsndfile instead of libsndfile-1): the '-l' option > > should arguably be separated from the name: "-l libsndfile-1), > > -lARCHIVE is the "orthodox" syntax. > > Typically, a DLL file will have a version suffix, but the import library > won't. IOW, lib/libsndfile.dll.a will reference bin/libsndfile-1.dll.
The Windows libsndfile distribution doesn't provide an import library for MinGW, only for MSVC, and the files are named: bin/libsndfile-1.dll lib/libsndfile-1.def lib/libsndfile-1.lib MinGW works fine without an import library, using directly the DLL. The problem is the "sndfile.pc", that needs a change in the "Libs:" line, from "-lsndfile" to "-llibsndfile-1". Regards, Pedro _______________________________________________ fluid-dev mailing list fluid-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/fluid-dev