[
https://issues.apache.org/jira/browse/TS-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860346#comment-13860346
]
James Peach commented on TS-2453:
---------------------------------
We made a number of build system changes on master so that {{subdir-objects}}
works correctly. Can you verify that this works in your build environment?
> does not build with automake 1.14
> ---------------------------------
>
> Key: TS-2453
> URL: https://issues.apache.org/jira/browse/TS-2453
> Project: Traffic Server
> Issue Type: Bug
> Components: Build
> Reporter: Radim Kolar
> Attachments: patch-aio-am, patch-cop-am, patch-eventsystem-am,
> patch-example-am, patch-mgmt-am, patch-mgmt-remote-am, patch-plugin-esi-am,
> patch-plugin-spdy-am, patch-tools-am
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)