compiling rfb-0.6.1 on Linux : errors

Cristina Pop Cristina.Pop@imag.fr
Thu Jan 30 15:52:01 2003


Hello,


  I'm trying to compile rfb-0.6.1 (for using x0rfbserver) on
SuSE Linux 8.1 kernel 2.4.19 and it doesn't work...
  First, I received this kind of errors:

 >make
"
g++ -DUSE_ZLIB_WARREN  -I../include -finline-functions -funroll-loops 
-O3 -Wall   -c -o Connection.o Connection.cc
g++ -DUSE_ZLIB_WARREN  -I../include -finline-functions -funroll-loops 
-O3 -Wall   -c -o Framebuffer.o Framebuffer.cc
Framebuffer.cc:165: default argument given for parameter 6 of `void
   rfb::Framebuffer::putPixel(unsigned int, unsigned int, unsigned int,
   unsigned int, unsigned int, unsigned int = 255)'
../include/Framebuffer.h:70: after previous specification in `void
   rfb::Framebuffer::putPixel(unsigned int, unsigned int, unsigned int,
   unsigned int, unsigned int, unsigned int = 255)'
Framebuffer.cc:176: default argument given for parameter 6 of `void
   rfb::Framebuffer::getPixel(unsigned int, unsigned int, unsigned int&,
   unsigned int&, unsigned int&, unsigned int = 255)'
../include/Framebuffer.h:63: after previous specification in `void
   rfb::Framebuffer::getPixel(unsigned int, unsigned int, unsigned int&,
   unsigned int&, unsigned int&, unsigned int = 255)'

   ...
"

 I succeded to correct it, but now there is other error:

 >make
"...
g++ -DUSE_ZLIB_WARREN  -I../include -finline-functions -funroll-loops 
-O3 -Wall   -c -o encodeRectangleRRE.o encodeRectangleRRE.cc
In file included from encodeRectangleRRE.cc:21:
../include/rfbServer.h:328: 'list' is used as a type, but is not defined 
as a
   type.
make: *** [encodeRectangleRRE.o] Error 1
"

I have the same kind of problems with rfb-0.1.2.


Thanks for help,
Cristina

ps I have installed xclass-0.7.4