Hi folks Please consider setting SHM_SUPPORT=1 in the Makefile in order to compile SHM_SUPPORT into softdevice. There's also a client bundled that has to be compiled with "make ShmClient". Maybe a use flag to set or unset SHM_SUPPORT makes sense. (And off-bug: amd64 support for 0.2.3 - like 0.2.2 from gentoo-de - would be very nice :-) Thanks a bunch!
Still somewhat off-bug, but also off my capabilities ;-) I've just tried to compile ShmClient manually on my amd64 box after doing an "emerge -B" with vdr-1.4 and softdevice-1.2.2 (from gentoo-de) to get working .o-files. Had to tweak the path to some of them in the Makefile first, then compiling bombs with: g++ -L/usr/X11R6/lib -lXi -lXext -lX11 -lm -lXv /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/tools.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/thread.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/remote.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/i18n.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/keys.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/config.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/plugin.o /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/sources.o video.o video-xv.o setup-softdevice.o xscreensaver.o utils.o -lpthread -ljpeg ShmClient.o -o ShmClient /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/config.o: In function `cSetup::Save()': config.c: (.text+0x3666): undefined reference to `cDevice::numDevices' config.c: (.text+0x36a3): undefined reference to `cDevice::numDevices' config.c: (.text+0x36b9): undefined reference to `Recordings' config.c: (.text+0x36be): undefined reference to `cRecordings::Update(bool)' /var/tmp/portage/vdr-1.4.0/work/vdr-1.4.0/plugin.o: In function `cPluginManager::Active(char const*)': plugin.c: (.text+0xf6e): undefined reference to `Interface' plugin.c: (.text+0xf73): undefined reference to `cInterface::Confirm(char const*, int, bool)' collect2: ld returned 1 exit status make: *** [ShmClient] Error 1 Compiling softdevice-1.2.3 on an amd64 with the ~x86 keyword bombs - surprise! - as well: g++ -march=k8 -pipe -O2 -fPIC -c -DUSE_MMX -DUSE_MMX2 -DCONFIGDIR=\"/etc/vdr\" -DUSE_SUBPLUGINS -DDFB_SUPPORT -DLIBXDPMS_SUPPORT -DXV_SUPPORT -DPP_LIBAVCODEC -DSUSPEND_BY_KEY -DPLUGIN_NAME_I18N='"softdevice"' -D_GNU_SOURCE -DPLUGINLIBDIR='"/usr/lib/vdr/plugins"' -I/usr/include -I/usr/include -I/usr/include/ffmpeg/ -I/usr/include/dfb++ -I/usr/include/directfb setup-softdevice-menu.c setup-softdevice.c:412: error: prototype for `bool cSetupStore::CatchRemoteKey(const char*, uint64)' does not match any in class `cSetupStore' setup-softdevice.h:117: error: candidate is: virtual bool cSetupStore::CatchRemoteKey(const char*, uint64_t) I know this is not the forum, if you have a hint though, mail it directly to echo41(-a-)delirium.ch - thanks!! -sven
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r7 x86_64) ================================================================= System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: [Not Present] dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -pipe -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -pipe -O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentoo-de" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 16bit X X509 aac alsa aotuv apache2 audiofile avi berkdb bigpatch bitmap-fonts bluetooth bzip2 cairo ccache cdda cddb cdio cdparanoia cdr chroot cli cracklib crypt css ctype cups curl curlwrappers dar64 dba dio directfb dlloader dri dts dvd dvdr dvdread eds emboss encode exif expat fam ffmpeg flatfile foomaticdb fortran gd gif glitz glut gnome gpm gstreamer gtk gtk2 icecast idea imagemagick imlib imlib2 innodb ipv6 isdnlog jpeg kde lcms ldap libg++ libwww lirc live lm_sensors lzw lzw-tiff mad maildir mhash mime mng mp3 mpeg mpm-prefork mysql ncurses network nls nocd nptl nptlonly nvidia ogg oggvorbis openal opengl pam pam_chroot pcntl pcre pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php png postgres ppds pppd python qt quicktime readline reflection rrdtool samba sasl sdl session setup-plugin sharedmem slang sndfile soap sockets sox speex spell spl ssl symlink tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb utf8 v4l v4l2 vhosts vorbis xanim xml xml2 xmlrpc xorg xpm xsl xv xvid yaepg yp zaptel zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
I am working on it. The SHM-Thing seems to work - at least on ~x86.
I added the ebuild vdr-softdevice-0.2.3.20060511 yesterday. It contains a patch from softdevice-CVS to work on amd64. SHM-Support is installed when one uses >=vdr-1.3.0 and xv is activated, as no other output-methods are supported atm. PS: You can reach us on #gentoo-vdr on Freenode.
Great, Matthias, works like a charm now. Thanks a bunch!!