After d/ling the Patch_Ver 2.1.3 and tried to emerge again I got this overnight - /xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a ../../lib/font/libXfont.a -L/usr/lib -lfreetype dix/libxpstubs.a -L/usr/lib -lfreetype -lz -lm -lpam -lpam_misc -rdynamic -ldl -lXau -Wl,-rpath-link,../../exports/lib ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xb2f4): In function `SMI_PutVideo': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xbde4): In function `SMI_PutImage': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xe762): In function `viaPutImageG': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xea09): In function `viaPutImageG': : undefined reference to `xf86XVCopyYUV12ToPacked' collect2: ld returned 1 exit status make[3]: *** [XFree86] Error 1 make[3]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs/Xserver' make[2]: *** [install] Error 2 make[2]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc/programs' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/tmp/portage/portage/xfree-4.3.0-r3/work/xc' make: *** [install] Error 2 !!! ERROR: x11-base/xfree-4.3.0-r3 failed. !!! Function src_install, Line 526, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge -vu xfree-4.3.0-r3 2. 3. Actual Results: emerge failed Expected Results: emerge successfully Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r4 i686 Pentium III (Katmai) GENTOO_MIRRORS="http://gentoo.linux.no ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/home/tmp/portage" PORTDIR_OVERLAY="" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga ggi tcltk java guile X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde motif opengl mozilla ldap cdr cjk clamav debug dga doc dvb dvd fbcon gd ipv6 jikes lcms moznocompose moznoirc moznomail mozp3p rage128 ruby samba sse usb xface xml" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox ccache userpriv usersandbox"
I am unable to duplicate this locally, can you rsync and try again?
Seemant, I synced last night (Friday) and ran the build again but got the same error. Someone else in the forums reported the same error. I have just resynced and will run it again tonight. On second thought I will delete the files from distfiles and redownload and then try it. Roger
After syncing, removing all files from distfiles, reemerged xfree-4.3.0-r3 and got the same error for the third time.
I got the exactly same error. I have multiple times synced and retried, but no change. Here is my emerge info: Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/X11/xkb /etc/X11/xdm /etc/X11/xserver /etc/X11/xsm /etc/X11/xinit /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 zlib -3dfx -3dnow -aalib -acl acpi -afs -alsa apache2 -apm -arts -atlas avi -berkdb -bonobo -canna cdr -cjk crypt cups -curl debug -dga -directfb doc dvb dvd emacs encode esd -ethereal -ev6 -evo fbcon -firebird flash -freetds -freewn -gb gd gdbm ggi gif -gnome -gnome-libs gphoto2 gpm gps gtk -gtk2 -gtkhtml -guile -icc -icc-pgo imap imlib innodb ipv6 java -jikes jpeg junit -kde -kerberos ladcca lcms -ldap leim libg++ -libgda libwww lirc maildir -matrox -mbox -mcal mikmod memlimit mmx -motif mozilla mpeg mpi mule -mysql -nas ncurses -nhc98 nls -nocardbus oav -oci8 -odbc oggvorbis opengl oss pam -pcmcia -pda pdflib perl plotutils png -pnp postgres -prebuilt python qt quicktime readline -ruby samba -sasl scanner sdl -selinux -slang slp -snmp -socks5 -spell sse ssl -static -svga -tcltk tcpd tetex tiff truetype -trusted -voodoo3 -wavelan wmf X -xface -xinerama xml xml2 xmms xv -zeo zlibmoznoirc moznomail moznocompose acpi4linux pic" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -g -pipe" CXXFLAGS="-O2 -mcpu=i686 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox ccache nostrip"
Seemant Kullen solved this for me. In your USE flags put -debug. X compiled fro me after I did that.
But that doesn't fix the real issue, which is exposed when one needs to use those failing drivers as can be seen in bug: http://bugs.gentoo.org/show_bug.cgi?id=22880 So when I did: grep -C3 'siliconmotion_drv.o' /var/log/portage/1779-xfree-4.3.0-r3.log Got the following stuff, where one can see that REGION_EQUAL is implicitly declared as function. REGION_EQUAL is a macro and thus we get these errors. Those two drivers have not included what ever provides REGION_EQUAL macro. gcc -m32 -c -march=pentium3 -O2 -O2 -O2 -O2 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-pr ototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -fno-stack-protector -I. -I../../../../../. ./programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../ ../../programs/Xserver/mfb -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/cfb -I ../../../../../../programs/Xserver/hw/xfree86/xaa -I../../../../../../programs/Xserver/hw/xfree86/rac -I../../ ../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/fbdevhw -I../../ ../../../../programs/Xserver/hw/xfree86/ramdac -I../../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../../pr ograms/Xserver/hw/xfree86/i2c -I../../../../../../programs/Xserver/Xext -I../../../../../../programs/Xserver /hw/xfree86/int10 -I../../../../../../include/fonts -I../../../../../../programs/Xserver/include -I../../../.. /../../exports/include/X11 -I../../../../../../programs/Xserver/hw/xfree86/shadowfb -I../../../../../../includ e/extensions -I../../../../../../programs/Xserver/fb -I../../../../../../programs/Xserver/render -I../../../.. /../../programs/Xserver/hw/xfree86/vbe -I../../../../../.. -I../../../../../../exports/include -Dlinux -D__i386__ -D_P OSIX_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 -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR -DGCCUSE SGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86Server -DXF86VIDMODE -DXvMCExtension - DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DXFr ee86Module -DPSZ=8 smi_video.c smi_video.c: In function `SMI_PutVideo': smi_video.c:1237: warning: implicit declaration of function `REGION_EQUAL' rm -f siliconmotion_drv.o gcc -m32 -nostdlib -r smi_driver.o smi_accel.o smi_dac.o smi_hwcurs.o smi_dga.o smi_i2c.o smi_shadow.o smi_video .o -o siliconmotion_drv.o rm -f siliconmotion._man /usr/bin/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__filemansuffix__=5x -D__libmansuffi x__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.6" "X Ver sion 11"' -D__vendorversion__="\"Version `echo 4 3 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" XFree86" <siliconmotio n.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >siliconmotion._man make[7]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/xfree86/drivers/siliconmotion' -- /usr/bin/cpp -undef -traditional -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults -D__filemansuffix__=5x -D__libmansuffi x__=3x -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__projectroot__=/usr/X11R6 -D__xorgversion__='"Release 6.6" "X Ver sion 11"' -D__vendorversion__="\"Version `echo 4 3 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" XFree86" <Xvfb.man | se d -e '/^# *[0-9][0-9]* *.*$/d' -e '/^XCOMM$/s//#/' -e '/^XCOMM[^a-zA-Z0-9_]/s/^XCOMM/#/' >Xvfb._man make[5]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/vfb' gcc -m32 -o XFree86 -march=pentium3 -O2 -O2 -O2 -O2 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmi ssing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -L../../exports/lib xkb/xf86Kill Srv.o xkb/xf86VT.o xkb/xf86Private.o ../../programs/Xserver/hw/xfree86/drivers/drvConf.o ../../programs/Xserver/hw/xfree8 6/input/drvConf.o ../../programs/Xserver/hw/xfree86/drivers/libdriver.a ../../programs/Xserver/hw/xfree86/ramdac/li bramdac.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a ../../programs/Xserver/hw/xfree86/i2c/libi2c.a ../ ../programs/Xserver/hw/xfree86/xaa/libxaa.a ../../programs/Xserver/hw/xfree86/vgahw/libvgahw.a ../../programs/Xserver/hw/ xfree86/fbdevhw/libfbdevhw.a ../../programs/Xserver/hw/xfree86/xf8_32bpp/libxf8_32bpp.a ../../progr ams/Xserver/hw/xfree86/xf8_16bpp/libxf8_16bpp.a ../../programs/Xserver/hw/xfree86/xf24_32bpp/libxf24_32bpp.a ../ ../programs/Xserver/hw/xfree86/xf4bpp/libxf4bpp.a ../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a ../../programs/Xse rver/hw/xfree86/shadowfb/libshadowfb.a afb/libafb.a ../../programs/Xserver/hw/xfree86/input/libidriver.a ../../programs/ Xserver/hw/xfree86/common/xf86Init.o ../../programs/Xserver/hw/xfree86/common/xf86IniExt.o ../../programs/Xserver/hw/xfre e86/common/libxf86.a ../../programs/Xserver/hw/xfree86/rac/librac.a ../../programs/Xserver/hw/xfree86/parser/libx f86config.a ../../programs/Xserver/hw/xfree86/vbe/libvbe.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../. ./programs/Xserver/hw/xfree86/os-support/libint10.a ../../programs/Xserver/hw/xfree86/common/libxf86.a miext /shadow/libshadow.a dix/libdix.a os/libos.a ../../exports/lib/libXdmcp.a fb/libfb.a cfb16/libcfb16.a cfb24/l ibcfb24.a cfb32/libcfb32.a cfb/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libe xt.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a dbe/lib dbe.a record/librecord.a XTrap/libxtrap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a GL/dri/libdri.a randr/librandr.a render/librender.a ../../programs/Xserver/hw/xfree86/com mon/libxf86.a mi/libmi.a ../../programs/Xserver/hw/xfree86/scanpci/libscanpci.a ../../programs/Xserver/hw/xfree86/os-supp ort/libxf86_os.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a ../../lib/font/libXfont.a -L/usr/lib -lfreetype dix/libxpstubs.a -L/usr/lib -lfreetype -lz -lm -lpam -lpam_misc -rdynamic -ldl -lXau -Wl,-rp ath-link,../../exports/lib ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xb6d4): In function `SMI_PutVideo': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xc074): In function `SMI_PutImage': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xe779): In function `viaPutImageG': : undefined reference to `REGION_EQUAL' -- ranlib libvfb.a make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/vfb' gcc -m32 -o XFree86 -march=pentium3 -O2 -O2 -O2 -O2 -pipe -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmi ssing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -Wundef -L../../exports/lib xkb/xf86Kill Srv.o xkb/xf86VT.o xkb/xf86Private.o ../../programs/Xserver/hw/xfree86/drivers/drvConf.o ../../programs/Xserver/hw/xfree8 6/input/drvConf.o ../../programs/Xserver/hw/xfree86/drivers/libdriver.a ../../programs/Xserver/hw/xfree86/ramdac/li bramdac.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a ../../programs/Xserver/hw/xfree86/i2c/libi2c.a ../ ../programs/Xserver/hw/xfree86/xaa/libxaa.a ../../programs/Xserver/hw/xfree86/vgahw/libvgahw.a ../../programs/Xserver/hw/ xfree86/fbdevhw/libfbdevhw.a ../../programs/Xserver/hw/xfree86/xf8_32bpp/libxf8_32bpp.a ../../progr ams/Xserver/hw/xfree86/xf8_16bpp/libxf8_16bpp.a ../../programs/Xserver/hw/xfree86/xf24_32bpp/libxf24_32bpp.a ../ ../programs/Xserver/hw/xfree86/xf4bpp/libxf4bpp.a ../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a ../../programs/Xse rver/hw/xfree86/shadowfb/libshadowfb.a afb/libafb.a ../../programs/Xserver/hw/xfree86/input/libidriver.a ../../programs/ Xserver/hw/xfree86/common/xf86Init.o ../../programs/Xserver/hw/xfree86/common/xf86IniExt.o ../../programs/Xserver/hw/xfre e86/common/libxf86.a ../../programs/Xserver/hw/xfree86/rac/librac.a ../../programs/Xserver/hw/xfree86/parser/libx f86config.a ../../programs/Xserver/hw/xfree86/vbe/libvbe.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../. ./programs/Xserver/hw/xfree86/os-support/libint10.a ../../programs/Xserver/hw/xfree86/common/libxf86.a miext /shadow/libshadow.a dix/libdix.a os/libos.a ../../exports/lib/libXdmcp.a fb/libfb.a cfb16/libcfb16.a cfb24/l ibcfb24.a cfb32/libcfb32.a cfb/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libe xt.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a dbe/lib dbe.a record/librecord.a XTrap/libxtrap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a GL/dri/libdri.a randr/librandr.a render/librender.a ../../programs/Xserver/hw/xfree86/com mon/libxf86.a mi/libmi.a ../../programs/Xserver/hw/xfree86/scanpci/libscanpci.a ../../programs/Xserver/hw/xfree86/os-supp ort/libxf86_os.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a ../../lib/font/libXfont.a -L/usr/lib -lfreetype dix/libxpstubs.a -L/usr/lib -lfreetype -lz -lm -lpam -lpam_misc -rdynamic -ldl -lXau -Wl,-rp ath-link,../../exports/lib ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xb6d4): In function `SMI_PutVideo': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xc074): In function `SMI_PutImage': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xe779): In function `viaPutImageG': : undefined reference to `REGION_EQUAL' -- make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r3/work/xc/programs/Xserver/hw/vfb' gcc -m32 -o XFree86 -mno-mmx -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-dec larations -Wredundant-decls -Wnested-externs -Wundef -L../../exports/lib xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86Pri vate.o ../../programs/Xserver/hw/xfree86/drivers/drvConf.o ../../programs/Xserver/hw/xfree86/input/drvConf.o ../../pro grams/Xserver/hw/xfree86/drivers/libdriver.a ../../programs/Xserver/hw/xfree86/ramdac/libramdac.a ../../programs/Xserver/ hw/xfree86/ddc/libddc.a ../../programs/Xserver/hw/xfree86/i2c/libi2c.a ../../programs/Xserver/hw/xfree86/xa a/libxaa.a ../../programs/Xserver/hw/xfree86/vgahw/libvgahw.a ../../programs/Xserver/hw/xfree86/fbdevhw/libfbdevhw.a ../../programs/Xserver/hw/xfree86/xf8_32bpp/libxf8_32bpp.a ../../programs/Xserver/hw/xfree86/xf8_16bpp /libxf8_16bpp.a ../../programs/Xserver/hw/xfree86/xf24_32bpp/libxf24_32bpp.a ../../programs/Xserver/hw/xfree86/x f4bpp/libxf4bpp.a ../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a ../../programs/Xserver/hw/xfree86/shadowfb/libshad owfb.a afb/libafb.a ../../programs/Xserver/hw/xfree86/input/libidriver.a ../../programs/Xserver/hw/xfree86/common/xf86In it.o ../../programs/Xserver/hw/xfree86/common/xf86IniExt.o ../../programs/Xserver/hw/xfree86/common/libxf86.a ../../progr ams/Xserver/hw/xfree86/rac/librac.a ../../programs/Xserver/hw/xfree86/parser/libxf86config.a ../../programs/Xserv er/hw/xfree86/vbe/libvbe.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/os -support/libint10.a ../../programs/Xserver/hw/xfree86/common/libxf86.a miext/shadow/libshadow.a dix/libdix.a os/libos.a ../../exports/lib/libXdmcp.a fb/libfb.a cfb16/libcfb16.a cfb24/libcfb24.a cfb32/l ibcfb32.a cfb/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a Xext/libext.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a dbe/libdbe.a record/librecord.a XTrap/libxtrap.a GL/glx/libglx.a GL/mesa/GLcore/libGLcore.a GL/dri/libdri.a ra ndr/librandr.a render/librender.a ../../programs/Xserver/hw/xfree86/common/libxf86.a mi/libmi.a ../../p rograms/Xserver/hw/xfree86/scanpci/libscanpci.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/ddc/libddc.a ../../lib/font/libXfont.a -L/usr/lib -lfreetype dix/libxpstubs.a -L/us r/lib -lfreetype -lz -lm -lpam -lpam_misc -rdynamic -ldl -lXau -Wl,-rpath-link,../../exports/lib ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xb6d4): In function `SMI_PutVideo': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(siliconmotion_drv.o)(.text+0xc074): In function `SMI_PutImage': : undefined reference to `REGION_EQUAL' ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(via_drv.o)(.text+0xe779): In function `viaPutImageG': : undefined reference to `REGION_EQUAL'
thats always a problem with back porting fixes possablity of new functions im attaching 2 patchs to fix each of the missing items xf86XVCopyYUV12ToPacked and REGION_EQUAL hopefully it will fix the problems
Created attachment 13624 [details] xfree-4.3-region_equal.patch
Created attachment 13625 [details] xfree-4.3-xf86XVCopyYUV12ToPacked.patch
Created attachment 13914 [details, diff] xfree-4.3-xf86XVCopyYUV12ToPacked.patch take 2 this one is fixed the other modified the #includes and thats more pain than worth so removed that bit this allows it to compile some but ive found other errors i havent seen before so im making a patch for those now
Created attachment 13920 [details, diff] xfree-4.3-region_equal.patch take 2 the problem i had was i wasnt patching from ${S} but i did find 1 bit that should be included in the patch to insure we dont get problems down the road
Created attachment 14310 [details, diff] declaration typo fix in miregion.c To successfully aplly the xfree-4.3-region_equal.patch you'll also need to fix a typo in xc/programs/Xserver/mi/miregion.c which declares miRegionEqual instead of miRegionsEqual (plural).
Created attachment 14311 [details, diff] declaration typo fix in miregion.c To successfully apply the xfree-4.3-region-fix you'll need to fix a declaration in xc/programs/Xserver/mi/miregion.c which says miRegionsEqual instead of miRegionEqual (mind the plural).
New compile error: gcc -m32 -o XFree86 -mno-mmx -ansi -pedantic -Wno-return-type -w -L../../exp orts/lib xkb/xf86KillSrv.o xkb/xf86VT.o xkb/xf86Private.o ../../program s/Xserver/hw/xfree86/common/xf86Init.o ../../programs/Xserver/hw/xfree86/common/ xf86IniExt.o ../../programs/Xserver/hw/xfree86/common/libxf86.a ../. ./programs/Xserver/hw/xfree86/parser/libxf86config.a ../../programs/Xserver/hw/x free86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/loader/libloade r.a ../../programs/Xserver/hw/xfree86/common/libxf86.a dix/libdix.a os/libos.a ../../exports/lib/libXdmcp.a ../../lib/font/fontbase.o ../../lib/font/libfontbase.a Xext/libexts.a xkb/libxkb.a Xi/li bxinput.a lbx/liblbx.a ../../lib/lbxutil/lib lbxutil.a ../../programs/Xserver/hw/xfree86/common/libxf86.a Xext/libe xts.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a randr/librandr.a render/librender.a dix/libxp stubs.a mi/libmi.a Xext/libexts.a xkb/libxkb.a Xi/libxinput.a lbx/liblbx.a ../../lib/lbxutil/liblbxutil.a randr/librandr.a render/librender.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a -lz -lm -lpam -lpam_misc -rdynamic -ldl -lXau -rdynamic -ldl -Wl,-rpath-link,../../exports/lib ../../programs/Xserver/hw/xfree86/loader/libloader.a(misym.o)(.data+0xbc): undef ined reference to `miRegionEqual' collect2: ld returned 1 exit status make[3]: *** [XFree86] Error 1 I don't know what changed, but it changed within the last five days, as I was previously able to build X with no trouble at all.
Ah, last poster is a step ahead of me - seems to be the additions present in patchset 2.1.5; trying his patch now.
Confirmed; please add this to the patchset.
The typo fix in miregion.c patch isn't working for me. Replace the REGION_EQUAL in comment 6 with miRegionEqual, and you have my error. $ emerge -vp xfree These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] x11-base/xfree-4.3.0-r3 -3dfx +sse +mmx +3dnow +xml2 +truetype -nls -cjk -doc -ipv6 -debug +static
Argh. I must have changed my environment when I patched and built X.
Just to keep this documented, my earlier success at building xfree was caused by a flaw in my build environment - we tracked it down to the two new 6201 and 6202 siliconmotion patches; xfree builds without these, but fails with them included in the patchset.
Created attachment 14391 [details, diff] Removes the broken patches The above patches are in the 2.1.5 patchset and are broken, even with the miregion.c typo fix. Here's a patch to apply to a local ebuild to exclude them, do USE="-debug -static", I've had problems w/ both. We're going to throw a 2.1.6 patchset together real soon and remove the siliconmotion patches.
*** Bug 24311 has been marked as a duplicate of this bug. ***
2.1.6 patchset committed, removes siliconmotion patches. Try 4.3.99.8 or higher to see if they have what you need. They're masked in package.mask; to unmask them, create a file /etc/portage/package.unmask and add a line to it 'x11-base/xfree'.
Closing