[Bug 21181] New: Wine does not compile on Cygwin
http://bugs.winehq.org/show_bug.cgi?id=21181 Summary: Wine does not compile on Cygwin Product: Wine Version: unspecified Platform: x86 OS/Version: Windows XP Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: cerebro.alexiel(a)gmail.com Currently, wine does not compile on windows with cygwin. If someone is interested, please read first http://wiki.winehq.org/WineOnWindows. I think we should create a bug for each failing "make" and adding them to "depends on" list. We should try to get wine working on Windows XP 32 bits first. And please use the latest version of Cygwin (flex,bison,gcc4,make) and wine (git) during your tests. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #1 from Alexandre Julliard <julliard(a)winehq.org> 2009-12-29 08:03:48 --- Don't create metabugs. Just put the build errors in this bug. Note that you are not going to get Wine working on Windows; all you can do is replace some of the high-level dlls. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #2 from Alex <cerebro.alexiel(a)gmail.com> 2009-12-29 09:28:58 --- As you wish Sir !! (The boss is always right) To begin, I ran make in libs/ (to get libwine and libwine_port) then in tools/ (to get winegcc, winebuild ...) Except some warnings, all went OK. And I tried 'make' in loader/. It's maybe a bad choice but it doesn't depend on kernel32, no spec files...etc (logs are attached below) The linker doesn't complain (so he found libwine) but can't find reference to wine_mmap_add_reserved_area (although defined in libs/wine/mmap.c). I hope you understand what's wrong. make wine-preloader fails too. And here I know why : syscall.h is not present in cygwin. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #3 from Alex <cerebro.alexiel(a)gmail.com> 2009-12-29 09:30:49 --- Created an attachment (id=25430) --> (http://bugs.winehq.org/attachment.cgi?id=25430) wine-git/loader$ make wine > loader_wine_err 2>&1 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #4 from Alex <cerebro.alexiel(a)gmail.com> 2009-12-29 09:31:37 --- Created an attachment (id=25431) --> (http://bugs.winehq.org/attachment.cgi?id=25431) wine-git/loader$ make wine-preloader > loader_wine-preloader_err 2>&1 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #5 from Alexandre Julliard <julliard(a)winehq.org> 2009-12-29 11:08:43 --- The loader is not useful on Windows. You should do a make from the top level, which will skip the parts that can't work. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Dmitry Timoshkov <dmitry(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.1.35 --- Comment #6 from Dmitry Timoshkov <dmitry(a)codeweavers.com> 2009-12-29 11:13:09 --- Assuming that it's git version of Wine. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Alex <cerebro.alexiel(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25430|0 |1 is obsolete| | Attachment #25431|0 |1 is obsolete| | --- Comment #7 from Alex <cerebro.alexiel(a)gmail.com> 2009-12-29 12:57:39 --- Created an attachment (id=25434) --> (http://bugs.winehq.org/attachment.cgi?id=25434) wine-git$ make > wine_err 2>&1 As requested, here is the make log from the top level. If you need './configure --without-freetype' log, just tell me. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Alex <cerebro.alexiel(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25434|application/octet-stream |application/x-bzip mime type| | -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #8 from Alexandre Julliard <julliard(a)winehq.org> 2009-12-29 13:54:09 --- Sounds like it's not detected as a Windows platform, probably the #ifdefs in the tools need some tweaking. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Alex <cerebro.alexiel(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25434|0 |1 is obsolete| | --- Comment #9 from Alex <cerebro.alexiel(a)gmail.com> 2009-12-30 14:39:59 --- Created an attachment (id=25458) --> (http://bugs.winehq.org/attachment.cgi?id=25458) wine-git$ make > wine_err 2>&1 As you updated wine today, I'm posting here the last result of 'make'. I should maybe wait some days before posting again until someone (you ?) implements Unix style importation. Oh.. I forgot to say 'Thank you'. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 David Gerard <dgerard(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dgerard(a)gmail.com --- Comment #10 from David Gerard <dgerard(a)gmail.com> 2010-01-11 21:41:13 --- I can confirm this one happens for me too - dies in d3dx9_36 with the same error message. I've added it to the WineOnWindows page. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #11 from David Gerard <dgerard(a)gmail.com> 2010-01-13 11:56:56 --- To work around this one, add CFLAGS="_WIN32", i.e. CFLAGS="_WIN32" ./configure Presumably there's a good place to put this in the configuration. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #12 from David Gerard <dgerard(a)gmail.com> 2010-01-13 13:22:56 --- That should be: CFLAGS="-D_WIN32" ./configure Suggested by Andre Hentschel. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #13 from Alex <cerebro.alexiel(a)gmail.com> 2010-01-15 14:44:51 --- Created an attachment (id=25743) --> (http://bugs.winehq.org/attachment.cgi?id=25743) CFLAGS="-D_WIN32" ./configure --without-freetype && make > log 2>&1 I just did what David suggested and now wine compiles until msvcrt/tests. Still using git version of wine but I don't use ccache as Dave. According to the WineOnWindows page, we have not the same issue so if someone else could do it again... I'm attaching here the tailed log of make. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv(a)dawncrow.de -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #14 from David Gerard <dgerard(a)gmail.com> 2010-01-31 10:06:33 --- @Alex - it's a bit of a Heisenbug! I just did a "make clean" and compiled not using CCACHE but using -D_WIN32 and it got as far as cmd.exe, per bug 21526. Try compiling completely clean and see how it goes. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Pierre Monteux <iampierremonteux(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iampierremonteux(a)gmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Alex <cerebro.alexiel(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #25743|0 |1 is obsolete| | --- Comment #15 from Alex <cerebro.alexiel(a)gmail.com> 2010-03-02 15:19:34 --- (From update of attachment 25743) Now ./configure does not need workarounds any more. Just run './configure && make' and it should start compiling. Unfortunatly, with my poor 1.6GHz processor, ./configure takes more than an hour to complete (in a VirtualBox machine) So if someone could do './configure && make > log 2>&1' and attach 'tail log' I could try to figure out what's wrong and send new patches. Bug 21526 could be fixed too. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #16 from Austin English <austinenglish(a)gmail.com> 2010-03-02 15:37:20 --- (In reply to comment #15)
(From update of attachment 25743 [details]) Now ./configure does not need workarounds any more.
Just run './configure && make' and it should start compiling.
Unfortunatly, with my poor 1.6GHz processor, ./configure takes more than an hour to complete (in a VirtualBox machine)
So if someone could do './configure && make > log 2>&1' and attach 'tail log' I could try to figure out what's wrong and send new patches.
I'm attaching the run from make -k.
Bug 21526 could be fixed too.
No, it's still there. But now --without-freetype is no longer needed :-). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #17 from Austin English <austinenglish(a)gmail.com> 2010-03-02 15:42:21 --- Created an attachment (id=26581) --> (http://bugs.winehq.org/attachment.cgi?id=26581) make log Actually, the programs are the only errors left. There are several warnings like in bug 16962. The configure script fails to pick up OpenSSL, though it may be a cygwin bug. There are a few missing packages, that aren't bundled by cygwin. If work slows down in the next few days I'll look at sending cygwin patches for those (v4l, mpg123, sane, gphoto2, etc.). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |21526 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #18 from David Gerard <dgerard(a)gmail.com> 2010-03-03 13:28:47 --- Latest git gets past the d3dx9_36 problem for me, too. I think we can close this one. Though it really should get a better and more searchable subject line, e.g. "d3dx9_36.dll doesn't compile on Cygwin", first. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #19 from Austin English <austinenglish(a)gmail.com> 2010-03-03 16:54:27 --- (In reply to comment #18)
Latest git gets past the d3dx9_36 problem for me, too. I think we can close this one. Though it really should get a better and more searchable subject line, e.g. "d3dx9_36.dll doesn't compile on Cygwin", first.
Eh, the bug is that wine doesn't compile on cygwin, and that's still true. I see no reason to close it. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #20 from Pierre Monteux <iampierremonteux(a)gmail.com> 2010-03-03 19:13:08 --- I can confirm it now makes it past d3dx9_36 and up to cmd.exe before bailing. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #21 from Austin English <austinenglish(a)gmail.com> 2010-06-15 14:52:30 --- Looks like the cmd and other programs failing to build is fixed by http://source.winehq.org/git/wine.git/?a=commitdiff;h=5f7bbb2ab2ce4f2d66e610.... The build currently fails for me in dlls/ws2_32/tests/sock.c. See bug 23200. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Bug 21181 depends on bug 21526, which changed state. Bug 21526 Summary: several programs fail to compile under cygwin http://bugs.winehq.org/show_bug.cgi?id=21526 What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #22 from Austin English <austinenglish(a)gmail.com> 2010-06-16 14:38:54 --- This is now fixed. The last hangups were dlls/ws2_32/tests/sock.c, fixed by: http://source.winehq.org/git/wine.git/?a=commitdiff;h=76efc82860b4d2d53e8137... and programs/view/*rc, fixed by: http://source.winehq.org/git/wine.git/?a=commitdiff;h=cdf6947080695a288fec56... Of course, wine itself is not fully functional on cygwin, and some of the programs don't work, but those should be separate bugs. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 --- Comment #23 from Austin English <austinenglish(a)gmail.com> 2010-06-16 14:39:20 --- Created an attachment (id=28896) --> (http://bugs.winehq.org/attachment.cgi?id=28896) Wine notepad compiled with cygwin running on windows XP A picture is worth a thousand words :-) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #24 from Alexandre Julliard <julliard(a)winehq.org> 2010-06-18 12:47:12 --- Closing bugs fixed in 1.2-rc4. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=21181 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Windows XP |Windows -- 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.
https://bugs.winehq.org/show_bug.cgi?id=21181 André H. <nerv(a)dawncrow.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |76efc82860b4d2d53e81370e672 | |07d0a842d5e75 -- 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.
participants (1)
-
wine-bugs@winehq.org