building VNC 3.3.7 on 64-bit Solaris 9
Peter C. Vernam
pvernam "at" draper.com
Sat Apr 24 00:07:00 2004
I was able to build VNC 3.3.7 with gcc 3.2 under 32-bit Solaris 8 with no
difficulty.
But when I try to build it under 64-bit Solaris 9 (also with gcc 3.2) I get
the following at the very end (when linking Xvnc):
g++ -o Xvnc -O2 -L../../exports/lib dix/libdix.a os/libos.a
../../lib/Xau/libXau.a ../../lib/Xdmcp/libXdmcp.a
../../exports/lib/libfont.a hw/vnc/libvnc.a ../../../rdr/librdr.a
../../../rfb/librfb.a ../../../zlib/libz.a cfb/libcfb.a cfb16/libcfb.a
cfb24/libcfb.a cfb32/libcfb.a mfb/libmfb.a dix/libxpstubs.a mi/libmi.a
Xext/libext.a -lsocket -lnsl -lm
Undefined first referenced
symbol in file
cfbStippleStackTE cfb/libcfb.a(cfbglblt8.o)
cfb32StippleStack cfb32/libcfb.a(cfbglblt8.o)
cfb32StippleStackTE cfb32/libcfb.a(cfbglblt8.o)
cfbStippleStack cfb/libcfb.a(cfbglblt8.o)
ld: fatal: Symbol referencing errors. No output written to Xvnc
collect2: ld returned 1 exit status
*** Error code 1
make: Warning: Target `all' not remade because of errors
Current working directory /local/src/vnc-3.3.7-unixsrc/Xvnc/programs/Xserver
*** Error code 1
make: Warning: Target `all' not remade because of errors
Current working directory /local/src/vnc-3.3.7-unixsrc/Xvnc/programs
*** Error code 1
make: Warning: Target `all' not remade because of errors
Current working directory /local/src/vnc-3.3.7-unixsrc/Xvnc
*** Error code 1
make: Warning: Target `World' not remade because of errors
Current working directory /local/src/vnc-3.3.7-unixsrc/Xvnc
*** Error code 1
make: Fatal error: Command failed for target `World'
Error building Xvnc; aborting
I suspect that this is because the following assembly-language modules have
been compiled in 32-bit mode and not in 64-bit mode (because all of the
Makefiles contain the line "AS = /usr/ccs/bin/as" instead of "AS =
/usr/ccs/bin/as -xarch=v9"):
cfb/stipsparc.s
cfb/stipsparcte.s
cfb32/stipsprc32.s
cfb32/stipsprcte32.s
Can anyone tell me what I have to do to get "make World" to generate
Makefiles that say "AS = /usr/ccs/bin/as -xarch=v9"? Or is there another
way to get this to work?
Peter Vernam Email: pvernam "at" draper.com
Draper Laboratory, MS 33 Voice: 617-258-2735
555 Technology Square Fax: 617-258-2705
Cambridge, MA 02139