Project

General

Profile

Actions

Bug #594

closed

Automake & bootstrap scripts complains about subdir-objects

Added by Christian Babeux almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Target version:
-
Start date:
07/12/2013
Due date:
% Done:

100%

Estimated time:

Description

automake (GNU automake) 1.14
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey@redhat.com>
       and Alexandre Duret-Lutz <adl@gnu.org>.
$ ./bootstrap 
+ '[' '!' -e config ']'
+ autoreconf -i
configure.ac:44: installing 'config/compile'
src/bin/lttng/Makefile.am:6: warning: source file 'commands/start.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
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) will be placed in the top-level directory.  However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
src/bin/lttng/Makefile.am:6: warning: source file 'commands/list.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/create.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/destroy.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/stop.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/enable_events.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/disable_events.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/enable_channels.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/disable_channels.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/add_context.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/set_session.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/version.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/calibrate.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/view.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/enable_consumer.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/disable_consumer.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled
src/bin/lttng/Makefile.am:6: warning: source file 'commands/snapshot.c' is in a subdirectory,
src/bin/lttng/Makefile.am:6: but option 'subdir-objects' is disabled

We should probably investigate this issue considering there is a strong deprecation warning in Automake.

Actions

Also available in: Atom PDF