最近在嵌入式系统需实现ipsec,采用strongswan,发现移植中出现automake版本不一致
make[3]: Entering directory `xxx/strongswan/strongswan-5.3.2'
cd . && xxx/strongswan/strongswan-5.3.2/missing automake-1.14 --gnu
xxx/strongswan/strongswan-5.3.2/missing: line 81: automake-1.14: command not found
如果直接源文件tar下来,可以直接make通过,比较两者差别,发现代码没有丝毫变化。不得其解。
后来原来是时间发生变化,触发重新automake。
主编译系统automake-1.11,肯定找不到automake-1.14 。
打开生成的makefile:
ACLOCAL = ${SHELL} /xxx/strongswan/strongswan-5.3.2/missing aclocal-1.14
ACLOCAL_AMFLAGS = -I m4/config
提示错误的地方应该在这里:
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
如果能把Makefile中的1.14改成1.11,问题肯定解决;
看一下Makefile的生成部分。
476 am--refresh: Makefile
477 @:
478