[libav-bugs] [Bug 788] New: Build fails at libavdevice/xcbgrab.o

bugzilla at aruru.libav.org bugzilla at aruru.libav.org
Mon Dec 8 15:01:28 CET 2014


https://bugzilla.libav.org/show_bug.cgi?id=788

            Bug ID: 788
           Summary: Build fails at libavdevice/xcbgrab.o
           Product: Libav
           Version: git HEAD
          Hardware: X86
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: ---
         Component: general
          Assignee: bugzilla at libav.org
          Reporter: williamnorfleet2000 at yahoo.com

Newbie here; have mercy.

1. Build of libav fails as follows:
bill at desk:~/opt/libav$ make
CC    libavdevice/alldevices.o
CC    libavdevice/alsa-audio-common.o
CC    libavdevice/alsa-audio-dec.o
CC    libavdevice/alsa-audio-enc.o
CC    libavdevice/avdevice.o
CC    libavdevice/dv1394.o
CC    libavdevice/fbdev.o
CC    libavdevice/jack_audio.o
CC    libavdevice/oss_audio.o
CC    libavdevice/oss_audio_dec.o
CC    libavdevice/oss_audio_enc.o
CC    libavdevice/pulse.o
CC    libavdevice/timefilter.o
CC    libavdevice/v4l2.o
CC    libavdevice/xcbgrab.o
libavdevice/xcbgrab.c: In function ‘setup_window’:
libavdevice/xcbgrab.c:580:5: error: implicit declaration of function
‘xcb_shape_rectangles’ [-Werror=implicit-function-declaration]
libavdevice/xcbgrab.c:580:35: error: ‘XCB_SHAPE_SO_SUBTRACT’ undeclared (first
use in this function)
libavdevice/xcbgrab.c:580:35: note: each undeclared identifier is reported only
once for each function it appears in
libavdevice/xcbgrab.c:581:26: error: ‘XCB_SHAPE_SK_BOUNDING’ undeclared (first
use in this function)
cc1: some warnings being treated as errors
make: *** [libavdevice/xcbgrab.o] Error 1
bill at desk:~/opt/libav$ 

2. The ./configure command used in the above case is:
./configure \
  --prefix="/home/bill/opt/avconv_build" \
  --enable-libpulse \
  --enable-gpl \
  --enable-libfaac \
  --enable-libfreetype \
  --enable-libmp3lame \
  --enable-libtheora \
  --enable-libvorbis \
  --enable-libvpx \
  --enable-libx264 \
  --enable-nonfree \
  --enable-x11grab

3. When ./configure is run as above, but without “--enable-x11grab”, avconv
builds and runs as expected.

4. libav/libavdevice/xcbgrab.c currently includes this code:
xcb_shape_rectangles(c->conn, XCB_SHAPE_SO_SUBTRACT,
                         XCB_SHAPE_SK_BOUNDING, XCB_CLIP_ORDERING_UNSORTED,
                         c->window,
                         c->region_border, c->region_border,
                         1, &rect);

5. The versions:
bill at desk:~/opt/avconv_build/bin$ ./avconv -version
avconv version v12_dev0-521-gb280c62, Copyright (c) 2000-2014 the Libav
developers
  built on Dec  8 2014 07:38:04 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
avconv v12_dev0-521-gb280c62
libavutil     54.  5. 0 / 54.  5. 0
libavcodec    56.  6. 0 / 56.  6. 0
libavformat   56.  7. 1 / 56.  7. 1
libavdevice   55.  1. 0 / 55.  1. 0
libavfilter    5.  0. 0 /  5.  0. 0
libavresample  2.  1. 0 /  2.  1. 0
libswscale     3.  0. 0 /  3.  0. 0

bill at desk:~/opt/avconv_build/bin$ dpkg-query -W "*libavdevice*"
libavdevice-extra-53    
libavdevice53    4:0.8.16-0ubuntu0.12.04.1

6. Ubuntu 12.04, 32-bit; uname -a:  Linux desk 3.2.0-72-generic-pae #107-Ubuntu
SMP Thu Nov 6 14:44:10 UTC 2014 i686 athlon i386 GNU/Linux

7. The only bug related to xcbgrab I can find is
https://bugzilla.libav.org/show_bug.cgi?id=723

Thanks for considering this bug report.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20141208/69533af5/attachment-0001.html>


More information about the libav-bugs mailing list