Opened 8 years ago

Closed 8 years ago

#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 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedbuild system
Reproduced by developer: set
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master
Note: See TracTickets for help on using tickets.