Which 68040.library version are you using? v44.x?? I believe you need to have Phase 5's version installed; though I could be wrong about that. Try renaming the commodore 68040.library 68040old.library and then install the Phase 5 68040.library in LIBS: