Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85947 - libvncserver -> x11vnc emerge compile fails
Summary: libvncserver -> x11vnc emerge compile fails
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-19 15:07 UTC by ivo welch
Modified: 2005-03-22 10:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivo welch 2005-03-19 15:07:38 UTC
$ emerge x11vnc
Calculating dependencies ...done!
>>> emerge (1 of 2) net-libs/libvncserver-0.7 to /
>>> Downloading http://mirror.datapipe.net/gentoo/distfiles/LibVNCServer-0.7.tar.gz

<snip>

x86_64-pc-linux-gnu-gcc  -march=athlon64 -pipe -O2   -o SDLvncviewer  SDLvncviewer-SDLvncviewer.o ../libvncclient/libvncclient.a  -L//usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lnsl -lpthread -ljpeg -lz
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.20, needed by //usr/lib/libSDL.so, not found (try using -rpath or -rpath-link)
//usr/lib/libSDL.so: undefined reference to `DirectFBCreate'
//usr/lib/libSDL.so: undefined reference to `DirectFBErrorString'
//usr/lib/libSDL.so: undefined reference to `DirectFBError'
//usr/lib/libSDL.so: undefined reference to `DirectFBInit'
collect2: ld returned 1 exit status
make[2]: *** [SDLvncviewer] Error 1
make[2]: Leaving directory `/var/tmp/portage/libvncserver-0.7/work/LibVNCServer-0.7/client_examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libvncserver-0.7/work/LibVNCServer-0.7'
make: *** [all] Error 2

!!! ERROR: net-libs/libvncserver-0.7 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.





Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 21:33:01)]
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.4, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/p ub/gentoo
ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
LC_ALL="POSIX"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts berkdb bitmap-fonts bonobo cdr crypt cups curl
directfb dvd dvdr esd f77 fam fbcon flac font-server foomaticdb fortran g77 gdbm
ggi gif gnome gphoto2 gpm gtk gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg
junit kde ldap libwww lzw lzw-tiff mad mikmod motif mozilla mp3 mpeg mysql nas
ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt readline
ruby scanner sdl slang snmp ssl tcltk tcpd tetex tiff truetype truetype-fonts
type1-fonts ungif usb userlocales xml xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2005-03-21 08:27:43 UTC
did you try to rebuild your libsdl?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2005-03-22 06:26:39 UTC
I have nothing to do with anything VNC...
Comment 3 Sven Wegener gentoo-dev 2005-03-22 07:03:19 UTC
This is a pure libvncserver build issue and has nothing to do with x11vnc.
Comment 4 SpanKY gentoo-dev 2005-03-22 07:10:54 UTC
you didnt run revdep-rebuild like directfb told you to

re-emerge libsdl
Comment 5 ivo welch 2005-03-22 10:30:13 UTC
hi spanky:  indeed, reemerging libsdl solves the problem.  I thought the scripts should do the revdep-rebuild, shouldn't they?

regards, /iaw