ubuntu16编译vlc3的win32库make时报 undefined reference to '_imp____acrt_iob_func' 求解

DANFBAORE 2018-08-24 10:41:49
MAKE时错误的部分:
d@ubuntu:~/Desktop/vlc-3.0.2/win32$ make
make all-recursive
make[1]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32'
Making all in compat
make[2]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/compat'
make all-am
make[3]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/compat'
make[2]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/compat'
Making all in doc
make[2]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/doc'
Making all in po
make[2]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/po'
Making all in share
make[2]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/share'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/share'
Making all in src
make[2]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/src'
GEN stamp-revision
fatal: Not a git repository: '../../extras/package/win32/../../../.git/'
make all-am
make[3]: Entering directory '/home/d/Desktop/vlc-3.0.2/win32/src'
CCLD libvlccore.la
/home/d/Desktop/vlc-3.0.2/contrib/i686-w64-mingw32/lib/libintl.a(printf.o): In function `libintl_vprintf':
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/gettext/gettext-tools/intl/../../gettext-runtime/intl/printf.c:138: undefined reference to `_imp____acrt_iob_func'
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/gettext/gettext-tools/intl/../../gettext-runtime/intl/printf.c:138: undefined reference to `_imp____acrt_iob_func'
/home/d/Desktop/vlc-3.0.2/contrib/i686-w64-mingw32/lib/libintl.a(printf.o): In function `libintl_vwprintf':
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/gettext/gettext-tools/intl/../../gettext-runtime/intl/printf.c:368: undefined reference to `_imp____acrt_iob_func'
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/gettext/gettext-tools/intl/../../gettext-runtime/intl/printf.c:368: undefined reference to `_imp____acrt_iob_func'
/home/d/Desktop/vlc-3.0.2/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-misc.o): In function `gcry_logv':
/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/gcrypt/src/misc.c:124: undefined reference to `_imp____acrt_iob_func'
/home/d/Desktop/vlc-3.0.2/contrib/i686-w64-mingw32/lib/libgcrypt.a(libgcrypt_la-misc.o):/home/jenkins/workspace/vlc-nightly/vlc-nightly-win32-x86/contrib/contrib-win32/gcrypt/src/misc.c:133: more undefined references to `_imp____acrt_iob_func' follow
collect2: error: ld returned 1 exit status
Makefile:2231: recipe for target 'libvlccore.la' failed
make[3]: *** [libvlccore.la] Error 1
make[3]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/src'
Makefile:1784: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32/src'
Makefile:1531: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/d/Desktop/vlc-3.0.2/win32'
Makefile:1416: recipe for target 'all' failed
make: *** [all] Error 2


以下操作过程输出正常:

d@ubuntu:~/Desktop/vlc-3.0.2$ cd contrib/win32
d@ubuntu:~/Desktop/vlc-3.0.2/contrib/win32$ ../bootstrap --host=i686-w64-mingw32
d@ubuntu:~/Desktop/vlc-3.0.2/contrib/win32$ make prebuilt
d@ubuntu:~/Desktop/vlc-3.0.2/contrib/win32$ cd ..
d@ubuntu:~/Desktop/vlc-3.0.2/contrib$ cd ..
d@ubuntu:~/Desktop/vlc-3.0.2$ ./bootstrap
d@ubuntu:~/Desktop/vlc-3.0.2$ cd win32
d@ubuntu:~/Desktop/vlc-3.0.2/win32$ ../extras/package/win32/configure.sh --host=i686-w64-mingw32
...全文
2168 12 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
DANFBAORE 2020-09-15
  • 打赏
  • 举报
回复
长时间没登录了,抱欠,这个问题一般在2.几的版本用CONTROLB不匹配时产生的,3.0版本以上不用CONTROLB,不会产生这个问题,3版本以上看我的博客里有相关编译说明,依路子编译基本都能编译出来
chenzhang2512 2020-08-05
  • 打赏
  • 举报
回复
楼主请问,你这个问题在你帖子中没看明白具体怎么解决的,能简单说一下吗?
DANFBAORE 2019-11-12
  • 打赏
  • 举报
回复
长时间没来,解决办法可以看我的贴子啦
0706frank 2018-12-09
  • 打赏
  • 举报
回复
楼主解决了么,,我在ubuntu16下编译vlc3.0.4也遇到同样的问题
DANFBAORE 2018-09-05
  • 打赏
  • 举报
回复
自已再顶下,求高手
DANFBAORE 2018-09-04
  • 打赏
  • 举报
回复
有人能帮看下吗?
DANFBAORE 2018-09-03
  • 打赏
  • 举报
回复
楼上请问下,我依据UBUNTU编译VLC的WIN32库, 所有的源码都是在GIT上获取的,需要有改动吗?
hongwenjun 2018-09-03
  • 打赏
  • 举报
回复
win32 是windows下的, API 不兼容呀呀,应该选linux 或者平台通用项目
DANFBAORE 2018-09-03
  • 打赏
  • 举报
回复
请高手帮看下VLC编译的问题,
DANFBAORE 2018-08-31
  • 打赏
  • 举报
回复
是提示找不到符号,但所有代码都是在VLC官网上DWON的,试了多个版本,编译也是按上面的步骤做的, 现在这个错误不知道怎么解决,谁能帮看下,不胜感激
636f6c696e 2018-08-27
  • 打赏
  • 举报
回复
提示找不到符号
DANFBAORE 2018-08-27
  • 打赏
  • 举报
回复
有高手能帮忙看下吗?多谢

70,023

社区成员

发帖
与我相关
我的任务
社区描述
C语言相关问题讨论
社区管理员
  • C语言
  • 花神庙码农
  • 架构师李肯
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧