/bin/sh ../libtool --tag=CC --mode=link i486-pc-linux-gnu-gcc -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -mtune=i686 -pipe -Wl,-O1 -o menus menus.o ../src/libdvdnav.la -L/usr/lib -ldvdread libtool: link: i486-pc-linux-gnu-gcc -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -O2 -mtune=i686 -pipe -Wl,-O1 -o .libs/menus menus.o ../src/.libs/libdvdnav.so -L/usr/lib -lpthread /usr/lib/libdvdread.so -ldl /usr/lib/libdvdread.so: undefined reference to `dvdread_getbits_init' /usr/lib/libdvdread.so: undefined reference to `dvdread_getbits' collect2: ld returned 1 exit status make[2]: *** [menus] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/libdvdnav-4.1.3_p1168/work/libdvdnav-4.1.3_p1168/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libdvdnav-4.1.3_p1168/work/libdvdnav-4.1.3_p1168' make: *** [all] Error 2 Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.30-be-amd-r5 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.30-be-amd-r5-i686-AMD_Athlon-tm-_Processor_LE-1600-with-gentoo-1.12.13 Timestamp of tree: Mon, 19 Apr 2010 08:45:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p37 dev-lang/python: 2.6.4-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i486-pc-linux-gnu" CFLAGS="-O2 -mtune=i686 -pipe" CHOST="i486-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -mtune=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" 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="/usr/local/portage/floppe /usr/local/portage/marct" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="ac52 acl alsa apache2 berkdb bzip2 cli cracklib crypt css cups cxx dbus dri dts dvb dvd dvdread gd gdbm gpm iconv imq ipv6 jpeg lirc mmx modules mudflap mysql mythtv ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png pppd python qt qt3support readline reflection session spl sse sse2 ssl sysfs tcpd transcode unicode vorbis x86 xorg zlib" ALSA_CARDS="hda-intel intel8x0 intel8x0m atiixp" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="imon" LIRC_DEVICES="serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 228575 [details] Complete build log
It should look like this, $ strings /usr/lib64/libdvdread.so.4.1.2 |grep getbits dvdread_getbits_init dvdread_getbits $ qfile -v libdvdread.so.4.1.2 media-libs/libdvdread-4.1.3_p1168 (/usr/lib64/libdvdread.so.4.1.2) What version of libdvdread are you using? Can you try to recompile it?
Tried recompile libdvdread several times, did emerge -eav system and recompiled livdvdread again. And now it worked to compile libdvdnav. Dunno what was wrong. Will do an emerge -eav world to be on the safe side. So this is from the working libdvdread which is a little too late. # strings /usr/lib/libdvdread.so.4.1.2 |grep getbits dvdread_getbits_init dvdread_getbits Number of bits > 32 in getbits # qfile -v libdvdread.so.4.1.2 media-libs/libdvdread-4.1.3_p1168 (/usr/lib/libdvdread.so.4.1.2) Thank you very much for your help. You may close the bug.
ok.