#5989 closed defect (fixed)

Missing dependency in the build system

Reported by: june Owned by:
Priority: normal Component: build system
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

./configure --disable-everything --enable-muxer=rtp

fails with

LD	ffmpeg_g
libavformat/libavformat.a(rtpenc_vc2hq.o): In function `get_interleaved_ue_golomb':
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:139: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:139: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:139: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:134: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: undefined reference to `ff_interleaved_dirac_golomb_vlc_code'
libavformat/libavformat.a(rtpenc_vc2hq.o):/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:142: more undefined references to `ff_interleaved_dirac_golomb_vlc_code' follow
libavformat/libavformat.a(rtpenc_vc2hq.o): In function `get_interleaved_ue_golomb':
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:126: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:128: undefined reference to `ff_interleaved_ue_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:128: undefined reference to `ff_interleaved_ue_golomb_vlc_code'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:125: undefined reference to `ff_interleaved_golomb_vlc_len'
/home/june/ffmpeg_sources/ffmpeg/./libavcodec/golomb.h:128: undefined reference to `ff_interleaved_ue_golomb_vlc_code'

Fix is to

  1. add to ./configure
    rtp_muxer_select="golomb"
    
  1. change ./libavformat/Makefile from
    OBJS-$(CONFIG_RTPENC_CHAIN)              += rtpenc_chain.o rtp.o
    

to

OBJS-$(CONFIG_RTPENC_CHAIN)              += rtpenc_chain.o rtp.o snow.o

Change History (1)

comment:1 Changed 22 months ago by cehoyos

  • Component changed from undetermined to build system
  • Reproduced by developer set
  • Resolution set to fixed
  • Status changed from new to closed
  • Version changed from unspecified to git-master
Note: See TracTickets for help on using tickets.