Opened 7 years ago

Closed 4 years ago

#2122 closed defect (worksforme)

./configure --disable-ffmpeg_a broken on current git

Reported by: hanno@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description (last modified by reimar)

When using --disable-ffmpeg_a on current mplayer git, linking fails with this:

libmpdemux/asfheader.o: In function `get_ucs2str':
asfheader.c:(.text+0x7b): undefined reference to `av_log2'
libmpdemux/asfheader.o: In function `read_asf_header':
asfheader.c:(.text+0x1a43): undefined reference to `av_log2'
stream/stream.o: In function `stream_read_until':
stream.c:(.text+0x1896): undefined reference to `av_log2'
stream.c:(.text+0x19ce): undefined reference to `av_log2'
collect2: error: ld returned 1 exit status

Change History (3)

comment:1 Changed 6 years ago by reimar

  • Analyzed by developer unset
  • Description modified (diff)
  • Reproduced by developer unset

Sorry for the long delay, I do not manage to find time to look at the bug tracker often.
Out of curiosity, what are you trying to do? It would help us to know so we can take it into account for future changes.
Using that command can easily end up compiling completely without FFmpeg.
That is no longer supported, at least libavutil is required.
Ideally configure should detect this, but it's not a huge priority currently.

comment:2 Changed 6 years ago by reimar

I at least changed configure in r36910 to abort with a clear error message.

comment:3 Changed 4 years ago by rxt

  • Resolution set to worksforme
  • Status changed from new to closed

Should work with svn HEAD, if not please reopen.

Note: See TracTickets for help on using tickets.