Hi Folks,

   I am getting the following failure during the 64Bit Xvnc build:

"vncExtInit.cc", line 754: Warning: Conversion of 64 bit type value to
"unsigned" causes truncation.
"vncExtInit.cc", line 755: Warning: Conversion of 64 bit type value to
"unsigned" causes truncation.
"vncExtInit.cc", line 756: Error: Cannot cast from void* to unsigned.
"vncExtInit.cc", line 765: Warning: Conversion of 64 bit type value to
"int" causes truncation.
"vncExtInit.cc", line 767: Warning: Conversion of 64 bit type value to
"int" causes truncation.
"vncExtInit.cc", line 769: Warning: Conversion of 64 bit type value to
"int" causes truncation.
1 Error(s) and 39 Warning(s) detected.
/usr/ccs/bin/mcs: libvnccommon_la-vncExtInit.o: cannot open file.
        No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `libvnccommon_la-vncExtInit.o'
Current working directory
/export/moinakg-chroot/fox-gate/XW_NV/open-src/xserver/xvnc/build_64/vnc-4_1_3-unixsrc/

The Line 756 is this:
rep.opaqueId = (CARD32)queryConnectId;

queryConnectId is a static pointer which is being cast to a 32Bit value. This
a problem with 64Bit pointers. The variable rep is a struct called
xVncExtGetQueryConnectReply defined in:
xserver/xvnc/build_64/vnc-4_1_3-unixsrc/unix/vncconfig/vncExt.h
where the opaqueid member is defined as:  CARD32 opaqueId B32;

Question is how is the 64Bit xvnc being built ? Is there a fix already available
for this ?

Regards,
Moinak.
-- 
================================
http://www.belenix.org/
http://moinakg.wordpress.com/

Reply via email to