Problem Making vnc-4.0b4-unixsrc on Solaris 8

Jeff Boerio boerio "at" ichips.intel.com
Fri Apr 2 17:20:01 2004


You might have better luck trying to build VNC against XFree86 4.3.0 or
4.2.0 (the latter is what Real VNC builds against in their binary
packages they distribute).

I tried building VNC 4.0b4 against XFree86 4.4.0 on Linux and was able
to get an Xvnc binary, but it segfaults very early on:

(gdb) set args :1 -fp unix/:7100
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /tmp/boerio/vnc-4.0b4-unixsrc/xc/programs/Xserver/Xvnc
:1 -fp unix/:7100
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/plxs0036:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Xvnc version 4.0b4 - built Apr  1 2004 11:17:26
Underlying X server release 40400000, The XFree86 Project, Inc


Fri Apr  2 08:18:03 2004
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on port 5901
 vncext:      created VNC server for screen 0

Program received signal SIGSEGV, Segmentation fault.
0x08161932 in vncHooksPaintWindowBackground(_Window*, _Region*, int) ()
(gdb) where
#0  0x08161932 in vncHooksPaintWindowBackground(_Window*, _Region*, int)
()
#1  0x08100d4a in miWindowExposures ()
#2  0x0805275d in MapWindow ()
#3  0x0804ef59 in InitRootWindow ()
#4  0x0804cd21 in main ()
#5  0x40167657 in __libc_start_main (main=0x804c840 <main>, argc=4, 
    ubp_av=0xbfffea94, init=0x804b5b4 <_init>, fini=0x81fd8a0 <_fini>, 
    rtld_fini=0x4000dcd4 <_dl_fini>, stack_end=0xbfffea8c)
    at ../sysdeps/generic/libc-start.c:129

     - Jeff

On Thu, 2004-04-01 at 17:39, b.schworm "at" unsw.edu.au wrote:

> I have encountered the following problem making vnc-4.0b4-unixsrc on solaris 8
> with gcc 3.2.1:
> 
>     making all in programs/Xserver/vnc/module...
>     CC    -c  vncExtInit.cc
>     *** Error code 1
> 
> Looks like a problem in the make files but I have not been able to find it. I
> have tried both gnu make and ccs make with the same result.
> 
> I have tried various defines with the make command but here is my latest
> attempt: 
> 
>   # make World CC=gcc MAKE=/usr/ccs/bin/make 2&>1 > makeworld.log &
> 
> and the beginning of makeworld.log is
> 
>     Building XFree86 version 4.4.0 (29 February 2004).
> 
>     Building on SunOS 5.8 Generic_108528-18 sun4u (5.8.0).
> 
>     GCC version: 3.2
> 
> The file ends with the error quoted above with a few more "Error Code 1"
> messages. 
> 
> To test my setup, I compiled XFree86-4.4.0-src without any problems. 
> 
> I have compiled and installed vnc-3.3.7-unixsrc but would like to try
> the beta version. I would appreciate any advice.
> 
> Thanks, Bill
> 
> ___________________________________________________________________
> 
> Bill Schworm
> School of Economics
> University of New South Wales
> Sydney, NSW, 2052
> Australia
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list