Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 128733

Summary: media-libs/gstreamer-0.10.4 compile ends with error VALGRIND_PRINTF undefined ref
Product: Gentoo Linux Reporter: Lars Langhans <lars.langhans>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars Langhans 2006-04-03 22:52:08 UTC
Hi all,
please help I don't know how to fix this behaviour. My gentoo is old, very old (since beta 1.4) based on portage tree 20060403. I update and administrate it very well. Most problems are solveable but the ''sign'' VALGRIND_PRINTF undefined ref problem is not.

All the time I try to compile the gstreamer project, I got the follows error message.

# ------------- error message -----------------
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I../libs -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -Wall  -g   -DGST_DISABLE_DEPRECATED -march=pentium3 -O2 -fomit-frame-pointer -pipe  -MT gst_xmllaunch_0.10-gst-launch.o -MD -MP -MF ".deps/gst_xmllaunch_0.10-gst-launch.Tpo" -c -o gst_xmllaunch_0.10-gst-launch.o `test -f 'gst-launch.c' || echo './'`gst-launch.c; \
then mv -f ".deps/gst_xmllaunch_0.10-gst-launch.Tpo" ".deps/gst_xmllaunch_0.10-gst-launch.Po"; else rm -f ".deps/gst_xmllaunch_0.10-gst-launch.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -march=pentium3 -O2 -fomit-frame-pointer -pipe    -o gst-xmllaunch-0.10 ../gst/libgstreamer-0.10.la -pthread -Wl,--export-dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0    gst_xmllaunch_0.10-gst-launch.o -lglib-2.0
gcc -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=pentium3 -O2 -fomit-frame-pointer -pipe -o .libs/gst-xmllaunch-0.10 -pthread -Wl,--export-dynamic gst_xmllaunch_0.10-gst-launch.o  ../gst/.libs/libgstreamer-0.10.so /usr/lib/libxml2.so -lz -lm /usr/lib/libgobject-2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
../gst/.libs/libgstreamer-0.10.so: undefined reference to `VALGRIND_PRINTF'
collect2: ld returned 1 exit status

# ------------------------------------------------------

So please help.

valgrind 2.4.0 is installed

# ------------------------------------------------------
# emerge info

Portage 2.0.54 (default-linux/x86/no-nptl, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15.1 i686)
=================================================================
System uname: 2.6.15.1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe "
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE@euro"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-lla"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bonobo bzip2 cdb cdparanoia cdr cgi cli crypt ctype cups curl dba dga directfb divx4linux dri dts dv dvd dvdr dvdread eds emacs emboss encode esd exif expat fam fame fastbuild fbcon ffmpeg firefox flac foomaticdb force-cgi-redirect ftp gcj gd gdbm gif glut gnome gphoto2 gstreamer gtk gtk2 gtkhtml icu idn imagemagick imap imlib ipv6 jabber java jpeg junit kde kqemu lcms ldap libcaca libg++ libwww lua lzo mad maildir memlimit mhash mikmod mjpeg mmx mng motif mozilla mp3 mpeg mplayer mpm-prefork mysql ncurses nls ogg openal opengl oss pam parse-clocks pcre pda pdflib perl php png posix pvm python qemu-fast qt readline recode rhino samba sdl session shorten simplexml slang snmp soap sockets socks5 softmmu speex spell spl sqlite sqlite3 sse sse2 ssl svga tcpd tiff tokenizer transcode truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xanim xine xinerama xml xml2 xmms xpm xprint xsl xv xvid zlib video_cards_matrox video_cards_mga userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-04-04 02:08:22 UTC
what version of gstreamer did you emerge?
Comment 2 Lars Langhans 2006-04-05 02:06:29 UTC
media-libs/gstreamer-0.10.4
Comment 3 Zaheer Abbas Merali (RETIRED) gentoo-dev 2006-04-09 10:52:16 UTC
Thanks, I have fixed this upstream and a new release is imminent.  It seems only to happen when old versions of valgrind are installed.

So I suggest to wait until Monday or Tuesday when there is a new release which I will put into Gentoo.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-06-28 06:30:55 UTC
Please, reopen if you still have this issue w/ >=0.10.11. Assuming fixed per comment #3.