Binary programs resulting of this compilation are also usable on 5.1, it is
very likely that the compilation recipe also works on Tru64 5.1

This compilation uses the vendor's compilers (as opposed to gcc).

1) configure with:
CXX=cxx CXXFLAGS=-D_POSIX_PII ./configure

2) patch the release tree using gnu patch using the following command:
 (cd vnc-3.3.5-unixsrc; patch -p2 < tru64.patch)
------- begin file tru64.patch -----------------------
diff -r -C 3 tru64.orig/vnc-3.3.5-unixsrc/Xvnc/include/Xfuncs.h
tru64/vnc-3.3.5-unixsrc/Xvnc/include/Xfuncs.h
*** tru64.orig/vnc-3.3.5-unixsrc/Xvnc/include/Xfuncs.h Sat May 11 12:57:06
2002
--- tru64/vnc-3.3.5-unixsrc/Xvnc/include/Xfuncs.h Tue Nov 12 16:48:50 2002
***************
*** 61,69 ****
  #define _XFUNCS_H_INCLUDED_STRING_H
  /* bcopy, bcmp, bzero declared */
  #else /* bsd */
! void bcopy();
! void bzero();
! int bcmp();
  #endif
  #endif /* SYSV */
  #endif /* sgi */
--- 61,69 ----
  #define _XFUNCS_H_INCLUDED_STRING_H
  /* bcopy, bcmp, bzero declared */
  #else /* bsd */
! /*void bcopy();*/
! /*void bzero();*/
! /*int bcmp();*/
  #endif
  #endif /* SYSV */
  #endif /* sgi */
diff -r -C 3
tru64.orig/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile
tru64/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile
*** tru64.orig/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile Wed
Aug 28 09:53:42 2002
--- tru64/vnc-3.3.5-unixsrc/Xvnc/programs/Xserver/hw/vnc/Imakefile Tue Nov
12 15:57:05 2002
***************
*** 12,18 ****
  #include <vnclibs.def>
  INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) -I$(XINCLUDESRC) \
     -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os \
!    $(VNCCPPFLAGS) -Wall

  DEFINES = ServerOSDefines

--- 12,18 ----
  #include <vnclibs.def>
  INCLUDES = -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) -I$(XINCLUDESRC) \
     -I../../cfb -I../../mfb -I../../mi -I../../include -I../../os \
!    $(VNCCPPFLAGS)

  DEFINES = ServerOSDefines
---------------------------- end file tru64.patch

3) compile Xvnc as usual: (cd Xvnc; make World)
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to