Hi,

I'm having trouble building the server (Xvnc) for RealVNC 4.1.2 on Solaris 10 x86. No problems building for SPARC. I know I've had issues in the past building for Solaris x86 that I didn't have for SPARC, but I've usually been able to get around them. This time I'm stumped. I've tried a number of different build scenarios (shown below). If anyone has successfully built Xvnc 4.1.2 for Solaris x86, could you please let me know what steps you took to get it to build and what versions of software you used ?

Thanks,
John


Build attempts:


gcc 3.4.3 + XFree86 4.3
----------------------------------------------------------------------------------
Got this error:

events.c: In function `DeliverEventsToWindow':
events.c:1700: error: `DeviceButtonPress' undeclared (first use in this 
function)
events.c:1700: error: (Each undeclared identifier is reported only once
events.c:1700: error: for each function it appears in.)
events.c: In function `CheckPassiveGrabsOnWindow':
events.c:2448: error: `DeviceKeyPress' undeclared (first use in this function)
events.c: In function `CheckDeviceGrabs':
events.c:2535: error: `DeviceButtonPress' undeclared (first use in this 
function)
*** Error code 1
make: Fatal error: Command failed for target `events.o'
Current working directory 
/tmp/vnc/vnc-4_1_2-unixsrc/unix/xc/programs/Xserver/dix
*** Error code 1

So I tried uncommenting this in xc/config/cf/xf86site.def

#define BuildXInputExt      NO

I then get this:
gcc -c -O2 -fno-strength-reduce -DNO_ASM -Wall -Wpointer-arith -I. -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/include -I../../../../../../programs/Xserver/Xext -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../../.. -I../../../../../../exports/include -I/usr/openwin/include -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386 -DSHAPE -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -D__SOL8__ -DNDEBUG -DUSESTDRES sun_io.c
In file included from 
../../../../../../programs/Xserver/hw/xfree86/os-support/xf86OSKbd.h:8,
                 from sun_io.c:58:
../../../../../../programs/Xserver/hw/xfree86/common/xf86Xinput.h:99: error: syntax error 
before "xDeviceCtl"
../../../../../../programs/Xserver/hw/xfree86/common/xf86Xinput.h:128: error: syntax 
error before "InputDriverPtr"

I'm not sure where to go with this one as I've already disabled XInput. It seems that xf86OSKbd.h thinks xDeviceCtl should be typedef'd somewhere.


SunStudio 11 + XFree86 4.3
-------------------------------------------------------------------------------------
After several errors dealing with fonts, I commented out the font support. Then 
got this:

/opt/SUNWspro/bin/CC -c -xO3 -I../include -I../../../include/extensions -I../../../exports/include/X11 -I../../../include/fonts -I../mfb -I../mi -I../../../../../common -I../../../../vncconfig -I../../.. -I../../../exports/include -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386 -Dsun -Di386 -DSVR4 -D__EXTENSIONS__ -D__i386 -DSHAPE -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP -DXF86BIGFONT -DDPMSExtension -DPANORAMIX -DRENDER -DRANDR -DINCLUDE_ALLOCA_H -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER -DXFree86Server -DXF86VIDMODE -DXvMCExtension -DSMART_SCHEDULE -DBUILDDEBUG -DXResExtension -DX_BYTE_ORDER=X_LITTLE_ENDIAN -D__SOL8__ -DNDEBUG -DGC_HAS_COMPOSITE_CLIP -UXFree86LOADER vncExtInit.cc
"../../../exports/include/X11/Xalloca.h", line 112: Error: Only one of a set of 
overloaded functions can be extern "C".

I tried hacking Xalloca.h, but didn't get anything that would build.

gcc 3.4.3 + Xorg R6.8.1
-----------------------------------------------------------------------------------------
Got this error:

make: Fatal error: Don't know how to make target `miext/damage/libdamage.a'
Current working directory /tmp/vnc/vnc-4_1_2-unixsrc/unix/xc/programs/Xserver
*** Error code 1

Haven't a clue here. I'm probably using an incompatible version of Xorg. Can 
someone tell me what version would work ?




SunStudio 11 + Xorg R6.8.1
---------------------------------------------------------------------------------------
Got the same error as when I tried to build VNC with XFree86 + gcc 3.4.3




--
John Cecere
Sun Microsystems
732-302-3922 / [EMAIL PROTECTED]
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to