Silviu Marin-Caea wrote:
rdesktop gives an error that I don't know what to make of.
rdesktop 192.168.1.59
ERROR: Less than 8 bpp not currently supported.
This used to work just fine with SuSE 8.1 on the same computer,
accessing the same server, with the same command.
I found this message on the rdesktop list:
From: Matt Chapman
Re: Error under suse 8.2
2003-06-10 19:55
Someone else had this problem, if I recall correctly it's a gcc
3.3 optimisation bug. Use a different version of gcc or reduce
the optimisation level (-O2 -> -O or nothing in Makeconf), and
complain to SuSE that they're shipping an unstable compiler.
Matt
So, the exact steps to get it working are these:
rpm --install rdesktop-1.2.0-36.src.rpm
cd /usr/src/packages/SOURCES
tar -xzf rdesktop-1.2.0.tar.gz
cd /usr/src/packages/SOURCES/rdesktop-1.2.0
$EDITOR configure
Change -O2 to -O on this line: cflags="$cflags -Wall -O2"
cd /usr/src/packages/SOURCES/
tar -czf rdesktop-1.2.0.tar.gz rdesktop-1.2.0
cd /usr/src/packages/SPECS/
rpm -ba rdesktop.spec
rpm -i --force /usr/src/packages/RPMS/i386/rdesktop-1.2.0-36.i386.rpm