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