[Bug 28519] New: WINE cannot be compiled completely outside the source tree
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Sep 28 10:57:30 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=28519
Bug #: 28519
Summary: WINE cannot be compiled completely outside the source
tree
Product: Wine
Version: 1.3.29
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: build-env
AssignedTo: wine-bugs at winehq.org
ReportedBy: carlo.bramix at libero.it
Classification: Unclassified
1) I unpacked the sources of wine-1.3.29.
2) I created a directory called "wine"
3) I entered into this directory with "cd wine".
4) I lauched configuration with "../wine-13.29/configure
--prefix=$HOME/inst_wine"
5) Configuration completed without errors, then I typed "make".
6) At a certain point, compilation failed with:
../../tools/winegcc/winegcc -B../../tools/winebuild --sysroot=../..
-fasynchronous-unwind-tables -mconsole -municode main.o -o
aspnet_regiis.exe -lwine ../../libs/port/libwine_port.a
aspnet_regiis.exe-Ewrqxf.c:2:20: windef.h: No such file or directory
aspnet_regiis.exe-Ewrqxf.c:3:21: winbase.h: No such file or directory
aspnet_regiis.exe-Ewrqxf.c: In function `main':
aspnet_regiis.exe-Ewrqxf.c:7: error: `wchar_t' undeclared (first use in this
function)
aspnet_regiis.exe-Ewrqxf.c:7: error: (Each undeclared identifier is reported
only once
aspnet_regiis.exe-Ewrqxf.c:7: error: for each function it appears in.)
aspnet_regiis.exe-Ewrqxf.c:7: error: `wargv' undeclared (first use in this
function)
aspnet_regiis.exe-Ewrqxf.c:7: error: `wenv' undeclared (first use in this
function)
aspnet_regiis.exe-Ewrqxf.c:8: error: `HMODULE' undeclared (first use in this
function)
aspnet_regiis.exe-Ewrqxf.c:8: error: parse error before "msvcrt"
aspnet_regiis.exe-Ewrqxf.c:9: error: parse error before "wchar_t"
aspnet_regiis.exe-Ewrqxf.c:10: error: `msvcrt' undeclared (first use in this
function)
aspnet_regiis.exe-Ewrqxf.c:11: error: `NULL' undeclared (first use in this
function)
winegcc: gcc failed
make: *** [aspnet_regiis.exe] Error 2
It looks like that WINE cannot be compiled completely if configured outside the
source tree.
If I copy the content of /include directory from "wine-13.29" (where sources
are) to "wine" (where binaries are), so that a copy of "windef.h", "winbase.h",
etc will be placed there too, compilation completes successfully.
--
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