Compiling X11R6.8.2 or 6.8.1 or 6.8.0

From: Roetman, Paul (Paul.Roetman@dpiterminals.com)
Date: Thu Sep 29 2005 - 18:08:59 EDT


Is it just me, or is X11R6.8.* hard to compile on Solaris 8????

I am trying to install X11R6.8.2 on Solaris 8, so I can install Xvfb, so
I can use the new NX software (replacing VNC), so I can send a summary
to SunManagers about the NX software (question last week)! But have
stalled on step 1....

When compiling 6.8.2 I get the below error - seems to be related to a
Version 9 sparc command, stuck in the version 8 code. So I went back to
6.8.1 and get a slightly different error, interestingly, still related
to Pci.*. So I went back to 6.8.0 and still get the same error!

Should I just download the binaries? If so, where from? Is there a known
fix for this problem - I cannot find any reference to it on google, or
the sunmanagers search...Does it compile with gcc?

Oh, I am using the Sun Forte C compiler.....and have installed the
latest cluster patch....

Thanks in advance

Paul

X11R6.8.2:
--------------------------------------------
rm -f Pci.o
cc -c -xO4 -xbuiltin=%all -xlibmil -xstrconst -xarch=v8 -Xa -v
-zlazyload -zcombreloc -xstrconst -xildoff -I.
-I../../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../../programs/Xserver/include
-I../../../../../../exports/include/X11 -I../../../../../..
-I../../../../../../exports/include -Dsun -Dsparc -DSVR4
-D__EXTENSIONS__ -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY
-DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER
-DRANDR -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DINCLUDE_ALLOCA_H
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension
-DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) +
((8) * 100000) + ((2) * 1000) + 0)"
../../../../../../programs/Xserver/hw/xfree86/os-support/sunos/sparcv8pl
us.il -DNDEBUG Pci.c
cg error (as) :
"/u01/work/x11/6.8.2/xc/programs/Xserver/hw/xfree86/os-support/sunos/spa
rcv8plus.il (template for outl)", line 59 : cannot use SPARC v9
instructions with this target architecture
cc: cg failed for Pci.c
*** Error code 2
make: Fatal error: Command failed for target `Pci.o'
Current working directory
/u01/work/x11/6.8.2/xc/programs/Xserver/hw/xfree86/os-support/bus
*** Error code 1
make: Fatal error: Command failed for target `bus'
Current working directory
/u01/work/x11/6.8.2/xc/programs/Xserver/hw/xfree86/os-support
--------------------------------------------

X11R6.8.1 and X11R6.8.0
--------------------------------------------
making all in programs/Xserver/hw/xfree86/etc...
rm -f scanpci.o
cc -c -xO4 -xbuiltin=%all -xlibmil -xstrconst -xarch=v8 -Xa -v
-zlazyload -zcombreloc -xstrconst -xildoff -I.
-I../../../../../programs/Xserver/hw/xfree86/common
-I../../../../../programs/Xserver/hw/xfree86/os-support
-I../../../../../programs/Xserver/include
-I../../../../../exports/include/X11
-I../../../../../programs/Xserver/hw/xfree86/scanpci
-I../../../../../programs/Xserver/hw/xfree86/dummylib -I../../../../..
-I../../../../../exports/include -Dsun -Dsparc -DSVR4 -D__EXTENSIONS__
-DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP
-DXF86BIGFONT -DDPMSExtension -DPIXPRIV -DPANORAMIX -DRENDER -DRANDR
-DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DINCLUDE_ALLOCA_H
-DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension
-DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension
-DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension
-DX_BYTE_ORDER=X_BIG_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) +
((8) * 100000) + ((1) * 1000) + 0)" -DNDEBUG
-D__XCONFIGFILE__='"xorg.conf"' -D__XCONFIGDIR__='"/usr/X11R6/lib/X11"'
-D__XLOGFILE__='"Xorg"' -D__XSERVERNAME__='"Xorg"' scanpci.c
"scanpci.c", line 212: warning: Function has no return statement : main
rm -f scanpci
LD_RUN_PATH=/usr/X11R6/lib cc -o scanpci -xO4 -xbuiltin=%all -xlibmil
-xstrconst -xarch=v8 -Xa -v -zlazyload -zcombreloc -xstrconst -xildoff
-L../../../../../exports/lib scanpci.o -L../os-support -lxf86_os
-L../scanpci -lscanpci -L../dummylib -ldummy -lsocket -lnsl
-Wl,-z,lazyload
Undefined first referenced
 symbol in file
inl ../os-support/libxf86_os.a(Pci.o)
outl ../os-support/libxf86_os.a(Pci.o)
ld: fatal: Symbol referencing errors. No output written to scanpci
*** Error code 1
make: Fatal error: Command failed for target `scanpci'
Current working directory
/u01/work/x11/xc/programs/Xserver/hw/xfree86/etc
*** Error code 1
--------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:55 EDT