Subject: Re: Problem building Wine
To: Sylvester F <sylvester_f@hotmail.com>
From: Adam <adam@albedo.art.pl>
List: tech-pkg
Date: 03/05/2004 19:08:57
Sylvester,
What X11 version are you using?
Thank you,
Adam
On Mar 5, 2004, at 17:09, Sylvester F wrote:
> Hi
>
> I'm having trouble building Wine from pkgsrc. Building fails to
> following error:
>
> [snip]
> gcc -c -I. -I. -I../../include -I../../include -I/usr/X11R6/include
> -D__WINESRC__ -DBINDIR="\"/usr/pkg/bin\"" -D_REENTRANT -fPIC -Wall
> -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
> -Wpointer-arith -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2
> -I/usr/pkg/include -I/usr/X11R6/include -O2 -DGLX_GLXEXT_LEGACY
> -I/usr/pkg/include -I/usr/X11R6/include -o xrandr.o xrandr.c
> xrandr.c: In function `X11DRV_XRandR_GetCurrentMode':
> xrandr.c:97: warning: implicit declaration of function
> `XRRConfigCurrentConfiguration'
> xrandr.c:98: warning: implicit declaration of function
> `XRRConfigCurrentRate'
> xrandr.c:108: warning: implicit declaration of function
> `XRRFreeScreenConfigInfo'
> xrandr.c: In function `X11DRV_XRandR_SetCurrentMode':
> xrandr.c:154: warning: implicit declaration of function
> `XRRSetScreenConfigAndRate'
> xrandr.c:164: error: too few arguments to function `XRRSetScreenConfig'
> xrandr.c: In function `X11DRV_XRandR_Init':
> xrandr.c:199: warning: passing arg 1 of `XRRSizes' from incompatible
> pointer type
> xrandr.c:199: warning: passing arg 2 of `XRRSizes' makes pointer from
> integer without a cast
> xrandr.c:199: error: too many arguments to function `XRRSizes'
> xrandr.c:208: warning: implicit declaration of function `XRRRates'
> xrandr.c:208: warning: assignment makes pointer from integer without a
> cast
> gmake[2]: *** [xrandr.o] Error 1
> gmake[2]: Leaving directory
> `/mnt/uus/pkgsrc/emulators/wine/work/wine-20040213/dlls/x11drv'
> gmake[1]: *** [x11drv] Error 2
> gmake[1]: Leaving directory
> `/mnt/uus/pkgsrc/emulators/wine/work/wine-20040213/dlls'
> gmake: *** [dlls] Error 2
> *** Error code 2
> [snip]
>
> I updated pkgsrc from cvs this morning. I run NetBSD 1.6.2 on i386,
> and i'm using gcc 3.3.2 as compiler.
> Anyone else having problems? Any ideas how to fix this?
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>