[libav-bugs] [Bug 864] vs2015 build issue: vnsprintf macro conflict with microsoft's libraries

bugzilla at libav.org bugzilla at libav.org
Fri Jun 5 18:25:06 CEST 2015


https://bugzilla.libav.org/show_bug.cgi?id=864

--- Comment #10 from ray <ray at oneunified.net> ---
Lots of building resulted in a couple of link time missing symbols which may or
may not be related:  (for _avpriv_snprintf and _avpriv_strtod)

$ make V=1
link -libpath:libavcodec -libpath:libavdevice -libpath:libavfilter
-libpath:libavformat -libpath:libavresample -libpath:libavutil
-libpath:libswscale -nologo -debug   -out:avconv.exe cmdutils.o avconv_opt.o
avconv_filter.o avconv.o  avconv_dxva2.o libavdevice.a libavfilter.a
libavformat.a libavcodec.a libavresample.a libswscale.a libavutil.a vfw32.lib
user32.lib ws2_32.lib psapi.lib advapi32.lib shell32.lib  ole32.lib
libavutil.a(intmath.o) : error LNK2001: unresolved external symbol
_avpriv_strtod
libavutil.a(lls.o) : error LNK2001: unresolved external symbol _avpriv_strtod
libavutil.a(lls_init.o) : error LNK2001: unresolved external symbol
_avpriv_strtod
libavutil.a(lzo.o) : error LNK2001: unresolved external symbol _avpriv_strtod

yada yada

libavcodec.a(codec_desc.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavcodec.a(avpacket.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavcodec.a(xiph.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavformat.a(file_open.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavformat.a(mms.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavformat.a(rtmppkt.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavcodec.a(utils.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavformat.a(rtpenc_chain.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavformat.a(smjpeg.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf


yada yada

libavfilter.a(avfilter.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
libavfilter.a(avfiltergraph.o) : error LNK2001: unresolved external symbol
_avpriv_snprintf
avconv.exe : fatal error LNK1120: 2 unresolved externals
Makefile:153: recipe for target 'avconv.exe' failed
make: *** [avconv.exe] Error 96

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20150605/52138e6c/attachment-0001.html>


More information about the libav-bugs mailing list