Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 44830
Alias:
Product:
Component:
Status: RESOLVED
Resolution: DUPLICATE of bug 42037
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Giovanni <gpanco@tiscali.it>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44830 depends on: Show dependency tree
Bug 44830 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-16 02:33 0000
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 From Patrick Kursawe 2004-03-17 03:02:52 0000 -------

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

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug