Re: Can't compile on Slackware 13

lazardo <[email protected]> Wed, 21 Jul 2010 07:31:38 +0000 (UTC)
Newsgroups gmane.comp.video.kino.devel
Message-ID <[email protected]>
Pascal <pascal79 <at> gmail.com> writes:

> 
> 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?
> 
> Many thanks,
> 
> Pascal
> 
> ------------------------------------------------------------------------------
> 

This works with kino 1.3.4.  I rebuilt/updated libs (below), then ffmpeg, then
kino.  Use the 13.1 slackbuild even if running 13.0.

bash-3.1$ ffmpeg
FFmpeg version r22900, Copyright (c) 2000-2010 the FFmpeg developers
  built on Apr 27 2010 00:20:16 with gcc 4.3.3
  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--mandir=/usr/man --enable-libmp3lame --enable-libfaac --enable-nonfree
--enable-gpl --enable-version3 --enable-postproc --enable-avfilter
--enable-libdc1394 --enable-libfaad --enable-libgsm --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger
--enable-libspeex --enable-libtheora --enable-libx264 --enable-memalign-hack
--enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared
--enable-static --disable-debug --arch=x86_64 --enable-pic
--extra-cflags='-I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include
-DRUNTIME_CPUDETECT'
--extra-ldflags='-L/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib64 -lssl -lcrypto -lz'
  libavutil     50.14. 0 / 50.14. 0
  libavcodec    52.66. 0 / 52.66. 0
  libavformat   52.61. 0 / 52.61. 0
  libavdevice   52. 2. 0 / 52. 2. 0
  libavfilter    1.19. 0 /  1.19. 0
  libswscale     0.10. 0 /  0.10. 0
  libpostproc   51. 2. 0 / 51. 2. 0



------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first