configure: line syntax error near unexpected token `win32-dll'

简介: configure: line syntax error near unexpected token `win32-dll'

最近编译,多次出现类似下面错误:


./configure: line 3590: syntax error near unexpected token `win32-dll'
./configure: line 3590: `LT_INIT(win32-dll)'
make: *** [builds/unix/detect.mk:91:setup] 错误 2
make:.includefreetypefreetype.h:命令未找到
config.mk:26: builds/unix/unix-cc.mk: 没有那个文件或目录
make: *** 没有规则可制作目标“builds/unix/unix-cc.mk”。 停止。
make:.includefreetypefreetype.h:命令未找到
config.mk:26: builds/unix/unix-cc.mk: 没有那个文件或目录
make: *** 没有规则可制作目标“builds/unix/unix-cc.mk”。 停止。

经过反复研究,发现是自己擅自(!)运行了autogen.sh导致的。解决办法:删除目录,重新下载编译。

目录
相关文章
|
Java 开发工具 Android开发
Android Studio 解决:error adding symbols: File in wrong format clang++.exe: error: linker command...
错误日志: Error:FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:externalNativeBuildDebug'.
6566 0
|
6月前
|
Unix Linux Shell
syntax error: unexpected end of file
syntax error: unexpected end of file
33 0
|
6月前
An unexpected error was encountered while executing a WSL command. Common causes include access righ
An unexpected error was encountered while executing a WSL command. Common causes include access righ
Parse error: syntax error, unexpected '<<' (T_SL) in .../test2.php on line 2
Parse error: syntax error, unexpected '<<' (T_SL) in .../test2.php on line 2
162 0
configure: error: libacl not found
configure: error: libacl not found
82 0
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
140 0
configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die
configure:13747: error: You requested FFmpeg (h264, h263, theora, mp4v-es) but not found...die
96 0
configure: error: You requested LIBYUV but not found...die
configure: error: You requested LIBYUV but not found...die
94 0
|
Perl
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1
703 0
configure: line syntax error near unexpected token `win32-dll'
configure: line syntax error near unexpected token `win32-dll'
402 0