Bug#479920: wengophone: FTBFS: CMake Error: x11: X11_INCLUDE_DIRS and X11_INCLUDE_DIR empty, check that X11 is declared before x11

Andreas Metzler ametzler at downhill.at.eu.org
Sun Jun 8 09:14:22 UTC 2008


On 2008-05-07 Lucas Nussbaum <lucas at lucas-nussbaum.net> wrote:
> Package: wengophone
[...]
> Justification: FTBFS on i386

[...]
> Relevant part:
[...]
> > CMake Error: x11: X11_INCLUDE_DIRS and X11_INCLUDE_DIR empty, check that X11 is declared before x11
> > -- Configuring done
> > make: *** [obj-i486-linux-gnu/CMakeCache.txt] Error 255
[...]

Hello,
adding  libx11-dev,  python2.5-dev to Build-Depends works  around the
abovementioned bug. However building still fails when the application
is linked

Linking CXX executable qtwengophone
[enormously long linker line]
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_size':
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:69: undefined reference to `avpicture_get_size(int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_convert':
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:99: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:100: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:156: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:165: undefined reference to `av_free(void*)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:126: undefined reference to `img_resample_init(int, int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `avpicture_get_size(int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:135: undefined reference to `av_malloc(unsigned int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:136: undefined reference to `avpicture_fill(AVPicture*, unsigned char*, int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:140: undefined reference to `img_resample(ImgReSampleContext*, AVPicture*, AVPicture const*)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:141: undefined reference to `img_resample_close(ImgReSampleContext*)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:145: undefined reference to `img_convert(AVPicture*, int, AVPicture const*, int, int, int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:152: undefined reference to `av_free(void*)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/libs/owpixertool/libowpixertool.a(pixertool.o): In function `_nv12_to_yuv420p':
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:175: undefined reference to `av_malloc(unsigned int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_convert':
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:149: undefined reference to `av_free(void*)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_free':
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:62: undefined reference to `av_free(void*)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/libs/owpixertool/libowpixertool.a(pixertool.o): In function `pix_alloc':
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:44: undefined reference to `avcodec_init()'
/tmp/WENGO/wengophone-2.1.2.dfsg0/libs/owpixertool/src/pixertool.cpp:50: undefined reference to `av_malloc(unsigned int)'
/tmp/WENGO/wengophone-2.1.2.dfsg0/obj-i486-linux-gnu/wengophone/src/buildid/libowbuildid.a(WengoPhoneBuildId.o): In function `WengoPhoneBuildId::getAvcodecVersion()':
/tmp/WENGO/wengophone-2.1.2.dfsg0/wengophone/src/WengoPhoneBuildId.cpp:84: undefined reference to `avcodec_version()'
collect2: ld returned 1 exit status

Complete log attached.

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildlog.wengophone_2.1.2.dfsg0-4.2.bz2
Type: application/octet-stream
Size: 54301 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/attachments/20080608/4da85c79/attachment-0001.obj 


More information about the Pkg-voip-maintainers mailing list