On Sat, 15 Sep 2001, Sven Garbade wrote:

> Hi all,
>
> I just wanted to compile libggi-2.0.1, but this error occured:
>
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I/usr/X11R6/include
> -g -O2
> -D_REENTRANT -D_THREAD_SAFE -g -Wall -c XF86VMode.c  -fPIC -DPIC -o
> XF86VMode.lo
> XF86VMode.c: In function `_ggi_XF86VidModeSetClientVersion':
> XF86VMode.c:121: `xXF86VidModeSetClientVersionReq' undeclared (first use
> in this function)
> XF86VMode.c:121: (Each undeclared identifier is reported only once
> XF86VMode.c:121: for each function it appears in.)
> XF86VMode.c:121: `req' undeclared (first use in this function)
> XF86VMode.c:121: warning: statement with no effect
> XF86VMode.c:126: `sz_xXF86VidModeSetClientVersionReq' undeclared (first
> use in this function)
> XF86VMode.c:126: parse error before `)'
> XF86VMode.c:126: `X_XF86VidModeSetClientVersion' undeclared (first use
> in this function)
> XF86VMode.c: At top level:
> XF86VMode.c:163: parse error before `XF86VidModeGamma'
> XF86VMode.c: In function `_ggi_XF86VidModeSetGamma':
> XF86VMode.c:165: `dpy' undeclared (first use in this function)
> XF86VMode.c:166: `xXF86VidModeSetGammaReq' undeclared (first use in this
> function)
> XF86VMode.c:166: `req' undeclared (first use in this function)
> XF86VMode.c:166: warning: statement with no effect
> XF86VMode.c:171: `sz_xXF86VidModeSetGammaReq' undeclared (first use in
> this function)
> XF86VMode.c:171: parse error before `)'
> XF86VMode.c:171: `X_XF86VidModeSetGamma' undeclared (first use in this
> function)
> XF86VMode.c:174: `screen' undeclared (first use in this function)
> XF86VMode.c:175: `Gamma' undeclared (first use in this function)
> XF86VMode.c: At top level:
> XF86VMode.c:184: parse error before `XF86VidModeGamma'
> XF86VMode.c: In function `_ggi_XF86VidModeGetGamma':
> XF86VMode.c:186: `dpy' undeclared (first use in this function)
> XF86VMode.c:187: `xXF86VidModeGetGammaReply' undeclared (first use in
> this function)
> XF86VMode.c:187: parse error before `rep'
> XF86VMode.c:188: `xXF86VidModeGetGammaReq' undeclared (first use in this
> function)
> XF86VMode.c:188: `req' undeclared (first use in this function)
> XF86VMode.c:188: warning: statement with no effect
> XF86VMode.c:193: `sz_xXF86VidModeGetGammaReq' undeclared (first use in
> this function)
> XF86VMode.c:193: parse error before `)'
> XF86VMode.c:193: `X_XF86VidModeGetGamma' undeclared (first use in this
> function)
> XF86VMode.c:196: `screen' undeclared (first use in this function)
> XF86VMode.c:197: `rep' undeclared (first use in this function)
> XF86VMode.c:202: `Gamma' undeclared (first use in this function)
> XF86VMode.c: In function `_ggi_XF86VidModeGetAllModeLines':
> XF86VMode.c:220: `xXF86OldVidModeModeInfo' undeclared (first use in this
> function)
> XF86VMode.c:220: parse error before `oldxmdline'
> XF86VMode.c:271: `oldxmdline' undeclared (first use in this function)
> XF86VMode.c:277: structure has no member named `hskew'
> XF86VMode.c:308: structure has no member named `hskew'
> XF86VMode.c:308: structure has no member named `hskew'
> XF86VMode.c: In function `_ggi_XF86VidModeSwitchToMode':
> XF86VMode.c:377: `xXF86OldVidModeSwitchToModeReq' undeclared (first use
> in this function)
> XF86VMode.c:377: `oldreq' undeclared (first use in this function)
> XF86VMode.c:377: warning: statement with no effect
> XF86VMode.c:378: parse error before `int'
> XF86VMode.c:390: `majorVersion' undeclared (first use in this function)
> XF86VMode.c:390: `minorVersion' undeclared (first use in this function)
> XF86VMode.c:392: `protocolBug' undeclared (first use in this function)
> XF86VMode.c:397: `sz_xXF86OldVidModeSwitchToModeReq' undeclared (first
> use in this function)
> XF86VMode.c:397: parse error before `)'
> XF86VMode.c:431: structure has no member named `hskew'
> XF86VMode.c:431: structure has no member named `hskew'
> make[3]: *** [XF86VMode.lo] Error 1
> make[3]: Leaving directory `/home/sfg/src/libggi-2.0.1/display/xf86dga'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/sfg/src/libggi-2.0.1/display'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sfg/src/libggi-2.0.1'
> make: *** [all-recursive-am] Error 2
>
> Any Ideas?
>
> Maybe this helps: Debian Potato, Xfree 3.3.6, Kernel 2.2.17

Try

./configure --disable-internal-xf86dga

and recompile. If that doesn't help, then try

./configure --disable-dga

Hope, that helps.



CU,

Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to