http://www.winehq.org/site/docs/winelib-guide/spec-file says A typical spec file will look something like this: init WinMain rsrc resource.res And regarding rsrc, "If your project does not have a resource file then you must omit this entry altogether." So my mtapi.dll.spec file looks like this: init DllMain And I only manually made one since make said it was missing. But now I get: mtapi.dll.spec:1: Expected ordinal declaration, got 'init' 1) Should I be manually creating this file? 2) What's with the ordinal declaration? I thought it wanted 'init'.