spy_007_
超级搬砖工
采纳率53.8%
2019-02-14 15:01

ffmpeg的静态库,在连接的时候出现的问题,比较奇怪

10

源码中 类似 “glob64”这样的变量压根就没有,为什么会有这样的错误提示??

img2dec.c:(.text+0xef8): undefined reference to `glob64'
img2dec.c:(.text+0x105c): undefined reference to `glob64'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(img2dec.o): In function `img_read_close':
img2dec.c:(.text+0x1a28): undefined reference to `globfree64'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(rtsp.o): In function `get_sockaddr':
rtsp.c:(.text+0x2b0): undefined reference to `gai_strerror'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(rtsp.o): In function `sdp_read_header':
rtsp.c:(.text+0x21d8): undefined reference to `getnameinfo'
rtsp.c:(.text+0x21e4): undefined reference to `gai_strerror'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(rtsp.o): In function `ff_rtsp_make_setup_request':
rtsp.c:(.text+0x4454): undefined reference to `getnameinfo'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(rtsp.o): In function `ff_rtsp_connect':
rtsp.c:(.text+0x4a68): undefined reference to `getnameinfo'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(sdp.o): In function `resolve_destination.constprop.2':
sdp.c:(.text+0x3fc): undefined reference to `getnameinfo'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(rtpproto.o): In function `rtp_parse_addr_list':
rtpproto.c:(.text+0x61c): undefined reference to `gai_strerror'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(tcp.o): In function `tcp_open':
tcp.c:(.text+0x22c): undefined reference to `gai_strerror'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(udp.o): In function `udp_resolve_host.constprop.2':
udp.c:(.text+0xba4): undefined reference to `gai_strerror'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(udp.o): In function `udp_open':
udp.c:(.text+0x1664): undefined reference to `getnameinfo'
udp.c:(.text+0x1670): undefined reference to `gai_strerror'
/home/yuanda.yu/svndebug/trunk/retarded/app/main/../3rdlibs/ffmpeg_lib/libavformat.a(file.o): In function `file_read_dir':
file.c:(.text+0x68): undefined reference to `readdir64'
file.c:(.text+0xd0): undefined reference to `lstat64'

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

1条回答

相关推荐