NOTE: a very similar thing happens with transcode-0.6.14, but I'm not sure whether this is xorg's fault, or transcode and libquicktime's faults, so I put that in a separate bug - 76661 (http://bugs.gentoo.org/show_bug.cgi?id=76661) with xorg-x11-6.8.1.901 installed, libquicktime-0.9.3-r1 fails to compile with the following error: make[3]: Entering directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3/utils' if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/quicktime -I../include -I/usr/X11R6/include -O3 -funroll-all-loops -fomit-frame-pointer -falign-loops=2 -falign-jumps=2 -falign-functions=2 -finline-functions -Wall -Wno-unused -Winline -MT lqtplay.o -MD -MP -MF ".deps/lqtplay.Tpo" \ -c -o lqtplay.o `test -f 'lqtplay.c' || echo './'`lqtplay.c; \ then mv -f ".deps/lqtplay.Tpo" ".deps/lqtplay.Po"; \ else rm -f ".deps/lqtplay.Tpo"; exit 1; \ fi lqtplay.c:32:31: X11/extensions/Xv.h: No such file or directory lqtplay.c:33:34: X11/extensions/Xvlib.h: No such file or directory lqtplay.c:35:19: GL/gl.h: No such file or directory lqtplay.c:36:20: GL/glu.h: No such file or directory lqtplay.c:37:20: GL/glx.h: No such file or directory lqtplay.c: In function `xv_init': lqtplay.c:197: error: `XvAdaptorInfo' undeclared (first use in this function) lqtplay.c:197: error: (Each undeclared identifier is reported only once lqtplay.c:197: error: for each function it appears in.) lqtplay.c:197: error: `ai' undeclared (first use in this function) lqtplay.c:198: error: `XvImageFormatValues' undeclared (first use in this function) lqtplay.c:198: error: `fo' undeclared (first use in this function) lqtplay.c:200: warning: implicit declaration of function `XvQueryExtension' lqtplay.c:204: warning: implicit declaration of function `XvQueryAdaptors' lqtplay.c:207: error: `XvInputMask' undeclared (first use in this function) lqtplay.c:207: error: `XvImageMask' undeclared (first use in this function) lqtplay.c:208: warning: implicit declaration of function `XvGrabPort' lqtplay.c:221: warning: implicit declaration of function `XvListImageFormats' lqtplay.c:230: error: `XvPacked' undeclared (first use in this function) lqtplay.c: At top level: lqtplay.c:320: error: parse error before '*' token lqtplay.c:322: warning: return type defaults to `int' lqtplay.c: In function `xv_create_ximage': lqtplay.c:323: error: `XvImage' undeclared (first use in this function) lqtplay.c:323: error: `xvimage' undeclared (first use in this function) lqtplay.c:334: warning: implicit declaration of function `XvShmCreateImage' lqtplay.c:376: warning: implicit declaration of function `XvCreateImage' lqtplay.c: At top level: lqtplay.c:389: error: parse error before "XvImage" lqtplay.c: In function `xv_blit': lqtplay.c:393: warning: implicit declaration of function `XvPutImage' lqtplay.c:393: error: `win' undeclared (first use in this function) lqtplay.c:393: error: `gc' undeclared (first use in this function) lqtplay.c:393: error: `xi' undeclared (first use in this function) lqtplay.c:393: error: `iw' undeclared (first use in this function) lqtplay.c:393: error: `ih' undeclared (first use in this function) lqtplay.c:393: error: `ww' undeclared (first use in this function) lqtplay.c:393: error: `wh' undeclared (first use in this function) lqtplay.c:395: warning: implicit declaration of function `XvShmPutImage' lqtplay.c: At top level: lqtplay.c:402: error: parse error before "tex" lqtplay.c:402: warning: type defaults to `int' in declaration of `tex' lqtplay.c:402: warning: data definition has no type or storage class lqtplay.c:403: error: `GLX_RGBA' undeclared here (not in a function) lqtplay.c:403: error: initializer element is not constant lqtplay.c:403: error: (near initialization for `gl_attrib[0]') lqtplay.c:404: error: `GLX_RED_SIZE' undeclared here (not in a function) lqtplay.c:404: error: initializer element is not constant lqtplay.c:404: error: (near initialization for `gl_attrib[1]') lqtplay.c:405: error: `GLX_GREEN_SIZE' undeclared here (not in a function) lqtplay.c:405: error: initializer element is not constant lqtplay.c:405: error: (near initialization for `gl_attrib[3]') lqtplay.c:406: error: `GLX_BLUE_SIZE' undeclared here (not in a function) lqtplay.c:406: error: initializer element is not constant lqtplay.c:406: error: (near initialization for `gl_attrib[5]') lqtplay.c:407: error: `GLX_DOUBLEBUFFER' undeclared here (not in a function) lqtplay.c:407: error: initializer element is not constant lqtplay.c:407: error: (near initialization for `gl_attrib[7]') lqtplay.c: In function `gl_resize': lqtplay.c:412: warning: implicit declaration of function `glViewport' lqtplay.c:413: warning: implicit declaration of function `glMatrixMode' lqtplay.c:413: error: `GL_PROJECTION' undeclared (first use in this function) lqtplay.c:414: warning: implicit declaration of function `glLoadIdentity' lqtplay.c:415: warning: implicit declaration of function `gluOrtho2D' lqtplay.c:416: error: `GL_MODELVIEW' undeclared (first use in this function) lqtplay.c: In function `gl_blit': lqtplay.c:428: warning: implicit declaration of function `glGenTextures' lqtplay.c:429: warning: implicit declaration of function `glBindTexture' lqtplay.c:429: error: `GL_TEXTURE_2D' undeclared (first use in this function) lqtplay.c:430: warning: implicit declaration of function `glTexParameteri' lqtplay.c:430: error: `GL_TEXTURE_MAG_FILTER' undeclared (first use in this function) lqtplay.c:430: error: `GL_LINEAR' undeclared (first use in this function) lqtplay.c:431: error: `GL_TEXTURE_MIN_FILTER' undeclared (first use in this function) lqtplay.c:434: warning: implicit declaration of function `glTexImage2D' lqtplay.c:434: error: `GL_RGB' undeclared (first use in this function) lqtplay.c:435: error: `GL_UNSIGNED_BYTE' undeclared (first use in this function) lqtplay.c:438: warning: implicit declaration of function `glTexSubImage2D' lqtplay.c:443: warning: implicit declaration of function `glEnable' lqtplay.c:444: warning: implicit declaration of function `glTexEnvf' lqtplay.c:444: error: `GL_TEXTURE_ENV' undeclared (first use in this function) lqtplay.c:444: error: `GL_TEXTURE_ENV_MODE' undeclared (first use in this function) lqtplay.c:444: error: `GL_DECAL' undeclared (first use in this function) lqtplay.c:445: warning: implicit declaration of function `glBegin' lqtplay.c:445: error: `GL_QUADS' undeclared (first use in this function) lqtplay.c:446: warning: implicit declaration of function `glTexCoord2f' lqtplay.c:446: warning: implicit declaration of function `glVertex3f' lqtplay.c:450: warning: implicit declaration of function `glEnd' lqtplay.c:451: warning: implicit declaration of function `glXSwapBuffers' lqtplay.c:452: warning: implicit declaration of function `glDisable' lqtplay.c: In function `gl_init': lqtplay.c:458: error: `GLXContext' undeclared (first use in this function) lqtplay.c:458: error: parse error before "ctx" lqtplay.c:461: warning: implicit declaration of function `glXChooseVisual' lqtplay.c:463: warning: assignment makes pointer from integer without a cast lqtplay.c:468: error: `ctx' undeclared (first use in this function) lqtplay.c:468: warning: implicit declaration of function `glXCreateContext' lqtplay.c:469: warning: implicit declaration of function `glXMakeCurrent' lqtplay.c:471: warning: implicit declaration of function `glXIsDirect' lqtplay.c:476: warning: implicit declaration of function `glGetIntegerv' lqtplay.c:476: error: `GL_MAX_TEXTURE_SIZE' undeclared (first use in this function) lqtplay.c:492: warning: implicit declaration of function `glClearColor' lqtplay.c:493: warning: implicit declaration of function `glShadeModel' lqtplay.c:493: error: `GL_FLAT' undeclared (first use in this function) lqtplay.c:494: warning: implicit declaration of function `glPixelStorei' lqtplay.c:494: error: `GL_UNPACK_ALIGNMENT' undeclared (first use in this function) lqtplay.c: At top level: lqtplay.c:571: error: parse error before '*' token lqtplay.c:571: warning: type defaults to `int' in declaration of `qt_xvimage' lqtplay.c:571: warning: data definition has no type or storage class lqtplay.c: In function `qt_frame_blit': lqtplay.c:698: error: request for member `data' in something not a structure or union lqtplay.c:707: error: request for member `data' in something not a structure or union lqtplay.c:707: error: request for member `offsets' in something not a structure or union lqtplay.c:708: error: request for member `data' in something not a structure or union lqtplay.c:708: error: request for member `offsets' in something not a structure or union lqtplay.c:709: error: request for member `data' in something not a structure or union lqtplay.c:709: error: request for member `offsets' in something not a structure or union lqtplay.c:717: error: request for member `data' in something not a structure or union lqtplay.c:717: error: request for member `offsets' in something not a structure or union lqtplay.c:718: error: request for member `data' in something not a structure or union lqtplay.c:718: error: request for member `offsets' in something not a structure or union lqtplay.c:719: error: request for member `data' in something not a structure or union lqtplay.c:719: error: request for member `offsets' in something not a structure or union make[3]: *** [lqtplay.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3/utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3' make: *** [all] Error 2 !!! ERROR: media-libs/libquicktime-0.9.3-r1 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1.emerge xorg-x11-6.8.1.901 2.emerge libquicktime Actual Results: Compilation fails Expected Results: compile and installe successfully valinor ~ # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc1-mm5 i686) ================================================================= System uname: 2.6.10-rc1-mm5 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz Gentoo Base System version 1.6.8 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 29 2004, 13:36:47)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.8.5-r2, 1.6.3, 1.9.3, 1.5, 1.7.9 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r2 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm atm avi berkdb bitmap-fonts cdparanoia cdr crypt dhcp divx4linux doc dvd encode flac foomaticdb gdbm gif gpm gtk2 imagemagick imap imlib jpeg ldap libwww live lzo mad mbox mikmod mjpeg mmx mmx2 motif mpeg ncurses network nls offensive oggvorbis pam pdflib perl pic png python quicktime readline real sdl slang spell sse sse2 ssl tcltk tcpd tetex theora tiff truetype usb v4l v4l2 vidix x86 xine xml2 xmms xv xvid zlib" NOTE: I have x11-base/xorg-x11 -xv in /etc/portage/package.use
> I have x11-base/xorg-x11 -xv in /etc/portage/package.use If it worked before, then that was because -xv probably didn't do what it was suppose to do fully out before. libquicktime-0.9.3-r1 configure script should query about xv support. Upstream bug
It could equally well be USE=-opengl (or both), since the error mentions both. Re-emerging xorg-x11-6.8.1.901 with USE="opengl xv" fixes this (and also fixes it for transcode). I can't test USE="xv -opengl" since xorg doesn't allow this at the moment, but I'll try USE="opengl -xv" tomorrow if I have time.
Nothing going to happen on the X11 side -- feel free to check for USE flags or whatever on the libquicktime side.
With USE="opengl -xv" the errors complaining about GL and GLX disappear, but I think all of the errors that don't explicitly mention GL/GLX are still there (and so caused by xv related problems) libquicktime's current use flags don't seem to be relevant to this (I'm trying to compile it with: -dv -gtk -ieee1394 +jpeg +mmx +oggvorbis +png)
same error here: ine -o .libs/lqtplay lqtplay.o ../src/.libs/libquicktime.so -L/usr/X11R6/lib -lXaw -lXv /usr/lib/libGLU.so -L/usr/lib -lSM -lICE -lXmu -lXt -lXext -lXi -lGL -lX11 -lm -lpthread -lz -ldl /usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lGL collect2: ld returned 1 exit status make[3]: *** [lqtplay] Error 1 make[3]: Leaving directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3/utils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3/utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libquicktime-0.9.3-r1/work/libquicktime-0.9.3' make: *** [all] Error 2 !!! ERROR: media-libs/libquicktime-0.9.3-r1 failed. !!! Function src_compile, Line 61, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Gentoo Base System version 1.6.9 Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(tm) XP 1800+ Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 9 2005, 21:19:48)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.9.4, 1.6.3, 1.8.5-r3, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://212.219.56.152/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" LANG="it_IT.utf8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aalib alsa apm avi bash-completion berkdb bitmap-fonts cdr crypt cups encode f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk gtk2 guile imagemagick imlib java jpeg libg++ libwww mad mikmod mmx mmx2 motif mp3 mpeg ncurses nls nptl oggvorbis opengl pdflib perl png ppds python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb xml xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS [ebuild R ] x11-base/xorg-x11-6.7.0-r3 -3dfx +3dnow -cjk -debug -dlloader -doc -ipv6 +mmx +nls -pam -sdk +sse -static 0 kB
No, that's a different error (and it's also not an error produces by the new layout of newer versions of xorg, since you're using an older version) Does anyone know if upsteam has any plans to allow libquicktime to use X but not openGL/xv? As far as I can tell it's not possible at the moment
I'm going to venture a guess here, and say this bug is a duplicate of 81385. Might help to look there...
Sorry bout the two posts... I meant to add that I upgraded opengl-update to 2.1.1, and ran opengl-update nvidia, and libquicktime-0.9.3-r1 compiles without a problem for me now.
1) This isn't just about opengl, it's also about xv 2) Do you mean that even with USE="-opengl" you got libquicktime to compile (after running opengl-update)? I'm guessing not because IIRC xorg-x11 only depends on opengl-update with USE="opengl" (or with an older version of xorg that didn't have the use flag) Thanks anyway though
I misunderstood/misread your post... Sorry about that...
does this also apply to xorg-x11-6.8.2 ? xorg-x11-6.8.1.901 isn't in the tree any longer
No reason why it wouldn't - xorg isn't the problem, with USE="-xv -opengl" the "missing" files aren't supposed to be put in /usr/include I can confirm that this is still a problem with libquicktime-0.9.4 though I didn't test it properly since I now have xorg compiled with USE="xv opengl", but I moved /usr/include/GL/gl.h and /usr/include/extensions/Xv.h, and compilation failed in much the same way (the only different being that this time some of the files were there, since I didn't move all of them)
oops, that should have said /usr/include/X11/extensions/Xv.h
Thanks added a fix similar to the one for #76661 on 0.94 version.