|
From: Karl S. <kar...@gm...> - 2013-02-28 20:39:21
|
Hello, I'm using MinGW-w64 with GCC 4.7.1 from the mingw-builds project ( http://mingw-builds.googlecode.com), and the linker complains of syntax errors when parsing the generated DEF file. I have binutils version 2.22.90.20120727. Microsoft's documentation states that a DEF file must begin with "LIBRARY *.dll", and this is missing from src/liblo.def.in. It's possible that earlier versions of binutils were a bit more lax and would handle "malformed" DEF files. See http://msdn.microsoft.com/en-us/library/d91k01sh%28v=vs.80%29.aspx By adding "LIBRARY liblo-7.dll" to the top of src/liblo.def.in, I was able to build a liblo DLL successfully. Perhaps liblo's libtool script needs some slight changes? Thanks, - Karl |