HPUX 11.00/vnc-3.3.5-unixsrc compile on gcc 3.2
Dave Love
d.love@dl.ac.uk
Fri Nov 22 13:10:01 2002
"FRY, Jeff (PBD)" <Jeff.Fry@sbcdo.com> writes:
> I configured with: ./configure --x-includes=/usr/contrib/X11R6/include to
> get past a 1st set of issues but get the following compile error:
If /usr/contrib/X11R6 is a normal place to find X on HPUX, it merits
an autoconf bug report (to bug-autoconf@gnu.org). The VNC configure
is built with an old autoconf, but the current one won't look there
either.
> 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*'
configure should have inserted -Dsocklet_t=int into the Makefile if
the system doesn't use socklen_t. Does it not do so?
I contributed the relevant configure fragment, but I don't have HPUX
to test on. If you send me a transcript of running configure (_after_
removing any config.cache that's lying around) as well as the
resulting config.log, I may be able to spot the problem.