[Bug 21526] New: several programs fail to compile under cygwin

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jan 28 15:55:57 CST 2010


http://bugs.winehq.org/show_bug.cgi?id=21526

           Summary: several programs fail to compile under cygwin
           Product: Wine
           Version: 1.1.37
          Platform: x86
               URL: http://www.cygwin.com
        OS/Version: Windows XP
            Status: NEW
          Keywords: download, source
          Severity: enhancement
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: austinenglish at gmail.com


Seems to be related to command line arguments:
cmd.exe-HRRQ2O.c: In function `main':
cmd.exe-HRRQ2O.c:5: error: `__wargv' undeclared (first use in this function)
cmd.exe-HRRQ2O.c:5: error: (Each undeclared identifier is reported only once
cmd.exe-HRRQ2O.c:5: error: for each function it appears in.)

Also affects:
dxdiag.exe-8dF1r2.c:5: error: `__wargv' undeclared (first use in this function)
explorer.exe-huqBP4.c:5: error: `__wargv' undeclared (first use in this
function)
extrac32.exe-ZBAgOk.c:5: error: `__wargv' undeclared (first use in this
function)
mshta.exe-ivENd9.c:5: error: `__wargv' undeclared (first use in this function)
reg.exe-bHwntd.c:5: error: `__wargv' undeclared (first use in this function)
start.exe-LokQFy.c:5: error: `__wargv' undeclared (first use in this function)
svchost.exe-ntfQ5M.c:5: error: `__wargv' undeclared (first use in this
function)
termsv.exe-aacxDf.c:5: error: `__wargv' undeclared (first use in this function)
uninstaller.exe-iXvRef.c:5: error: `__wargv' undeclared (first use in this
function)
winebrowser.exe-zWnYcC.c:5: error: `__wargv' undeclared (first use in this
function)
winedevice.exe-SvwxgZ.c:5: error: `__wargv' undeclared (first use in this
function)
winepath.exe-guBaBG.c:5: error: `__wargv' undeclared (first use in this
function)
xcopy.exe-0dP3a3.c:5: error: `__wargv' undeclared (first use in this function)


Notepad/regedit have a different (but possibly related) problem:
dialog.o: In function `DIALOG_Search':
/home/austin/wine-git/programs/notepad/dialog.c:1059: undefined reference to
`___assert_func'
dialog.o: In function `DIALOG_Replace':
/home/austin/wine-git/programs/notepad/dialog.c:1093: undefined reference to
`___assert_func'

hexedit.o: In function `HexEdit_WindowProc':
/home/austin/wine-git/programs/regedit/hexedit.c:307: undefined reference to
`___assert_func'
regproc.o: In function `import_registry_file':
/home/austin/wine-git/programs/regedit/regproc.c:671: undefined reference to
`___assert_func'
collect2: ld returned 1 exit status

Other than this, when using CFLAGS="-D _WIN32" the compile works.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list