Summary: | xserver branch randr-1.2 compile error | ||
---|---|---|---|
Product: | xorg | Reporter: | WuNian <nian.wu> |
Component: | Server/General | Assignee: | Keith Packard <keithp> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | critical | ||
Priority: | high | CC: | gordon.jin |
Version: | git | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
WuNian
2006-10-23 23:18:34 UTC
randr-1.2 branch requires new randr proto bits. I have recompiled randrproto with branch multi-monitor. Do the new randr proto bits locate in this branch? After compiled randrproto, I compiled xserver, it still reported following error: --------------------------------- mirandr.c: In function 'miRandRInit': mirandr.c:87: error: 'miRRCrtcSetGamma' undeclared (first use in this function) mirandr.c:87: error: (Each undeclared identifier is reported only once mirandr.c:87: error: for each function it appears in.) mirandr.c:91: error: 'miRROutput' undeclared (first use in this function) mirandr.c:91: error: syntax error before 'RRScreenSetSizeRange' make[1]: *** [mirandr.lo] erro 1 ----------------------------------------------------- Besides two function undeclared: mirandr.c:87:'miRRCrtcSetGamma' and mirandr.c:91:'miRROutput', I found two syntax error on mirandr.c:88 and rrcrtc.c:284. yeah, oops, I pushed garbage. I've pulled up to master and pushed code that at least works now. When I compile xserver with master branch, it is OK. But when I compile with randr-1.2 branch, it report below error: ----------------------------- make[3]: Entering directory `/opt/gfx-source/build/component/Xorg/xorg/xserver/hw/vfb' if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -I../../include -DHAVE_DIX_CONFIG_H -DNO_HW_ONLY_EXTS -DNO_MODULE_EXTS -g -O2 -MT InitInput.o -MD -MP -MF ".deps/InitInput.Tpo" -c -o InitInput.o InitInput.c; \ then mv -f ".deps/InitInput.Tpo" ".deps/InitInput.Po"; else rm -f ".deps/InitInput.Tpo"; exit 1; fi InitInput.c:35:16: error: mi.h: No that file or directory InitInput.c:40:22: error: mibstore.h: No that file or directory InitInput.c:41:23: error: mipointer.h: No that file or directory InitInput.c: In function‘vfbMouseProc’ : InitInput.c:295: Error: ‘miPointerGetMotionEvents’ not declaration make[3]: *** [InitInput.o] Error 1 make[3]: Leaving directory `/opt/gfx-source/build/component/Xorg/xorg/xserver/hw/vfb' make[2]: *** [all] Error 2 I have compiled xserver in anthor machine, the error is the same. I checked the Makefile in xserver/hw/vfb after Makefile had generated, it is different with which generated in master branch. Between this two Makefile, some compilation flags is different. If replace Makefile in xserver/hw/vfb with which generated in master branch, compilation can continue. But it will stop in another xserver/hw/*** directory. Now when I compile xserver, it reports error as below: -------------------------- make[3]: Entering directory `/GFX/build/component/Xserver/xserver/hw/dmx/input' if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../include -I../../../hw/dmx -I../../../hw/xfree86/common -I/GFX/build/component/Mesa/mesa/include -DHAVE_DMX_CONFIG_H -I/opt/X11R7/include -I/opt/X11R7/include -g -O2 -MT ChkNotMaskEv.o -MD -MP -MF ".deps/ChkNotMaskEv.Tpo" -c -o ChkNotMaskEv.o ChkNotMaskEv.c; \ then mv -f ".deps/ChkNotMaskEv.Tpo" ".deps/ChkNotMaskEv.Po"; else rm -f ".deps/ChkNotMaskEv.Tpo"; exit 1; fi In file included from ChkNotMaskEv.c:63: ../../../hw/dmx/dmx.h:67:24: error: picturestr.h: No such file or directory In file included from ChkNotMaskEv.c:63: ../../../hw/dmx/dmx.h:242: error: expected specifier-qualifier-list beforereatePictureProcPtr' make[3]: *** [ChkNotMaskEv.o] Error 1 make[3]: Leaving directory `/GFX/build/component/Xserver/xserver/hw/dmx/input' make[2]: *** [all-recursive] Error 1 --------------------------------------------------- In the gcc command line, it don't include the path of head file: picturestr.h. It seems that this error is similar with the old error. When we compiled xserver with branch master, we met error when compiled to hw/dmx directory. So the error I met when compiled branch randr-1.2 may be the xserver code's error, not branch randr-1.2. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.