Rajvikram, You may wish to use the VNC 4.1 codebase, rather than 4.0, and see whether that improves things.
Cheers, Wez @ RealVNC Ltd. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Rajvikram Singh > Sent: 06 February 2006 06:55 > To: [email protected] > Subject: Compile errors with gcc 3.3.4 > > Hi > I've recently noticed that the vnc source fails to > compile in the > rfb/ directory with the new gcc 3.3.4 (and later). I am not > really sure if > the compiler is to blame since I do have a SuSE 9.2 > installation with gcc > 3.3.4 and have no trouble. I am posting the errors below and would be > grateful for any suggestions. > > thanks in advance ... > Raj > > > make[1]: Entering directory > `/home/rsingh/code/LambdaCam/vnc-4.0-unixsrc/rfb' > g++ -I ../../include/ -Wno-deprecated -Wno-deprecated -I.. > -DHAVE_VSNPRINTF -O2 -Wall -I ../../include/ -Wno-deprecated -c > VNCSConnectionST.cxx > VNCSConnectionST.cxx:26: error: expected `;' before '{' token > VNCSConnectionST.cxx:26: error: expected unqualified-id > before '{' token > VNCSConnectionST.cxx:26: error: expected `,' or `;' before '{' token > In file included from > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ > /3.4.4/vector:72, > from ../rfb/Region.h:25, > from ../rfb/UpdateTracker.h:23, > from ../rfb/VNCServer.h:25, > from ../rfb/SDesktop.h:41, > from ../rfb/VNCServerST.h:28, > from ../rfb/VNCSConnectionST.h:33, > from VNCSConnectionST.cxx:37: > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/stl_bvector.h: > In member function `void std::vector<bool, > _Alloc>::_M_insert_range(std::_Bit_iterator, _ForwardIterator, > _ForwardIterator, std::forward_iterator_tag)': > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/stl_bvector.h:522: > error: expected unqualified-id before '(' token > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/stl_bvector.h: > In member function `void std::vector<bool, > _Alloc>::_M_fill_insert(std::_Bit_iterator, size_t, bool)': > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/stl_bvector.h:823: > error: expected unqualified-id before '(' token > In file included from > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ > /3.4.4/vector:75, > from ../rfb/Region.h:25, > from ../rfb/UpdateTracker.h:23, > from ../rfb/VNCServer.h:25, > from ../rfb/SDesktop.h:41, > from ../rfb/VNCServerST.h:28, > from ../rfb/VNCSConnectionST.h:33, > from VNCSConnectionST.cxx:37: > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/vector.tcc: > In member function `void std::vector<_Tp, > _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename > _Alloc::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)': > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/vector.tcc:307: > error: expected unqualified-id before '(' token > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/vector.tcc: > In member function `void std::vector<_Tp, > _Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename > _Alloc::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, > _ForwardIterator, std::forward_iterator_tag)': > /usr/lib/gcc/x86_64-redhat-linux/3.4.4/../../../../include/c++ /3.4.4/bits/vector.tcc:384: > error: expected unqualified-id before '(' token > VNCSConnectionST.cxx: In destructor > `VNCSConnectionSTShiftPresser::~VNCSConnectionSTShiftPresser()': > VNCSConnectionST.cxx:430: error: `XK_Shift_L' undeclared > (first use this > function) > VNCSConnectionST.cxx:430: error: (Each undeclared identifier > is reported > only once for each function it appears in.) > VNCSConnectionST.cxx: In member function `void > VNCSConnectionSTShiftPresser::press()': > VNCSConnectionST.cxx:433: error: `XK_Shift_L' undeclared > (first use this > function) > VNCSConnectionST.cxx: In member function `virtual void > rfb::VNCSConnectionST::keyEvent(rdr::U32, bool)': > VNCSConnectionST.cxx:449: error: `XK_ISO_Left_Tab' undeclared > (first use > this function) > VNCSConnectionST.cxx:450: error: `XK_Shift_L' undeclared > (first use this > function) > VNCSConnectionST.cxx:451: error: `XK_Shift_R' undeclared > (first use this > function) > VNCSConnectionST.cxx:453: error: `XK_Tab' undeclared (first use this > function) > make[1]: *** [VNCSConnectionST.o] Error 1 > make[1]: Leaving directory > `/home/rsingh/code/LambdaCam/vnc-4.0-unixsrc/rfb' > make: *** [all] Error 1 > _______________________________________________ > VNC-List mailing list > [email protected] > To remove yourself from the list visit: > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
