#10347 closed defect (fixed)

6.0: build of mux and resample_audio examples fail with unresolved symbols

Reported by: Sebastian Ramacher Owned by:
Priority: normal Component: undetermined
Version: 6.0 Keywords:
Cc: Sebastian Ramacher Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Build of the examples fail with

cc   mux.o  -lavdevice -lavformat -lavfilter -lavcodec -lswresample -lswscale -lavutil   -o mux
/usr/bin/ld: mux.o: undefined reference to symbol 'sin@@GLIBC_2.2.5'
/usr/bin/ld: /lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [<builtin>: mux] Error 1

See https://ci.debian.net/data/autopkgtest/unstable/amd64/f/ffmpeg/33373501/log.gz for a full log.

My mails to ffmpeg-devel seem to get lost, so I've attached the fix to this issue.

Attachments (1)

0001-examples-fix-build-of-mux-and-resample_audio.patch (1.1 KB ) - added by Sebastian Ramacher 20 months ago.
Patch

Download all attachments as: .zip

Change History (2)

by Sebastian Ramacher, 20 months ago

Patch

comment:1 by Sebastian Ramacher, 14 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.