automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. =============== Updating configure.a
使用automake 1.14,发现老项目在编译过程中会报警告: source/Makefile.am:45: warning:sourcefile'zz/xx.cpp'isina subdirectory,source/Makefile.am:45: but option'subdir-objects'is disabled 解决方法 在configure.ac中添加如下内容: AM_INIT_AUTOMAKE([subdir-objects])...
使用automake 1.14,发现老项目在编译过程中会报警告: source/Makefile.am:45: warning: source file 'zz/xx.cpp' is in a subdirectory, source/Makefile.am:45: but option 'subdir-objects' is disabled 1. 2. 解决方法 在configure.ac中添加如下内容: AM_INIT_AUTOMAKE([subdir-objects]) 1....
1. With automake >=1.14, ./autogen.sh fails This is due to a change in the way automake sets subdir-objects as the default: See https:///sugarlabs/automake/blob/master/PLANS/subdir-objects.txt === automake: warnings are treated as errors third_party/Makefile.am:81: warning: source fi...
AM_INIT_AUTOMAKE([subdir-objects -Wno-portability]) # 初始化gettext AM_GNU_GETTEXT([external])-AM_GNU_GETTEXT_VERSION([0.19.6])+AM_GNU_GETTEXT_VERSION([0.19.7])# 初始化libtool IT_PROG_INTLTOOL([0.35.0])@@ -72,7 +72,7 @@AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [...
#AUTOMAKE_OPTIONS = subdir-objects app_SOURCES=main.c $(top_srcdir)/src/my_du.c $(top_srcdir)/src/my_cat.c $(top_srcdir)/src/my_cp.c AM_CPPFLAGS=-Iinclude #指定头文件路径 #编译动态库 lib_LTLIBRARIES=libmyfile.la #动态库名 ...
automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s...
AUTOMAKE_OPTIONS=subdir-objects AM_CPPFLAGS = $(GLIB_CFLAGS) lib_LTLIBRARIES = liblcm.la 2 changes: 1 addition & 1 deletion 2 lcmgen/Makefile.am @@ -1,4 +1,4 @@ INCLUDES = $(GLIB_CFLAGS) AM_CPPFLAGS = $(GLIB_CFLAGS) bin_PROGRAMS = lcm-gen 2 changes: 1 addition & 1 deleti...
AUTOMAKE_OPTIONS = subdir-objects foo_SOURCES = $(srcdir)/foo.c $(srcdir)/s/bar.c $(top_srcdir)/baz.c then "make all" will create 'foo.o' and 's/bar.o' in $(builddir) rather than in $(srcdir), and will create 'baz.o' in $(top_builddir) rather than in $(top...
我们要在具体哪一层的什么位置是使用try-catch这个异常呢,还是把异常throw到上一层呢?这里,我们首先...