VNC on HP-UX

blanch@ucar.edu blanch "at" ucar.edu
Sat, 10 Oct 1998 01:39:23 +0000


I'm new to the list, but have browsed the online documentation, as well as
the FAQ and the archived mailing lists.  I was not able to find an answer.

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.

... followed by this... (not suprisingly...)

> Make: Don't know how to make ../libvncauth/libvncauth.a.  Stop.
> making all in ./vncpasswd...
>  cc -O -Aa  -I../include    -Dhpux -DSYSV -D_HPUX_SOURCE     -c vncpasswd.c
> Make: Don't know how to make ../libvncauth/libvncauth.a.  Stop.
> *** Error exit code 1
> Stop.
> *** Error exit code 1


If I change CC=cc to CC=gcc, the first error goes away, but I get the 
following error instead...

> gcc -O -Aa  -I. -I../include    -Dhpux -DSYSV -D_HPUX_SOURCE     -c d3des.c
> *Initialization*:1: missing token-sequence in `#assert'
> *** Error exit code 1
> Stop.

Furthermore, I don't seem to be able to globally change cc to gcc; it gets
changed back everytime I run "make World".

Also, I did make the changes suggested by K.H. for HP-UX.

I'm open to all suggestions...

-db-

Configuration:

mrd100> uname -a
HP-UX mrd100 B.10.20 A 9000/809 1030338311 two-user license

mrd100> gcc -v
Reading specs from /usr/local/lib/gcc-lib/hppa1.1-hp-hpux/2.5.5/specs
gcc version 2.5.5

mrd100> strings /usr/bin/cc |more
J$Revision: 92453-07 linker linker crt0.o A.10.44 951205 $


-- 
+----------------------------------------------------------------------+
| David Blanchard        NOAA/NSSL & OU/CIMMS        Boulder, Colorado |
| blanch "at" ucar.edu        http://mrd3.nssl.ucar.edu/~dob/www/           |
+----------------------------------------------------------------------+

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