[FFmpeg-devel] [PATCH] configure: add LIBDRM to extralibs_avutil

Giulio Benetti giulio.benetti at micronovasrl.com
Wed Sep 12 00:39:41 EEST 2018

Il 11/09/2018 23:38, Carl Eugen Hoyos ha scritto:
> 2018-09-11 23:34 GMT+02:00, Giulio Benetti <giulio.benetti at micronovasrl.com>:
>> Il 11/09/2018 23:24, Giulio Benetti ha scritto:
>>> Hello,
>>> Il 11/09/2018 23:21, James Almer ha scritto:
>>>>> -lswscale -lavdevice -lavformat -lavcodec -lssl -lcrypto -lspeex
>>>>> -lmodplug -lstdc++ -lfontconfig -lfreetype -lpng16 -lexpat -ldrm -lz
>>>>> -pthread -latomic -lswresample  -lavutil -lm
>>>> What i'm seeing here is that -ldrm is apparently present in
>>>> libavdevice.pc, but not in libavutill.pc, which shouldn't happen given
>>>> that it's strictly listed in the avutil_suggest list.
>>>> What version of ffmpeg is this script using? Latest git head, an old
>>>> snapshot, or a release? Did this start failing recently?
>>> It happens on version 3.4.4 and I haven't foud fixes until master(maybe
>>> I've missed something, I'm quite new to this).
>> Just tried with 4.0.2 and it builds ok.
> Could you also confirm that it works with current FFmpeg?

Yes, it build correctly.
This is the end-log:
Linking Motion...
-static -o motion motion.o logger.o conf.o draw.o jpegutils.o 
video_loopback.o video_v4l2.o video_common.o video_bktr.o netcam.o 
netcam_http.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o 
event.o picture.o rotate.o webhttpd.o stream.o md5.o netcam_rtsp.o 
ffmpeg.o  -lm  -pthread -ljpeg -lsqlite3 
-lswscale -lavdevice -lavformat -lmodplug -lstdc++ -lssl -lcrypto 
-lavcodec -lz -lspeex -lswresample  -lavutil -pthread -lm -ldrm
Motion has been linked.

So now -ldrm is at the end as expected.

Best regards
Giulio Benetti

Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642

More information about the ffmpeg-devel mailing list