http://bugs.winehq.org/show_bug.cgi?id=26596
Summary: FTBFS: RTLD_NOW, MessageBoxA, and MB_OK undefined in JACK_DriverProc() Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: xanthraxoid@yahoo.co.uk
Building from source using git revision 9ea9a053b9d28cff9ae3aa1d2c684192d1df2e39
I'm not sure how to find the friendlier number of 1.3.16-[somethingorother]-[githash]
I get the same thing on my ubunto 32 bit box (maveric meerkat) and my debian 64 bit box (wheezy - testing)
This is the last part of the build, first from the ubuntu box, then the debian box - they look the same to me, but there may be important subtleties I'm not affine to!):
make[1]: Entering directory `/home/sammy/src/wine/wine-git/dlls/winejack.drv' gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -o audio.o audio.c audio.c: In function ‘JACK_DriverProc’: audio.c:2419: error: ‘RTLD_NOW’ undeclared (first use in this function) audio.c:2419: error: (Each undeclared identifier is reported only once audio.c:2419: error: for each function it appears in.) audio.c:2443: warning: implicit declaration of function ‘MessageBoxA’ audio.c:2443: error: ‘MB_OK’ undeclared (first use in this function) make[1]: *** [audio.o] Error 1 make[1]: Leaving directory `/home/sammy/src/wine/wine-git/dlls/winejack.drv' make: *** [dlls/winejack.drv] Error 2
make[1]: Entering directory `/home/sammy/src/wine/wine-git/dlls/winejack.drv' gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wstrict-prototypes -Wtype-limits -Wwrite-strings -Wpointer-arith -Wlogical-op -g -O2 -o audio.o audio.c audio.c: In function 'JACK_DriverProc': audio.c:2419:50: error: 'RTLD_NOW' undeclared (first use in this function) audio.c:2419:50: note: each undeclared identifier is reported only once for each function it appears in audio.c:2443:5: warning: implicit declaration of function 'MessageBoxA' audio.c:2443:78: error: 'MB_OK' undeclared (first use in this function) make[1]: *** [audio.o] Error 1 make[1]: Leaving directory `/home/sammy/src/wine/wine-git/dlls/winejack.drv' make: *** [dlls/winejack.drv] Error 2
Cheers & God bless Sam "SammyTheSnake" Penny
http://bugs.winehq.org/show_bug.cgi?id=26596
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |1.3.16
--- Comment #1 from Andrew Nguyen arethusa26@gmail.com 2011-03-30 04:53:05 CDT --- Does applying http://source.winehq.org/patches/data/72685 resolve the build failure?
http://bugs.winehq.org/show_bug.cgi?id=26596
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
http://bugs.winehq.org/show_bug.cgi?id=26596
--- Comment #2 from Sam Penny xanthraxoid@yahoo.co.uk 2011-03-30 05:26:12 CDT --- (In reply to comment #1)
Does applying http://source.winehq.org/patches/data/72685 resolve the build failure?
I've applied the patch and the build seems to be working on both machines, so I'm going to tentatively say yes, this fixes the build. I'll confirm when the build has finished.
It's still churning through the rest of the build, but unsurprisingly winejack.drv/audio.c was pretty much the first file to be compiled on re-starting the build, so it should be AOK :)
Cheers & God bless Sam "SammyTheSnake" Penny
http://bugs.winehq.org/show_bug.cgi?id=26596
Sam Penny xanthraxoid@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #3 from Sam Penny xanthraxoid@yahoo.co.uk 2011-03-30 05:33:56 CDT --- The build / install has now completed on both machines without error, so I'm marking this as resolved.
A status of something equivalent to "patch provided" would be closer but I'm assuming you'll submit this patch to Alexandre in the normal way, right?
I'm also guessing this is a bug that turns up in some system configurations but not others?
Thanks for your super-rapid response, by the way!
Cheers & God bless Sam "SammyTheSnake" Penny
http://bugs.winehq.org/show_bug.cgi?id=26596
Sam Penny xanthraxoid@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xanthraxoid@yahoo.co.uk
http://bugs.winehq.org/show_bug.cgi?id=26596
Andrew Nguyen arethusa26@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|FIXED |
--- Comment #4 from Andrew Nguyen arethusa26@gmail.com 2011-03-30 06:03:12 CDT --- The patch has not been committed yet, and Vincent's patch is sourced from the wine-patches list.
http://bugs.winehq.org/show_bug.cgi?id=26596
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #5 from Austin English austinenglish@gmail.com 2011-03-30 15:59:48 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/0adc1b60d872b5f06cf4a33bb9b...
http://bugs.winehq.org/show_bug.cgi?id=26596
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2011-04-01 12:40:31 CDT --- Closing bugs fixed in 1.3.17.