Re: Can't compile on Slackware 13
Dan Dennedy <[email protected]> Sun, 25 Apr 2010 19:53:03 -0700
| Newsgroups | gmane.comp.video.kino.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Apr 24, 2010 at 6:59 PM, Dan Dennedy <[email protected]> wrote: > On Sat, Apr 24, 2010 at 2:37 AM, Pascal <[email protected]> wrote: >> Hi, >> >> I'm trying to compile kino 1.3.4 with the Slackbuild >> http://slackbuilds.org/repository/13.0/multimedia/kino/ >> >> My ffmpeg output: >> FFmpeg version 0.5.1, Copyright (c) 2000-2009 Fabrice Bellard, et al. >> configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib -- >> mandir=/usr/man --disable-debug --enable-shared --disable-static --enable- >> pthreads --enable-libtheora --enable-gpl --enable-version3 --enable-postproc >> --enable-swscale --enable-x11grab --enable-avfilter --enable-avfilter-lavf -- >> arch=i486 --enable-libopenjpeg --enable-libdc1394 --enable-libmp3lame -- >> enable-libfaac --enable-libfaad --enable-libxvid --enable-libx264 --enable- >> libspeex --enable-libdirac --enable-libschroedinger --disable-vdpau --enable- >> nonfree --enable-libamr-nb --enable-libamr-wb --enable-libopencore-amrnb -- >> enable-libopencore-amrwb --enable-runtime-cpudetect >> libavutil 49.15. 0 / 49.15. 0 >> libavcodec 52.20. 1 / 52.20. 1 >> libavformat 52.31. 0 / 52.31. 0 >> libavdevice 52. 1. 0 / 52. 1. 0 >> libavfilter 0. 4. 0 / 0. 4. 0 >> libswscale 0. 7. 1 / 0. 7. 1 >> libpostproc 51. 2. 0 / 51. 2. 0 >> built on Apr 24 2010 11:25:02, gcc: 4.3.3 >> >> >> I'm getting an this error: >> frame.o: In function `Frame::ExtractYUV(void*)': >> /tmp/SBo/kino-1.3.4/src/frame.cc:1136: undefined reference to `img_convert' >> frame.o: In function `Frame::ExtractRGB(void*)': >> /tmp/SBo/kino-1.3.4/src/frame.cc:1076: undefined reference to `img_convert' >> frame.o: In function `Frame::EncodeRGB(unsigned char*)': >> /tmp/SBo/kino-1.3.4/src/frame.cc:1458: undefined reference to `img_convert' >> collect2: ld returned 1 exit status >> make[3]: *** [kino] Error 1 >> make[3]: Leaving directory `/tmp/SBo/kino-1.3.4/src' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/tmp/SBo/kino-1.3.4/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/tmp/SBo/kino-1.3.4' >> make: *** [all] Error 2 >> >> Do you know if and how I can fix? > > FFmpeg finally dropped img_convert API in favor of libswscale. Since > no one works on Kino anymore, you should build it against the version > of FFmpeg that Kino supplies with its tarball instead of the shared > ffmpeg libs. Oh, I just remembered that Kino does have support for swscale already. Just need to figure out why it failed to detect it. I am not sure how slack builds work, but take a look at the Kino configure.in and the build script. When calling configure with --enable-local-ffmpeg=no it checks for libswscale using pkg-config. -- +-DRD-+ ------------------------------------------------------------------------------