Hi, The Cygwin LD program reports a syntax error for an import def file describing functions to import from a DLL called "VERSION". Other DLL names work - this problem only occurs when the DLL is named "VERSION". Unfortunately VERSION.DLL is a standard Windows DLL (included with Windows) and is needed by this build.
Cygwin LD version: "GNU ld (GNU Binutils) 2.18.50.20080523" Error reported: ld: snwvalid/VERSION.def:1: syntax error ld:snwvalid/VERSION.def: file format not recognized; treating as linker script ld:snwvalid/VERSION.def:1: syntax error VERSION.DEF import file (5 lines): LIBRARY VERSION.dll IMPORTS VerQueryValueA = VERSION.VerQueryValueA GetFileVersionInfoA = VERSION.GetFileVersionInfoA GetFileVersionInfoSizeA = VERSION.GetFileVersionInfoSizeA Replacing the string "VERSION" with "xVERSION" in the 4 places in this file allows the linker to complete (although now referring to a non-existent xVERSION.DLL file). Nick -- Summary: cygwin LD bails on an import file for VERSION.DLL Product: binutils Version: 2.18 Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: jafa at silicondust dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=6642 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils