[FFmpeg-user] Newbie to FFMPEG-User: rtmpdump

JT Edwards tstrike34 at gmail.com
Wed May 29 22:44:14 CEST 2013


Hi folks,

I am trying to compile rtmpdump with the latest FFMPEG from git.

I am getting compilation errors regard libraries linking.

Here is my version:

ffmpeg version N-52953-g50e6672 Copyright (c) 2000-2013 the FFmpeg
developers
  built on May 10 2013 14:16:15 with gcc 4.1.2 (GCC) 20080704 (Red Hat
4.1.2-54)
  configuration: --enable-version3 --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libvpx --enable-libfaac
--enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid
--enable-gpl --enable-postproc --enable-nonfree
  libavutil      52. 30.100 / 52. 30.100
  libavcodec     55.  7.100 / 55.  7.100
  libavformat    55.  4.101 / 55.  4.101
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 63.101 /  3. 63.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100


Here is the errors I am getting:

LD   ffmpeg_g
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_read_seek':
    /root/src/ffmpeg/libavformat/librtmp.c:148: undefined reference to
`RTMP_SendSeek'
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_read_pause':
    /root/src/ffmpeg/libavformat/librtmp.c:130: undefined reference to
`RTMP_Pause'
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_close':
    /root/src/ffmpeg/libavformat/librtmp.c:52: undefined reference to
`RTMP_Close'
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_open':
    /root/src/ffmpeg/libavformat/librtmp.c:87: undefined reference to
`RTMP_LogSetLevel'
    /root/src/ffmpeg/libavformat/librtmp.c:88: undefined reference to
`RTMP_LogSetCallback'
    /root/src/ffmpeg/libavformat/librtmp.c:90: undefined reference to
`RTMP_Init'
    /root/src/ffmpeg/libavformat/librtmp.c:91: undefined reference to
`RTMP_SetupURL'
    /root/src/ffmpeg/libavformat/librtmp.c:99: undefined reference to
`RTMP_Connect'
    /root/src/ffmpeg/libavformat/librtmp.c:99: undefined reference to
`RTMP_ConnectStream'
    /root/src/ffmpeg/libavformat/librtmp.c:97: undefined reference to
`RTMP_EnableWrite'
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_get_file_handle':
    /root/src/ffmpeg/libavformat/librtmp.c:157: undefined reference to
`RTMP_Socket'
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_write':
    /root/src/ffmpeg/libavformat/librtmp.c:116: undefined reference to
`RTMP_Write'
    /root/src/ffmpeg/libavformat/libavformat.a(librtmp.o): In function
`rtmp_read':
    /root/src/ffmpeg/libavformat/librtmp.c:123: undefined reference to
`RTMP_Read'
    collect2: ld returned 1 exit status
    make: *** [ffmpeg_g] Error 1

 What am I missing?

Thanks in advance.


More information about the ffmpeg-user mailing list