HPUX 11.00/vnc-3.3.5-unixsrc compile on gcc 3.2

LUPTAK,MIROSLAV (HP-Slovakia,ex1) miroslav_luptak@hp.com
Thu Nov 21 00:28:00 2002


Hi, Jeff.

You should replace all (two) occurrences of "socklen_t" with "int" in
vncviewer/sockets.cxx.

Best regards,

Miro

> -----Original Message-----
> From: FRY, Jeff (PBD) [mailto:Jeff.Fry@sbcdo.com]
> Sent: Tue, Nov 19, 2002 23:09
> To: 'vnc-list@realvnc.com'
> Subject: HPUX 11.00/vnc-3.3.5-unixsrc compile on gcc 3.2
> 
> 
> Can anyone help with a compile error I'm having or have any 
> ideas for me?
> 
> I'm using gcc 3.2, gmake 3.79.1 and trying to compile 
> vnc-3.3.5-unixsrc.
> My box is a (9000/800/N4000-55)
> 
> I configured with:  ./configure 
> --x-includes=/usr/contrib/X11R6/include to
> get past a 1st set of issues but get the following compile error:
> 
> c++   -I..   -I/usr/contrib/X11R6/include  -O2 -Wall -c sockets.cxx
> sockets.cxx: In function `int SetRFBSock(int)':
> sockets.cxx:99: invalid conversion from `socklen_t*' to `int*'
> sockets.cxx:100: invalid conversion from `socklen_t*' to `int*'
> sockets.cxx: In function `int AcceptTcpConnection(int)':
> sockets.cxx:268: invalid conversion from `socklen_t*' to `int*'
> gmake[1]: *** [sockets.o] Error 1
> gmake[1]: Leaving directory
> `/usr/system_manager/software/vnc-3.3.5-unixsrc/vnc
> iewer'
> gmake: *** [all] Error 1
> 
> 
> Ideas???????
> 
> Jeff Fry - SBC-DO
> UNIX Systems Administration
> work: 	(925) 463-5148 		pager: 	(925) 734-7064
> fax: 	(925) 847-0883		telepager: 9257347064@myairmail.com
> email address:  jeff.fry@sbcdo.com
> _______________________________________________
> VNC-List mailing list
> VNC-List@realvnc.com
> http://www.realvnc.com/mailman/listinfo/vnc-list