Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44830 - mjpegtools-1.6.1.90-r2 compile problem
Summary: mjpegtools-1.6.1.90-r2 compile problem
Status: RESOLVED DUPLICATE of bug 42037
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-16 02:33 UTC by Giovanni
Modified: 2005-07-17 13:06 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 Giovanni 2004-03-16 02:33:17 UTC
When I emerge mjpegtools I get this undefined reference:

lavplay.o(.text+0x41f8): In function `lavplay_mjpeg_set_params':
: undefined reference to `XOpenDisplay'
lavplay.o(.text+0x4273): In function `lavplay_mjpeg_set_params':
: undefined reference to `XGetWindowAttributes'


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

Actual Results:  
/bin/sh ../libtool --mode=link gcc  -mcpu=i686 -march=i686 -march=pentium3 -O3
-pipe -fprefetch-loop-arrays -funroll-loops -mno-sse2 -Wall -Wunused   -o lavrec
 lavrec.o  ../utils/libmjpegutils.a liblavrec.la liblavfile.la liblavjpeg.la
-lpthread 
gcc -mcpu=i686 -march=i686 -march=pentium3 -O3 -pipe -fprefetch-loop-arrays
-funroll-loops -mno-sse2 -Wall -Wunused -o .libs/lavplay lavplay.o 
../utils/libmjpegutils.a ./.libs/liblavplay.so ./.libs/liblavjpeg.so
-L/usr/include/jpeg-mmx ./.libs/liblavfile.so -L/usr/lib -lmovtar
/usr/lib/libquicktime.so -ldl /usr/lib/libjpeg.so /usr/lib/libdv.so -lm
/usr/lib/libglib.so -lpthread -L/usr/X11R6/lib
lavplay.o(.text+0x41f8): In function `lavplay_mjpeg_set_params':
: undefined reference to `XOpenDisplay'
lavplay.o(.text+0x4273): In function `lavplay_mjpeg_set_params':
: undefined reference to `XGetWindowAttributes'
collect2: ld returned 1 exit status


Expected Results:  
Compiled.

Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4)
=================================================================
System uname: 2.6.4 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fprefetch-loop-arrays -funroll-loops"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/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=pentium3 -O3 -pipe -fprefetch-loop-arrays -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/back/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups dga directfb dv
dvd encode esd faad ffmpeg foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml
guile imlib java jpeg kde ldap libg++ libwww mad matrox mbox mikmod mmx motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pcap pdflib perl png ppds
python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex
tiff transcode truetype x86 xml2 xmms xv xvid zlib"



i've seen bug 42037 & bug 36771, but i've not understand...
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-03-17 03:02:52 UTC

*** This bug has been marked as a duplicate of 42037 ***