[Freeswitch-users] warning source file is in a subdirectory but option subdir-objects is disabled

Shaun Stokes shaun.stokes at itec-support.co.uk
Tue Nov 7 23:18:28 UTC 2017


Hi All,

We're seeing a lot of subdirectory warnings when installing FreeSWITCH 1.6.19 from source.

The warnings aren't critical and the installation still completes.

We can add to subdir-objects to AM_INIT_AUTOMAKE in each of the configure.ac files as a workaround so it completes without these warnings, but should these subdirs be included or are these warnings to be expected?

As follows.

curl https://files.freeswitch.org/repo/deb/debian/freeswitch_archive_g0.pub | apt-key add -
echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie main" > /etc/apt/sources.list.d/freeswitch.list
apt-get update && apt-get upgrade
apt-get install -y --force-yes freeswitch-video-deps-most

cd /usr/src
rm -R freeswitch
cd freeswitch
./bootstrap.sh -j
bootstrap: checking installation...
bootstrap: autoconf version 2.69 (ok)
bootstrap: automake version 1.14.1 (ok)
bootstrap: aclocal version 1.14.1 (ok)
bootstrap: libtool version 2.4.2 (ok)
Bootstrapping using:
  autoconf  : /usr/bin/autoconf
  automake  : /usr/bin/automake
  aclocal   : /usr/bin/aclocal
  libtool   : /usr/bin/libtool (2.4.2.)
  libtoolize: /usr/bin/libtoolize
  make      : /usr/bin/make (GNU Make 4.0
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.)
  awk       :  ()

Entering directory /usr/src/freeswitch/libs/apr
Copying libtool helper files ...
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
libtoolize: copying file `build/config.guess'
libtoolize: copying file `build/config.sub'
libtoolize: copying file `build/install-sh'
libtoolize: copying file `build/ltmain.sh'
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize:   `/usr/share/aclocal/libtool.m4'
libtoolize:   `/usr/share/aclocal/ltoptions.m4'
libtoolize:   `/usr/share/aclocal/ltversion.m4'
libtoolize:   `/usr/share/aclocal/ltsugar.m4'
libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'
bootstrap: Using libtool.m4 at /usr/share/aclocal/libtool.m4.
Re-creating aclocal.m4 ...
Creating configure ...
Creating include/arch/unix/apr_private.h.in ...
Entering directory /usr/src/freeswitch/libs/apr-util

Looking for apr source in /usr/src/freeswitch/libs/apr
Creating include/private/apu_config.h ...
Creating configure ...
Generating 'make' outputs ...
Invoking xml/expat/buildconf.sh ...
Copying libtool helper files ...
Incorporating libtool.m4 into aclocal.m4 ...
Incorporating ltsugar.m4 into aclocal.m4 ...
Incorporating ltoptions.m4 into aclocal.m4 ...
Incorporating ltversion.m4 into aclocal.m4 ...
Incorporating lt~obsolete.m4 into aclocal.m4 ...
Creating config.h.in ...
Creating configure ...
rebuilding rpm spec file
configure.ac:47: installing 'config/compile'
configure.ac:15: installing 'config/config.guess'
configure.ac:15: installing 'config/config.sub'
configure.ac:34: installing 'config/install-sh'
configure.ac:34: installing 'config/missing'
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp.c' is in a subdirectory,
Makefile.am:54: 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:54: warning: source file '$(top_srcdir)/src/zrtp_crc.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_aes.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_atl.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_ec.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_ecdh.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_hash.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_pk.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_crypto_sas.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_datatypes.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_engine.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_iface_scheduler.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_iface_sys.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_initiator.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_legal.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_list.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_log.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_pbx.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_protocol.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_responder.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_rng.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_srtp_builtin.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_string.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_utils.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_utils_proto.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/third_party/bgaes/aes_modes.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/third_party/bgaes/aescrypt.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/third_party/bgaes/aeskey.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/third_party/bgaes/aestab.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/third_party/bgaes/sha1.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/third_party/bgaes/sha2.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:54: warning: source file '$(top_srcdir)/src/zrtp_iface_cache.c' is in a subdirectory,
Makefile.am:54: but option 'subdir-objects' is disabled
Makefile.am:99: warning: source file '$(top_srcdir)/test/cmockery/cmockery.c' is in a subdirectory,
Makefile.am:99: but option 'subdir-objects' is disabled
Makefile.am:99: warning: source file '$(top_srcdir)/test/cache_test.c' is in a subdirectory,
Makefile.am:99: but option 'subdir-objects' is disabled
Makefile.am: installing 'config/depcomp'
Entering directory /usr/src/freeswitch/libs/iksemel
Entering directory /usr/src/freeswitch/libs/libdingaling
bootstrap: cd /usr/src/freeswitch/libs/iksemel
bootstrap: cd /usr/src/freeswitch/libs/libdingaling
bootstrap: rm -f aclocal.m4
bootstrap: rm -f aclocal.m4
Entering directory /usr/src/freeswitch/libs/sofia-sip
bootstrap: cd /usr/src/freeswitch/libs/sofia-sip
Entering directory /usr/src/freeswitch/libs/srtp
bootstrap: cd /usr/src/freeswitch/libs/srtp
Entering directory /usr/src/freeswitch/libs/unimrcp
bootstrap: rm -f aclocal.m4
bootstrap: cd /usr/src/freeswitch/libs/unimrcp
bootstrap: rm -f aclocal.m4
Entering directory /usr/src/freeswitch/libs/spandsp
bootstrap: cd /usr/src/freeswitch/libs/spandsp
bootstrap: rm -f aclocal.m4
Entering directory /usr/src/freeswitch/libs/tiff-4.0.2
Entering directory /usr/src/freeswitch/libs/freetdm
bootstrap: cd /usr/src/freeswitch/libs/freetdm
bootstrap: cd /usr/src/freeswitch/libs/tiff-4.0.2
bootstrap: rm -f aclocal.m4
bootstrap: rm -f aclocal.m4
bootstrap: rm -f aclocal.m4
Creating aclocal.m4
bootstrap: aclocal
Creating aclocal.m4
Creating aclocal.m4
bootstrap: aclocal
bootstrap: aclocal
Creating aclocal.m4
bootstrap: aclocal
Creating aclocal.m4
bootstrap: aclocal
Creating aclocal.m4
bootstrap: aclocal
Creating aclocal.m4
bootstrap: aclocal
Creating aclocal.m4
bootstrap: aclocal


Thanks,
Shaun

______________________________________________________________________
This message has been checked for all known viruses by  MessageLabs Virus Scanning Service.
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171107/de9f2ec5/attachment-0001.html>


More information about the FreeSWITCH-users mailing list