Dont use .def files to export symbols and add -logg dependancy
Autotools