Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335202 - x11-misc/x11vnc-0.9.11: screen.c:1481: error: ‘rfbClient’ has no member named ‘FinishedFrameBufferUpdate’
Summary: x11-misc/x11vnc-0.9.11: screen.c:1481: error: ‘rfbClient’ has no member name...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 337387 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-30 07:25 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2012-12-02 22:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,25.97 KB, text/plain)
2010-08-30 07:26 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Proposed ebuild for Xorg-1.8 (x11vnc-0.9.11.ebuild,2.00 KB, text/plain)
2010-09-02 21:48 UTC, Alexandre Ferreira
Details
Removes the field that does not exists in Xorg 1.8 (x11vnc-0.9.11-FrameBuffer.patch,552 bytes, text/plain)
2010-09-02 21:49 UTC, Alexandre Ferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-30 07:25:57 UTC
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..       -march=barcelona -mtune=barcelona -O2 -pipe -finline-functions -Wall -MT x11vnc-screen.o -MD -MP -MF ".deps/x11vnc-screen.Tpo" -c -o x11vnc-screen.o `test -f 'screen.c' || echo './'`screen.c; \
        then mv -f ".deps/x11vnc-screen.Tpo" ".deps/x11vnc-screen.Po"; else rm -f ".deps/x11vnc-screen.Tpo"; exit 1; fi
screen.c: In function ‘vnc_reflect_get_password’:
screen.c:1429: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
screen.c:1434: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
screen.c: In function ‘vnc_reflect_guess’:
screen.c:1481: error: ‘rfbClient’ has no member named ‘FinishedFrameBufferUpdate’
screen.c: In function ‘initialize_raw_fb’:
screen.c:1755: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
screen.c:1777: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
make[3]: *** [x11vnc-screen.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-misc/x11vnc-0.9.11/work/x11vnc-0.9.11/x11vnc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-misc/x11vnc-0.9.11/work/x11vnc-0.9.11/x11vnc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/x11vnc-0.9.11/work/x11vnc-0.9.11'
make: *** [all] Error 2
emake failed


# emerge --info
Portage 2.2_rc72 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.32.21 x86_64)
=================================================================
System uname: Linux-2.6.32.21-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2354-with-gentoo-2.0.1
Timestamp of tree: Mon, 30 Aug 2010 05:45:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.2
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe -finline-functions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bash_completion.d /etc/bonobo-activation /etc/ca-certificates.conf /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fish /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/htdig /etc/imlib /etc/init.d /etc/iproute2 /etc/libgda-3.0 /etc/ntop /etc/pam.d /etc/pango /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/portage /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/usb_modeswitch.d /etc/xinetd.d /etc/xml /etc/zsh"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe -finline-functions"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1 --with-bdeps=y --keep-going"
FEATURES="assume-digests collision-protect distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/poly-c"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo caps cdparanoia cdr cli cracklib crypt cups cxx dbus dts dvd dvdr dvdread emboss encode exif fam ffmpeg flac gdbm gif gmp gnutls gpg gtk iconv idn imagemagick imlib jpeg jpeg2k kde kdehiddenvisibility lame lcms mad mikmod mjpeg mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf png ppds pppd qt3support qt4 quicktime readline reflection sdl session silc slang smp spell spl sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame unicode usb vcd vorbis vpx x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="de en" RUBY_TARGETS="ruby19" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -qpv x11vnc
[ebuild     U ] x11-misc/x11vnc-0.9.11 [0.9.10] USE="(-avahi) crypt -fbcon jpeg ssl system-libvncserver threads -v4l xinerama zlib"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-30 07:26:26 UTC
Created attachment 245317 [details]
build.log
Comment 2 Alexandre Ferreira 2010-09-01 20:16:19 UTC
Just an additional info.
It compiles with xorg 1.9 but fails with any 1.8.
Comment 3 Alexandre Ferreira 2010-09-02 21:48:52 UTC
Created attachment 245800 [details]
Proposed ebuild for Xorg-1.8

This ebuild uses the patch to fix x11vnc
Comment 4 Alexandre Ferreira 2010-09-02 21:49:49 UTC
Created attachment 245801 [details]
Removes the field that does not exists in Xorg 1.8

This patch allows x11vnc to compile with Xorg 1.8
Comment 5 Alexandre Ferreira 2010-09-02 21:51:37 UTC
I created a ebuild and a patch that allows x11vnc to compile with <=xorg-1.8. It is not needed for xorg-1.9. A better solution would identify the installed version and apply or not the patch accordingly.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-09-15 04:53:19 UTC
*** Bug 337387 has been marked as a duplicate of this bug. ***
Comment 7 Sven Wegener gentoo-dev 2012-12-02 22:13:55 UTC
x11vnc-0.9.13 has this solved upstream by #if these lines.