autoreconf warnings

For discussion of the code running behind the game

Moderator: Staff

shirish
Member
Posts: 72
Joined: Thu Oct 16, 2008 8:07 pm

autoreconf warnings

Postby shirish » Tue Aug 11, 2015 4:39 am

Hi all,
got some autoreconf warnings while trying to compile.

Code: Select all

/games/allacrost/game$ autoreconf -i
autoreconf: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION
configure.ac:93: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:93: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:93: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
configure.ac:14: installing './compile'
configure.ac:8: installing './config.guess'
configure.ac:8: installing './config.sub'
Makefile.am:322: warning: ':='-style assignments are not portable
Makefile.am:325: warning: '%'-style pattern rules are a GNU make extension
Makefile.am:8: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Makefile.am:369: warning: source file 'src/main.cpp' is in a subdirectory,
Makefile.am:369: 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.
Makefile.am:369: warning: source file 'src/main_options.cpp' is in a subdirectory,
Makefile.am:369: but option 'subdir-objects' is disabled
Makefile.am:369: warning: source file 'src/utils.cpp' is in a subdirectory,
Makefile.am:369: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/class.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/class_info.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/class_registry.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/class_rep.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/create_class.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/error.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/exception_handler.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/function.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/inheritance.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/link_compatibility.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/object_rep.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/open.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/pcall.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/scope.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/stack_content_by_name.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/weak_ref.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:92: warning: source file '$(LUABIND_DIR)/src/wrapper_base.cpp' is in a subdirectory,
Makefile.am:92: but option 'subdir-objects' is disabled
Makefile.am:193: warning: source file '$(ENGINE_DIR)/system.cpp' is in a subdirectory,
Makefile.am:193: but option 'subdir-objects' is disabled
Makefile.am:193: warning: source file '$(ENGINE_DIR)/input.cpp' is in a subdirectory,
Makefile.am:193: but option 'subdir-objects' is disabled
Makefile.am:193: warning: source file '$(ENGINE_DIR)/mode_manager.cpp' is in a subdirectory,
Makefile.am:193: but option 'subdir-objects' is disabled
Makefile.am:193: warning: source file '$(ENGINE_DIR)/engine_bindings.cpp' is in a subdirectory,
Makefile.am:193: but option 'subdir-objects' is disabled
Makefile.am:68: warning: source file '$(AUDIO_DIR)/audio.cpp' is in a subdirectory,
Makefile.am:68: but option 'subdir-objects' is disabled
Makefile.am:68: warning: source file '$(AUDIO_DIR)/audio_descriptor.cpp' is in a subdirectory,
Makefile.am:68: but option 'subdir-objects' is disabled
Makefile.am:68: warning: source file '$(AUDIO_DIR)/audio_effects.cpp' is in a subdirectory,
Makefile.am:68: but option 'subdir-objects' is disabled
Makefile.am:68: warning: source file '$(AUDIO_DIR)/audio_input.cpp' is in a subdirectory,
Makefile.am:68: but option 'subdir-objects' is disabled
Makefile.am:68: warning: source file '$(AUDIO_DIR)/audio_stream.cpp' is in a subdirectory,
Makefile.am:68: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/effects.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/fade.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/image_base.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/image.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/interpolator.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/particle_effect.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/particle_manager.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/particle_system.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/shake.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/text.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/texture.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/texture_controller.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:33: warning: source file '$(VIDEO_DIR)/video.cpp' is in a subdirectory,
Makefile.am:33: but option 'subdir-objects' is disabled
Makefile.am:81: warning: source file '$(SCRIPT_DIR)/script.cpp' is in a subdirectory,
Makefile.am:81: but option 'subdir-objects' is disabled
Makefile.am:81: warning: source file '$(SCRIPT_DIR)/script_read.cpp' is in a subdirectory,
Makefile.am:81: but option 'subdir-objects' is disabled
Makefile.am:81: warning: source file '$(SCRIPT_DIR)/script_write.cpp' is in a subdirectory,
Makefile.am:81: but option 'subdir-objects' is disabled
Makefile.am:81: warning: source file '$(SCRIPT_DIR)/script_modify.cpp' is in a subdirectory,
Makefile.am:81: but option 'subdir-objects' is disabled
Makefile.am:232: warning: source file '$(COMMON_DIR)/common.cpp' is in a subdirectory,
Makefile.am:232: but option 'subdir-objects' is disabled
Makefile.am:232: warning: source file '$(COMMON_DIR)/common_bindings.cpp' is in a subdirectory,
Makefile.am:232: but option 'subdir-objects' is disabled
Makefile.am:232: warning: source file '$(COMMON_DIR)/dialogue.cpp' is in a subdirectory,
Makefile.am:232: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file '$(GLOBAL_DIR)/global.cpp' is in a subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file '$(GLOBAL_DIR)/global_actors.cpp' is in a subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file '$(GLOBAL_DIR)/global_effects.cpp' is in a subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file '$(GLOBAL_DIR)/global_objects.cpp' is in a subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file '$(GLOBAL_DIR)/global_skills.cpp' is in a subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:206: warning: source file '$(GLOBAL_DIR)/global_utils.cpp' is in a subdirectory,
Makefile.am:206: but option 'subdir-objects' is disabled
Makefile.am:221: warning: source file '$(GUI_DIR)/gui.cpp' is in a subdirectory,
Makefile.am:221: but option 'subdir-objects' is disabled
Makefile.am:221: warning: source file '$(GUI_DIR)/menu_window.cpp' is in a subdirectory,
Makefile.am:221: but option 'subdir-objects' is disabled
Makefile.am:221: warning: source file '$(GUI_DIR)/option.cpp' is in a subdirectory,
Makefile.am:221: but option 'subdir-objects' is disabled
Makefile.am:221: warning: source file '$(GUI_DIR)/textbox.cpp' is in a subdirectory,
Makefile.am:221: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/mode_bindings.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_actions.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_actors.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_command.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_dialogue.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_effects.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_finish.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_indicators.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_sequence.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/battle/battle_utils.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/boot/boot.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/boot/boot_menu.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/boot/boot_credits.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/boot/boot_welcome.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_dialogue.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_events.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_objects.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_sprites.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_tiles.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_treasure.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_utils.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/map/map_zones.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/menu/menu.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/menu/menu_views.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/pause.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/save/save_mode.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/scene.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_buy.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_confirm.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_leave.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_root.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_sell.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_trade.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/shop/shop_utils.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:242: warning: source file '$(MODES_DIR)/test.cpp' is in a subdirectory,
Makefile.am:242: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/dialogs.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/editor.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/editor_main.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/editor_utils.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/map_data.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/map_view.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/tile_context.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/tile_layer.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/tileset.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(EDITOR_DIR)/tileset_editor.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file '$(COMMON_DIR)/common.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:334: warning: source file 'src/utils.cpp' is in a subdirectory,
Makefile.am:334: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/dialogs.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/editor.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/map_view.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/tile_context.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/tile_layer.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/tileset.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Makefile.am:327: warning: source file '$(EDITOR_DIR)/tileset_editor.moc.cpp' is in a subdirectory,
Makefile.am:327: but option 'subdir-objects' is disabled
Intel i5-7400, Asus Z270-P, 8 GB DDR4 2400 RAM, D-Link 502-T router, 64-bit Debian Buster, MATE 1.18 ,
User avatar
Roots
Dictator
Posts: 8666
Joined: Wed Jun 16, 2004 6:07 pm
Location: Austin TX
Contact:

Re: autoreconf warnings

Postby Roots » Tue Aug 11, 2015 5:03 am

Yeah, I'm aware of these errors. This is due to the fact that our build files were written on a much older version of autotools and some of the functions we use are deprecated. I would like to get around fixing this at some point, but we just don't have the resources (read: enough developers with enough time) and this has remained a low priority as a result. I do think I'll add an issue in bitbucket though so that hopefully at some point someone is able to pick it up. Thanks for pointing this out. :approve:
Image

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest