Compile failure CVS with DRI/DRM=NO
Ave people XFree86 CVS complains loudly about the file xf86drm.c when compiling with #define BuildXF86DRINO #define BuildXF86DRMNO Full host.def below the error message. Please CC me,I'm not subscribed. Greetz Mu Software environment: debian stable + vanilla 2.6.0 kernel Snippet from buildlog: Building XFree86 version 4.3.99.902 (18 December 2003). I hope you checked the configuration parameters in ./config/cf to see if you need to pass BOOTSTRAPCFLAGS. Sat Jan 3 16:29:05 CET 2004 Building XFree86 version 4.3.99.902 (18 December 2003). Building on Linux 2.6.0--extern2 i686 [ELF] (2.6.0). Linux Distribution: Debian libc version: 6.2.5 binutils version: 21.2 GCC version: 2.95 Error: rm -f libXvMC.so.1.0~ + cd . + gcc -o ./libXvMC.so.1.0~ -shared -Wl,-soname,libXvMC.so.1 XvMC.o -L../../exports/lib -lXext -lX11 -lc + rm -f libXvMC.so.1 + ln -s libXvMC.so.1.0 libXvMC.so.1 + rm -f ../../exports/lib/libXvMC.so.1 + cd ../../exports/lib + ln -s ../../lib/XvMC/libXvMC.so.1 . rm -f libXvMC.so.1.0 mv -f libXvMC.so.1.0~ libXvMC.so.1.0 + rm -f libXvMC.so + ln -s libXvMC.so.1.0 libXvMC.so rm -f ../../exports/lib/libXvMC.so.1.0 cd ../../exports/lib ln -s ../../lib/XvMC/libXvMC.so.1.0 . + rm -f ../../exports/lib/libXvMC.so + cd ../../exports/lib + ln -s ../../lib/XvMC/libXvMC.so . making all in lib/XvMC/hw/i810... make[5]: Entering directory `/home/mp3project/XFREE6-error/XFree86-CVS/xc/lib/XvMC/hw/i810' rm -f I810XvMC.o gcc -c -O2 -march=i686 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../../exports/include/X11 -I../../../../exports/include -I../../../../lib/X11 -I../../../../include/extensions -I../../../../programs/Xserver/hw/xfree86/common -I../../../../programs/Xserver/hw/xfree86/os-support -I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel -I../../../../programs/Xserver/hw/xfree86/drivers/i810 -I../../../.. -I../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DTRUE=1 -DFALSE=0 -fPIC I810XvMC.c In file included from I810XvMC.c:39: /usr/include/unistd.h:966: warning: redundant redeclaration of `ctermid' in same scope /usr/include/stdio.h:583: warning: previous declaration of `ctermid' rm -f xf86drm.o gcc -c -O2 -march=i686 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I../../../../exports/include/X11 -I../../../../exports/include -I../../../../lib/X11 -I../../../../include/extensions -I../../../../programs/Xserver/hw/xfree86/common -I../../../../programs/Xserver/hw/xfree86/os-support -I../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel -I../../../../programs/Xserver/hw/xfree86/drivers/i810 -I../../../.. -I../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DTRUE=1 -DFALSE=0 -fPIC xf86drm.c xf86drm.c:72: drm.h: No such file or directory In file included from xf86drm.c:49: /usr/include/unistd.h:966: warning: redundant redeclaration of `ctermid' in same scope /usr/include/stdio.h:583: warning: previous declaration of `ctermid' xf86drm.c:531: parse error before `*' xf86drm.c:532: warning: function declaration isn't a prototype xf86drm.c: In function `drmFreeKernelVersion': xf86drm.c:533: `v' undeclared (first use in this function) xf86drm.c:533: (Each undeclared identifier is reported only once xf86drm.c:533: for each function it appears in.) xf86drm.c: At top level: xf86drm.c:551: warning: type defaults to `int' in declaration of `drm_version_t' xf86drm.c:551: parse error before `*' xf86drm.c:552: warning: function declaration isn't a prototype xf86drm.c: In function `drmCopyVersion': xf86drm.c:553: `d' undeclared (first use in this function) xf86drm.c:553: `s' undeclared (first use in this function) xf86drm.c: In function `drmGetVersion': xf86drm.c:583: `drm_version_t' undeclared (first use in this function) xf86drm.c:583: `version' undeclared (first use in this function) xf86drm.c:593: `DRM_IOCTL_VERSION' undeclared (first use in this function) xf86drm.c: In function `drmGetLibVersion': xf86drm.c:643: `drm_version_t' undeclared (first use in this function) xf86drm.c:643: `version' undeclared (first use in this function) xf86drm.c:656: warning: control reaches end of non-void function xf86drm.c: In function `drmGetBusid': xf86drm.c:687: `drm_unique_t' undeclared (first use in this function) xf86drm.c:687: parse error before `u' xf86drm.c:689: `u' undeclared
Re: Compile failure CVS with DRI/DRM=NO
On Sun, Jan 04, 2004 at 03:58:33AM +0100, Martijn Uffing wrote: Ave people XFree86 CVS complains loudly about the file xf86drm.c when compiling with #define BuildXF86DRI NO #define BuildXF86DRM NO Full host.def below the error message. Two possible options: 1. Change 'defined(LinuxArchitecture)' to 'defined(LinuxArchitecture) BuildXF86DRI' in XvMC/Imakefile 2. Add -I$(XF86OSSRC)/shared/drm/kernel to INCLUDES in XvMC/hw/i810/Imakefile The first is probably the best one. David -- David Dawes developer/release engineer The XFree86 Project www.XFree86.org/~dawes ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Compile failure CVS with DRI/DRM=NO
Ave I've got a error when I build CVS with #define BuildXF86DRINO #define BuildXF86DRMNO Full host.def below the error message. Distro : debian stable Error: make[6]: Entering directory `/home/mp3project/cvs-build/XFree86-CVS/xc/programs/Xserver/hw/xfree86/drivers/ati' rm -f radeon_driver.o gcc -O2 -march=i686 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/hw/xfree86 -I../../../../../../programs/Xserver/hw/xfree86/vbe -I../../../../../../programs/Xserver/hw/xfree86/int10 -I../../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c -I../../../../../../programs/Xserver/hw/xfree86/rac -I../../../../../../programs/Xserver/hw/xfree86/ramdac -I../../../../../../programs/Xserver/hw/xfree86/shadowfb -I../../../../../../programs/Xserver/hw/xfree86/xaa -I../../../../../../programs/Xserver/hw/xfree86/xf4bpp -I../../../../../../programs/Xserver/hw/xfree86/xf1bpp -I../../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/fbdevhw -I../../../../../../programs/Xserver/mfb -I../../../../../../programs/Xserver/fb -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/miext/shadow -I../../../../../../programs/Xserver/render -I../../../../../../programs/Xserver/Xext -I../../../../../../programs/Xserver/include -I../../../../../../include/fonts -I../../../../../../include/extensions -I../../../../../../exports/include/X11 -I../../../../../.. -I../../../../../../exports/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -c radeon_driver.c radeon_driver.c: In function `RADEONPreInitConfig': radeon_driver.c:1972: warning: unused variable `s' radeon_driver.c: In function `RADEONInitDispBandwidth': radeon_driver.c:5727: structure has no member named `directRenderingEnabled' radeon_driver.c:5728: structure has no member named `agpMode' make[6]: *** [radeon_driver.o] Error 1 Full host.def #define ProjectRoot /usr/X11R6-CVS #define NothingOutsideProjectRoot YES #define BootstrapCFlags -O2 -march=i686 -pipe #define DefaultGcc2i386Opt -O2 -march=i686 -pipe #define DefaultGcc2AxpOpt -O2 -march=i686 -pipe #define DefaultGcc2DebugOpt -O2 -march=i686 -pipe #define OptimizedCDebugFlags-O2 -march=i686 -pipe #define BuildFontServer NO #define BuildFonts NO #define MakeLocalFontDirNO #define FontencCompatibilityYES #define BuildSpeedo NO #define BuildType1 NO #define BuildCIDNO #define BuildFreeType NO #define BuildXTrueType NO #define Build75DpiFonts NO #define Build100DpiFontsNO #define BuildSpeedoFontsNO #define BuildType1Fonts NO #define BuildCIDFonts NO #define BuildCyrillicFonts NO #define BuildLatin2FontsNO #define BuildXAudio NO #define BuildXAServer NO #define XprtServer NO #define XnestServer NO #define XVirtualFramebufferServer NO #define BuildXF86DRINO #define BuildXF86DRMNO #define BuildServersOnlyNO #define XF86CardDrivers dummy v4l nv s3 s3virge vesa vga i740 ati savage sis #define XInputDrivers mouse keyboard wacom void #define HasAgpGart YES #define HasZlib YES #define HasMMXSupport YES #define Has3DNowSupport YES #define HasKatmaiSupportYES ___ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
Re: Compile failure CVS with DRI/DRM=NO
On Fre, 2003-10-10 at 20:56, Martijn Uffing wrote: radeon_driver.c: In function `RADEONPreInitConfig': radeon_driver.c:1972: warning: unused variable `s' radeon_driver.c: In function `RADEONInitDispBandwidth': radeon_driver.c:5727: structure has no member named `directRenderingEnabled' radeon_driver.c:5728: structure has no member named `agpMode' make[6]: *** [radeon_driver.o] Error 1 Fixed in CVS with this patch. -- Earthling Michel Dnzer \ Debian (powerpc), XFree86 and DRI developer Software libre enthusiast \ http://svcs.affero.net/rm.php?r=daenzer Index: programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c === RCS file: /home/x-cvs/xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c,v retrieving revision 1.108 diff -p -u -r1.108 radeon_driver.c --- programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 7 Oct 2003 22:47:12 - 1.108 +++ programs/Xserver/hw/xfree86/drivers/ati/radeon_driver.c 11 Oct 2003 00:28:10 - @@ -1969,7 +1969,9 @@ static Bool RADEONPreInitConfig(ScrnInfo GDevPtrdev= pEnt-device; MessageTypefrom; unsigned char *RADEONMMIO = info-MMIO; +#ifdef XF86DRI const char *s; +#endif /* Chipset */ from = X_PROBED; @@ -5724,9 +5726,11 @@ static void RADEONInitDispBandwidth(Scrn /* DDR64 SCLK_EFF = SCLK for analysis */ sclk_eff = info-sclk; } else { +#ifdef XF86DRI if (info-directRenderingEnabled) sclk_eff = info-sclk - (info-agpMode * 50.0 / 3.0); else +#endif sclk_eff = info-sclk; }