Hi,
I just updated my local tree and ran CFLAGS="-g -O0" ./configure --disable-tests && make and I got
make[1]: Entering directory `/home/alex/Projects/wine/dlls/winex11.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 -O0 -o xrender.o xrender.c xrender.c: In function 'X11DRV_XRender_Init': xrender.c:398: error: 'SONAME_LIBFONTCONFIG' undeclared (first use in this function) xrender.c:398: error: (Each undeclared identifier is reported only once xrender.c:398: error: for each function it appears in.) xrender.c:401: error: 'pFcConfigSubstitute' undeclared (first use in this function) xrender.c:402: error: 'pFcDefaultSubstitute' undeclared (first use in this function) xrender.c:403: error: 'pFcFontMatch' undeclared (first use in this function) xrender.c:404: error: 'pFcInit' undeclared (first use in this function) xrender.c:405: error: 'pFcPatternCreate' undeclared (first use in this function) xrender.c:406: error: 'pFcPatternDestroy' undeclared (first use in this function) xrender.c:407: error: 'pFcPatternAddInteger' undeclared (first use in this function) xrender.c:408: error: 'pFcPatternAddString' undeclared (first use in this function) xrender.c:409: error: 'pFcPatternGetInteger' undeclared (first use in this function) xrender.c:411: error: 'fontconfig_installed' undeclared (first use in this function) xrender.c:411: warning: implicit declaration of function 'pFcInit' xrender.c:413: error: expected ')' before 'SONAME_LIBFONTCONFIG' make[1]: *** [xrender.o] Error 1 make[1]: Leaving directory `/home/alex/Projects/wine/dlls/winex11.drv' make: *** [dlls/winex11.drv] Error 2
Is anyone else experiencing this ?
On Tue, May 18, 2010 at 11:39 AM, GOUJON Alexandre ale.goujon@gmail.com wrote:
Hi,
I just updated my local tree and ran CFLAGS="-g -O0" ./configure --disable-tests && make and I got
xrender.c:411: warning: implicit declaration of function 'pFcInit' xrender.c:413: error: expected ')' before 'SONAME_LIBFONTCONFIG' make[1]: *** [xrender.o] Error 1 make[1]: Leaving directory `/home/alex/Projects/wine/dlls/winex11.drv' make: *** [dlls/winex11.drv] Error 2
Is anyone else experiencing this ?
Works fine here on Ubuntu Hardy with today's wine-git. Do you have all the build dependencies? http://wiki.winehq.org/Recommended_Packages
Lei Zhang wrote:
Works fine here on Ubuntu Hardy with today's wine-git. Do you have all the build dependencies? http://wiki.winehq.org/Recommended_Packages
Yep. But now you're talking about dependencies I'm thinking I recently installed xrandr headers. My mistake. I will run make distclean to be sure that all is clean.
Thanks
Le 05/18/10 20:39, GOUJON Alexandre a écrit :
xrender.c: In function 'X11DRV_XRender_Init': xrender.c:398: error: 'SONAME_LIBFONTCONFIG' undeclared (first use in this function)
In fact, the 398th line is if ((fontconfig_handle = wine_dlopen(SONAME_LIBFONTCONFIG, RTLD_NOW, NULL, 0))) and I guess an #ifdef is missing
Now with libfontconfig1-dev installed I have a | #define SONAME_LIBFONTCONFIG "libfontconfig.so.1" in config.log
And all is working.
I just wonder why is this just happening now...
On Tue, May 18, 2010 at 3:08 PM, GOUJON Alexandre ale.goujon@gmail.com wrote:
Le 05/18/10 20:39, GOUJON Alexandre a écrit :
xrender.c: In function 'X11DRV_XRender_Init': xrender.c:398: error: 'SONAME_LIBFONTCONFIG' undeclared (first use in this function)
In fact, the 398th line is if ((fontconfig_handle = wine_dlopen(SONAME_LIBFONTCONFIG, RTLD_NOW, NULL, 0))) and I guess an #ifdef is missing
Now with libfontconfig1-dev installed I have a | #define SONAME_LIBFONTCONFIG "libfontconfig.so.1" in config.log
And all is working.
I just wonder why is this just happening now...
Probably related to http://source.winehq.org/git/wine.git/?a=commitdiff;h=922e15cbd04fde3d9d4fbb...