Autotools 编译时出错--使用autogen生成的生成文件

Autotools 编译时出错--使用autogen生成的生成文件,autotools,autoconf,libtool,Autotools,Autoconf,Libtool,我正在尝试编译一个libwebsocket包,使用的过程是:-- 我在制造时遇到libtool错误:--- 我在谷歌上搜索了一下,发现这两个链接都是用来运行--autoreconf-fi命令的 autoeconf-fi命令将执行什么操作?它是否重新生成configure.ac文件? 重新编译包时,此顺序正确吗? autoreconf -fi ./autogen ./configure make 如果您只想构建他们的包,而他们的构建过程失败,我至少会向他们用户的邮件列表报告。也许有人找到

我正在尝试编译一个libwebsocket包,使用的过程是:--

我在制造时遇到libtool错误:---

我在谷歌上搜索了一下,发现这两个链接都是用来运行--
autoreconf-fi
命令的


autoeconf-fi命令将执行什么操作?它是否重新生成
configure.ac
文件

重新编译包时,此顺序正确吗?

autoreconf -fi
./autogen 
./configure 
make

如果您只想构建他们的包,而他们的构建过程失败,我至少会向他们用户的邮件列表报告。也许有人找到了适合你的方法


autoreconf-fi
将重新生成
configure
脚本,重写
Makefile.in
和其他内容。它不会重新生成
configure.ac
。您的新序列可能有效,也可能无效。

最近我遇到了同样的问题。要解决此问题,请执行以下操作:
make
make  all-recursive
make[1]: Entering directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17'
Making all in lib
make[2]: Entering directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17/lib'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -std=gnu99 -pedantic  -rdynamic -fPIC -Werror -c -DINSTALL_DATADIR=\"/usr/share\" -DLWS_OPENSSL_CLIENT_CERTS=\"/etc/pki/tls/certs/\" -g -O2 -MT libwebsockets_la-libwebsockets.lo -MD -MP -MF .deps/libwebsockets_la-libwebsockets.Tpo -c -o libwebsockets_la-libwebsockets.lo `test -f 'libwebsockets.c' || echo './'`libwebsockets.c
../libtool: line 862: X--tag=CC: command not found
../libtool: line 895: libtool: ignoring unknown tag : command not found
../libtool: line 862: X--mode=compile: command not found
../libtool: line 1029: *** Warning: inferring the mode of operation is deprecated.: command not found
../libtool: line 1030: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
../libtool: line 1173: Xgcc: command not found
../libtool: line 1173: X-DHAVE_CONFIG_H: command not found
../libtool: line 1173: X-I.: command not found
../libtool: line 1173: X-I..: command not found
../libtool: line 1173: X-Wall: command not found
../libtool: line 1173: X-std=gnu99: command not found
../libtool: line 1173: X-pedantic: command not found
../libtool: line 1173: X-rdynamic: command not found
../libtool: line 1173: X-fPIC: command not found
../libtool: line 1173: X-Werror: command not found
../libtool: line 1173: X-c: command not found
../libtool: line 1173: X-DINSTALL_DATADIR="/usr/share": No such file or directory
../libtool: line 1173: X-DLWS_OPENSSL_CLIENT_CERTS="/etc/pki/tls/certs/": No such file or directory
../libtool: line 1173: X-g: command not found
../libtool: line 1173: X-O2: command not found
../libtool: line 1173: X-MT: command not found
../libtool: line 1173: Xlibwebsockets_la-libwebsockets.lo: command not found
../libtool: line 1173: X-MD: command not found
../libtool: line 1173: X-MP: command not found
../libtool: line 1173: X-MF: command not found
../libtool: line 1173: X.deps/libwebsockets_la-libwebsockets.Tpo: No such file or directory
../libtool: line 1173: X-c: command not found
../libtool: line 1226: Xlibwebsockets_la-libwebsockets.lo: command not found
../libtool: line 1231: libtool: compile: cannot determine name of library object from `': command not found
make[2]: *** [libwebsockets_la-libwebsockets.lo] Error 1
make[2]: Leaving directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ignite/rpi_package_sb2/libwebsockets-1.0-chrome25-firefox17'
make: *** [all] Error 2
autoreconf -fi
./autogen 
./configure 
make