Ubuntu 下编译 VLC-Win32
来源:互联网 发布:adidas淘宝官方旗舰店 编辑:程序博客网 时间:2024/05/16 08:55
步骤http://www.rosoo.net/a/201212/16406.html
到 ./bootstrap时报错
m4/with_pkg.m4:34: PKG_WITH_MODULES is expanded from...
m4/with_pkg.m4:83: PKG_ENABLE_MODULES_VLC is expanded from...
configure.ac:4030: the top level
configure.ac:1: error: possibly undefined macro: dnl
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:38: error: possibly undefined macro: AS_IF
configure.ac:57: error: possibly undefined macro: AC_DEFINE
configure.ac:203: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:323: error: possibly undefined macro: AC_PREPROC_IFELSE
configure.ac:323: error: possibly undefined macro: AC_LANG_PROGRAM
configure.ac:464: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:474: error: possibly undefined macro: AC_CACHE_CHECK
configure.ac:636: error: possibly undefined macro: AC_COMPILE_IFELSE
configure.ac:745: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:839: error: possibly undefined macro: AC_MSG_WARN
configure.ac:865: error: possibly undefined macro: AC_LANG_PUSH
configure.ac:867: error: possibly undefined macro: AC_LANG_POP
configure.ac:1527: error: possibly undefined macro: AC_PATH_PROGS
configure.ac:1956: error: possibly undefined macro: AC_CHECK_HEADER
configure.ac:2326: error: possibly undefined macro: AC_MSG_NOTICE
configure.ac:3348: error: possibly undefined macro: AC_PATH_PROG
configure:15408: error: possibly undefined macro: m4_n
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
m4/with_pkg.m4:83: PKG_ENABLE_MODULES_VLC is expanded from...
configure.ac:4030: the top level
configure.ac:1: error: possibly undefined macro: dnl
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:38: error: possibly undefined macro: AS_IF
configure.ac:57: error: possibly undefined macro: AC_DEFINE
configure.ac:203: error: possibly undefined macro: AC_MSG_ERROR
configure.ac:323: error: possibly undefined macro: AC_PREPROC_IFELSE
configure.ac:323: error: possibly undefined macro: AC_LANG_PROGRAM
configure.ac:464: error: possibly undefined macro: AC_CHECK_LIB
configure.ac:474: error: possibly undefined macro: AC_CACHE_CHECK
configure.ac:636: error: possibly undefined macro: AC_COMPILE_IFELSE
configure.ac:745: error: possibly undefined macro: AC_CHECK_HEADERS
configure.ac:839: error: possibly undefined macro: AC_MSG_WARN
configure.ac:865: error: possibly undefined macro: AC_LANG_PUSH
configure.ac:867: error: possibly undefined macro: AC_LANG_POP
configure.ac:1527: error: possibly undefined macro: AC_PATH_PROGS
configure.ac:1956: error: possibly undefined macro: AC_CHECK_HEADER
configure.ac:2326: error: possibly undefined macro: AC_MSG_NOTICE
configure.ac:3348: error: possibly undefined macro: AC_PATH_PROG
configure:15408: error: possibly undefined macro: m4_n
autoreconf: /usr/local/bin/autoconf failed with exit status: 1
解决办法参照
https://forum.videolan.org/viewtopic.php?f=13&t=39983
Your autotools probably can't see certain m4 macros. I had the exact same error message as you. The problem in my case was that the macros for pkg-config could not be found. So I added "-I /opt/pkg-config/share/aclocal" (pkg-config is installed under /opt/pkg-config on my system) to the contents of the environment variable "ACLOCAL_ARGS", re-ran bootstrap and it worked.
The macros mentioned in the error message, "dnl", "AS_IF", etc., had nothing to do with my problem. The error messages produced by the autotools appear to be useless. They should just print "Something went wrong, I don't know what." That would at least be honest, and arguably more helpful.
The macros mentioned in the error message, "dnl", "AS_IF", etc., had nothing to do with my problem. The error messages produced by the autotools appear to be useless. They should just print "Something went wrong, I don't know what." That would at least be honest, and arguably more helpful.
找到 vlc目录下的 bootstrap 文件,打开编辑->
将 “ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS}" 这一行改为
”ACLOCAL_ARGS="-I m4 ${ACLOCAL_ARGS} -I /usr/share/aclocal" (/usr/share/aclocal 是我的aclocal目录所在位置)
保存再./bootstrap。即可成功
0 0
- Ubuntu 下编译 VLC-Win32
- Ubuntu 下编译 VLC-Win32
- Ubuntu下交叉编译 win32 vlc-2.1.0-git
- Ubuntu下交叉编译 win32 vlc-2.0.5
- Win32Compile---ubuntu 12.04下交叉编译win32 vlc
- ubuntu下编译vlc
- 【玩转VLC】--- ubuntu下编译vlc
- Ubuntu 10.10下编译vlc
- ubuntu下实现vlc编译
- ubuntu下编译VLC源码
- Ubuntu下编译vlc源码
- ubuntu下编译VLC源码
- VLC在Ubuntu下的编译总结
- 嵌入式 Ubuntu下编译vlc播放器
- vlc-android在Ubuntu下编译记录
- Ubuntu下编译vlc for android
- Ubuntu下编译vlc for android
- vlc 2.2.6 ubuntu下交叉编译
- BubbleSort
- ftk学习记(进度条篇)
- C语言中如何获得文件大小
- Algorithm学习笔记 --- Largest Rectangle in a Histogram
- 读《平凡的世界》有感
- Ubuntu 下编译 VLC-Win32
- red hat 未注册不能使用yum的解决办法
- [hdu-2048] 神、上帝以及老天爷
- 数学漫谈
- POI与JXL写Excel的性能对比
- FFMPEG结构体分析:AVFrame
- HDU 4527 小明系列故事——玩转十滴水
- Hadoop实战-中高级部分 之 Hadoop MapReduce高级编程
- μC/OS-II 常用函数参考手册