VNC on HP-UX

Tristan Richardson tjr "at" orl.co.uk
Mon, 12 Oct 1998 11:08:35 +0000


blanch "at" ucar.edu writes:
> 
> I'm trying to build VNC on HP-UX 10.20, but with little success.  Using the
> makefile, as is, gives this error...
> 
> > cc -O -Aa  -I. -I../include    -Dhpux -DSYSV -D_HPUX_SOURCE     -c d3des.c
> > cc: "d3des.c", line 71: error 1711: Inconsistent parameter list declaration
> > for "deskey".
> > *** Error exit code 1
> > Stop.

This error can be easily fixed (in fact it's already fixed in our internal
sources so it will be fixed in the next release).  Change line 24 of
d3des.h from

  extern void deskey(unsigned char *, short);

to

  extern void deskey(unsigned char *, int);

and line 73 of d3des.c from

  short edf;

to

  int edf;


Hope this solves your problem.
Cheers

Tristan

+-------------------------------------------------------------------------+
  Tristan Richardson, ORL, 24a Trumpington Street, Cambridge, CB2 1QA, UK
     tjr "at" orl.co.uk      Tel: +44 1223 343000      Fax: +44 1223 313542
+-------------------------------------------------------------------------+
  ORL - The Olivetti & Oracle Research Laboratory    http://www.orl.co.uk
+-------------------------------------------------------------------------+

---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------