Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
it needs to add into .am files
AUTOMAKE_OPTIONS= subdir-objects
otherwise you will get lot of errors during compile. Tested on FreeBSD 10.
automake-1.14: warnings are treated as errors
example/Makefile.am:44: warning: source file 'add-header/add-header.c' is in a subdirectory,
example/Makefile.am:44: but option 'subdir-objects' is disabled
automake-1.14: warning: possible forward-incompatibility.
automake-1.14: At least a source file is in a subdirectory, but the 'subdir-objects'
automake-1.14: automake option hasn't been enabled. For now, the corresponding output
automake-1.14: object file(s) will be placed in the top-level directory. However,
automake-1.14: this behaviour will change in future Automake versions: they will
automake-1.14: unconditionally cause object files to be placed in the same subdirectory
automake-1.14: of the corresponding sources.
automake-1.14: You are advised to start using 'subdir-objects' option throughout your
automake-1.14: project, to avoid future incompatibilities.
example/Makefile.am:45: warning: source file 'append-transform/append-transform.c' is in a subdirectory,
example/Makefile.am:45: but option 'subdir-objects' is disabled
example/Makefile.am:46: warning: source file 'basic-auth/basic-auth.c' is in a subdirectory,
example/Makefile.am:46: but option 'subdir-objects' is disabled
example/Makefile.am:47: warning: source file 'blacklist-0/blacklist-0.c' is in a subdirectory,
example/Makefile.am:47: but option 'subdir-objects' is disabled
example/Makefile.am:48: warning: source file 'blacklist-1/blacklist-1.c' is in a subdirectory,
example/Makefile.am:48: but option 'subdir-objects' is disabled
example/Makefile.am:49: warning: source file 'bnull-transform/bnull-transform.c' is in a subdirectory,
example/Makefile.am:49: but option 'subdir-objects' is disabled
example/Makefile.am:50: warning: source file 'cache-scan/cache-scan.cc' is in a subdirectory,
example/Makefile.am:50: but option 'subdir-objects' is disabled
example/Makefile.am:51: warning: source file 'file-1/file-1.c' is in a subdirectory,
example/Makefile.am:51: but option 'subdir-objects' is disabled
example/Makefile.am:52: warning: source file 'hello/hello.c' is in a subdirectory,
example/Makefile.am:52: but option 'subdir-objects' is disabled
example/Makefile.am:53: warning: source file 'lifecycle-plugin/lifecycle-plugin.c' is in a subdirectory,
example/Makefile.am:53: but option 'subdir-objects' is disabled
example/Makefile.am:54: warning: source file 'null-transform/null-transform.c' is in a subdirectory,
example/Makefile.am:54: but option 'subdir-objects' is disabled
example/Makefile.am:55: warning: source file 'output-header/output-header.c' is in a subdirectory,
example/Makefile.am:55: but option 'subdir-objects' is disabled
example/Makefile.am:56: warning: source file 'protocol/Protocol.c' is in a subdirectory,
example/Makefile.am:56: but option 'subdir-objects' is disabled
Attachments
Attachments
Issue Links
- is related to
-
TS-2172 Explicitly use subdir-objects in automake init
- Closed