[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Build fail on sparc (Re: xfree86 4.2.0-0pre1v3 (source,i386) available at the X Strike Force)



>>>>> In <20020822163254.DDACA8DD32@master.hanzubon.org> 
>>>>>	ISHIKAWA Mutsumi <ishikawa@linux.or.jp> wrote:
>> >>>>> In <20020821193504.GJ23365@deadbeast.net> 
>> >>>>>	Branden Robinson <branden@debian.org> wrote:
>> >> [1  <text/plain; us-ascii (quoted-printable)>]
>> >> On Thu, Aug 22, 2002 at 01:16:25AM +0900, ISHIKAWA Mutsumi wrote:
>> >> > >>>>> In <20020821030730.GG15620@deadbeast.net> 
>> >> > >>>>>	Branden Robinson <branden@debian.org> wrote:
>> >> > 
>> >> > >> Changes: 
>> >> > >>  xfree86 (4.2.0-0pre1v3) unstable; urgency=low
>> >> > >>  .
>> >> > >>    *** THIS IS AN EXPERIMENTAL RELEASE.  FEEDBACK SHOULD GO TO
>> >> > >>    *** <debian-x@lists.debian.org>.  DO NOT FILE BUGS AGAINST THIS RELEASE WITH
>> >> > >>    *** THE DEBIAN BUG TRACKING SYSTEM.  ANY SUCH REPORTS WILL BE CLOSED.
>> >> > >>  .
>> >> > >>    * TODO: more mips weirdness; somehow BuildHtmlManPages is getting set to YES

>>  Build on SPARC was failed with these error bellow.

>> gcc -o XFree86 -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs     -L../../exports/lib -L/usr/X11R6/lib ../../programs/Xserver/hw/xfree86/drivers/drvConf.o ../../programs/Xserver/hw/xfree86/input/drvConf.o  	../../programs/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/xaa/libxaa.a  ../../programs/Xserver/hw/xfree86/fbdevhw/libfbdevhw.a 	      ../../programs/Xserver/hw/xfree86/xf8_32wid/libxf8_32wid.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/xf4bpp/libxf4bpp.a ../../programs/Xserver/hw/xfree86/xf1bpp/libxf1bpp.a ..
 /..
>>  /programs/Xserver/hw/xfree86/shadowfb/libshadowfb.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/xfree86/common/libxf86.a ../../programs/Xserver/hw/xfree86/rac/librac.a 	    ../../programs/Xserver/hw/xfree86/parser/libxf86config.a ../../programs/Xserver/hw/xfree86/os-support/libxf86_os.a ../../programs/Xserver/hw/xfree86/int10/libint10.a  		 ../../programs/Xserver/hw/xfree86/common/libxf86.a miext/shadow/libshadow.a dix/libdix.a os/libos.a ../../exports/lib/libXau.a ../../exports/lib/libXdmcp.a  fb/libfb.a cfb16/libcfb16.a 		  cfb24/libcfb24.a 		  cfb32/libcfb32.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/src/X/libGLcoreX.a                GL/mesa/src/libGLcore.a                GL/dri/libdri.a render/librender.a  ../../programs/Xserver/hw/xfree86/common/libxf86.a mi/libmi.a ../../programs/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 dix/libxpstubs.a -lz -lm    		      -Wl,-rpath-link,../../exports/lib
>> ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(r128_drv.o): In function `R128PreInit':
>> r128_drv.o(.text+0x7154): undefined reference to `vgaHWGetHWRec'
>> r128_drv.o(.text+0x74a8): undefined reference to `vgaHWFreeHWRec'

 snip

>> ../../programs/Xserver/hw/xfree86/drivers/libdriver.a(radeon_drv.o): In function `RADEONPreInit':
>> radeon_drv.o(.text+0x7518): undefined reference to `vgaHWGetHWRec'
>> radeon_drv.o(.text+0x752c): undefined reference to `vgaHWGetIndex'
>> radeon_drv.o(.text+0x753c): undefined reference to `vgaHWGetIOBase'
>> radeon_drv.o(.text+0x78a4): undefined reference to `vgaHWFreeHWRec'

 snip

>> collect2: ld returned 1 exit status
>> make[5]: *** [XFree86] Error 1
>> make[5]: Leaving directory `/home/ishikawa/work/XFree86/xfree86-4.2.0/build-tree/xc-xserver-xfree86-dbg/programs/Xserver'

 Hmm, I understand the problem.

 radeon_drv and r128_drv require some vga related functions, defined
in xc/programs/Xserver/hw/xfree86/vgahw/vgaHW.{c,h}. But on SPARC
environment vgaHW.c will not build because SPARC machines does not
have VGA, so XF86VgaHw is set as NO.

 Under build-tree/xc-xserver-xfree86-dbg, we will build the static
linked x server. Symbols are resolved on build time.

 Perhaps, we should drop r128 and radeon driver support when the x
server build without XF86VgaHw define.
(or r128 and radeon drivers should update to be able to build and run
without vgaHW).

-- 
ISHIKAWA Mutsumi
 <ishikawa@linux.or.jp>, <ishikawa@debian.org>, <ishikawa@netvillage.co.jp>



Reply to: