Skip to content

Compile error in Debian 8 #21

Open

Description

@drenda

I've this error during compiling:

`if [ ! -d bcg729 ]; then
git clone git://git.linphone.org/bcg729.git; pushd bcg729 ; git checkout 1.0.3; popd;
fi
cd bcg729 && sh autogen.sh && CFLAGS=-fPIC ./configure && make && cd ..
ln: creazione del collegamento simbolico "README" non riuscita: File già esistente
Generating build scripts for G729 codec...

  • libtoolize --copy --force
    autogen.sh: 32: autogen.sh: libtoolize: not found
  • aclocal
    aclocal: warning: couldn't open directory 'm4': File o directory non esistente
  • autoheader
  • automake --force-missing --add-missing --copy
    msbcg729/Makefile.am:4: error: Libtool library used but 'LIBTOOL' is undefined
    msbcg729/Makefile.am:4: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
    msbcg729/Makefile.am:4: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
    msbcg729/Makefile.am:4: If 'LT_INIT' is in 'configure.ac', make sure
    msbcg729/Makefile.am:4: its definition is in aclocal's search path.
    src/Makefile.am:2: error: Libtool library used but 'LIBTOOL' is undefined
    src/Makefile.am:2: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
    src/Makefile.am:2: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
    src/Makefile.am:2: If 'LT_INIT' is in 'configure.ac', make sure
    src/Makefile.am:2: its definition is in aclocal's search path.
    test/bin/Makefile.am:17: warning: source file '$(top_srcdir)/test/src/CNGRFC3389decoderTest.c' is in a subdirectory,
    test/bin/Makefile.am:17: 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.
    test/bin/Makefile.am:4: warning: source file '$(top_srcdir)/test/src/testUtils.c' is in a subdirectory,
    test/bin/Makefile.am:4: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:18: warning: source file '$(top_srcdir)/test/src/CNGdecoderTest.c' is in a subdirectory,
    test/bin/Makefile.am:18: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:28: warning: source file '$(top_srcdir)/test/src/LP2LSPConversionTest.c' is in a subdirectory,
    test/bin/Makefile.am:28: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:29: warning: source file '$(top_srcdir)/test/src/LPSynthesisFilterTest.c' is in a subdirectory,
    test/bin/Makefile.am:29: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:30: warning: source file '$(top_srcdir)/test/src/LSPQuantizationTest.c' is in a subdirectory,
    test/bin/Makefile.am:30: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:8: warning: source file '$(top_srcdir)/test/src/adaptativeCodebookSearchTest.c' is in a subdirectory,
    test/bin/Makefile.am:8: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:9: warning: source file '$(top_srcdir)/test/src/computeAdaptativeCodebookGainTest.c' is in a subdirectory,
    test/bin/Makefile.am:9: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:10: warning: source file '$(top_srcdir)/test/src/computeLPTest.c' is in a subdirectory,
    test/bin/Makefile.am:10: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:34: warning: source file '$(top_srcdir)/test/src/computeNoiseExcitationTest.c' is in a subdirectory,
    test/bin/Makefile.am:34: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:11: warning: source file '$(top_srcdir)/test/src/computeWeightedSpeechTest.c' is in a subdirectory,
    test/bin/Makefile.am:11: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:12: warning: source file '$(top_srcdir)/test/src/decodeAdaptativeCodeVectorTest.c' is in a subdirectory,
    test/bin/Makefile.am:12: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:13: warning: source file '$(top_srcdir)/test/src/decodeFixedCodeVectorTest.c' is in a subdirectory,
    test/bin/Makefile.am:13: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:14: warning: source file '$(top_srcdir)/test/src/decodeGainsTest.c' is in a subdirectory,
    test/bin/Makefile.am:14: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:15: warning: source file '$(top_srcdir)/test/src/decodeLSPTest.c' is in a subdirectory,
    test/bin/Makefile.am:15: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:19: warning: source file '$(top_srcdir)/test/src/decoderMultiChannelTest.c' is in a subdirectory,
    test/bin/Makefile.am:19: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:16: warning: source file '$(top_srcdir)/test/src/decoderTest.c' is in a subdirectory,
    test/bin/Makefile.am:16: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:21: warning: source file '$(top_srcdir)/test/src/encoderMultiChannelTest.c' is in a subdirectory,
    test/bin/Makefile.am:21: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:20: warning: source file '$(top_srcdir)/test/src/encoderTest.c' is in a subdirectory,
    test/bin/Makefile.am:20: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:35: warning: source file '$(top_srcdir)/test/src/encoderVADTest.c' is in a subdirectory,
    test/bin/Makefile.am:35: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:22: warning: source file '$(top_srcdir)/test/src/findOpenLoopPitchDelayTest.c' is in a subdirectory,
    test/bin/Makefile.am:22: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:23: warning: source file '$(top_srcdir)/test/src/fixedCodebookSearchTest.c' is in a subdirectory,
    test/bin/Makefile.am:23: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:24: warning: source file '$(top_srcdir)/test/src/g729FixedPointMathTest.c' is in a subdirectory,
    test/bin/Makefile.am:24: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:26: warning: source file '$(top_srcdir)/test/src/gainQuantizationTest.c' is in a subdirectory,
    test/bin/Makefile.am:26: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:27: warning: source file '$(top_srcdir)/test/src/interpolateqLSPAndConvert2LPTest.c' is in a subdirectory,
    test/bin/Makefile.am:27: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:31: warning: source file '$(top_srcdir)/test/src/postFilterTest.c' is in a subdirectory,
    test/bin/Makefile.am:31: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:32: warning: source file '$(top_srcdir)/test/src/postProcessingTest.c' is in a subdirectory,
    test/bin/Makefile.am:32: but option 'subdir-objects' is disabled
    test/bin/Makefile.am:33: warning: source file '$(top_srcdir)/test/src/preProcessingTest.c' is in a subdirectory,
    test/bin/Makefile.am:33: but option 'subdir-objects' is disabled
  • autoconf
  • cd /root/mod_bcg729/bcg729
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... x86_64-unknown-linux-gnu
    checking target system type... x86_64-unknown-linux-gnu
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /bin/mkdir -p
    checking for gawk... no
    checking for mawk... mawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether UID '0' is supported by ustar format... yes
    checking whether GID '0' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    ./configure: line 2654: LT_INIT: command not found
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking for style of include used by make... GNU
    checking dependency style of gcc... gcc3
    checking whether make supports nested variables... (cached) yes
    ./configure: line 3773: syntax error near unexpected token ORTP,' ./configure: line 3773: PKG_CHECK_MODULES(ORTP, ortp >= 0.21.0,found_ortp=true,foo=bar)'
    Makefile:34: set di istruzioni per l'obiettivo "bcg729" non riuscito
    make: *** [bcg729] Errore 2
    `

Do you have some advice? Thanks

Activity

  1. MartB commented on Jul 6, 2017

    @MartB
    Contributor

    Install automake using the following command and try again.
    sudo apt-get install automake

  2. ericyan commented on Jul 21, 2017

    @ericyan

    You probably do not have pkg-config installed. sudo apt-get install pkg-config should fix it.

  3. leonmak commented on Oct 25, 2017

    @leonmak

    sudo apt-get install libtool ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions