i get the project from this url : https://github.com/autotools-mirror/libtool.git
but after i am confused for building because make or make install said no target here is the contents of project libtool :
i try automake command failed with :
sh: 1: build-aux/git-version-gen: not found
configure.ac:52: error: m4_defn: undefined macro: LT_CONFIG_LTDL_DIR
configure.ac:52: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
automake: error: autoconf failed with exit status: 1
And autoconf command with the same error
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thierry@LFR038391:~/DeepSpeech$ dpkg -l | grep c++
ii libsigc++-2.0-0v5:amd64 2.10.0-2 amd64 type-safe Signal Framework for C++ - runtime
ii libstdc++-6-dev:amd64 6.5.0-2ubuntu1~18.04 amd64 GNU Standard C++ Library v3 (development files)
ii libstdc++-7-dev:amd64 7.4.0-1ubuntu1~18.04.1 amd64 GNU Standard C++ Library v3 (development files)
ii libstdc++6:amd64 8.3.0-6ubuntu1~18.04.1 amd64 GNU Standard C++ Library v3
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
checking for GNU M4 that supports accurate traces... /usr/bin/m4
checking whether /usr/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: autobuild project... GNU Libtool
configure: autobuild revision... UNKNOWN
configure: autobuild hostname... LFR038391
configure: autobuild mode... default
configure: autobuild timestamp... 20190923T070234Z
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... ./configure: line 12304: warning: command substitution: ignored null byte in input
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... ./configure: line 13397: printf: write error: Input/output error
checking for library containing dlopen... no
checking for dlopen in -lsvld... no
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... no
checking for closedir... no
checking for opendir... no
checking for readdir... no
checking for strlcat... no
checking for strlcpy... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in /home/thierry/libtool-master/libtool-master':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
Seeconfig.log' for more details
Last edit: thierry LE CONNIAT 2019-09-23
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have error on GCC in config.log ......but can't send you entirely here is some error (perhaps normal ..) ?
thierry@LFR038391:~/libtool-master/libtool-master$ more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU Libtool configure UNKNOWN, which was
generated by GNU Autoconf 2.69. Invocation command line was
configure:2703: checking for GNU M4 that supports accurate traces
configure:2752: result: /usr/bin/m4
configure:2755: checking whether /usr/bin/m4 accepts --gnu
configure:2765: result: yes
configure:2782: checking how m4 supports trace files
configure:2792: result: --debugfile
configure:2819: checking for a BSD-compatible install
configure:2887: result: /usr/bin/install -c
configure:2898: checking whether build environment is sane
configure:2953: result: yes
configure:3104: checking for a thread-safe mkdir -p
configure:3143: result: /bin/mkdir -p
configure:3150: checking for gawk
configure:3166: found /usr/bin/gawk
configure:3177: result: gawk
configure:3188: checking whether make sets $(MAKE)
configure:3210: result: yes
configure:3239: checking whether make supports nested variables
configure:3256: result: yes
configure:3393: checking whether make supports nested variables
configure:3410: result: yes
configure:3435: checking build system type
configure:3449: result: x86_64-pc-linux-gnu
configure:3469: checking host system type
configure:3482: result: x86_64-pc-linux-gnu
configure:3509: autobuild project... GNU Libtool
configure:3515: autobuild revision... UNKNOWN
configure:3520: autobuild hostname... LFR038391
configure:3524: autobuild mode... default
configure:3532: autobuild timestamp... 20190923T070234Z
configure:3622: checking for gcc
configure:3638: found /usr/bin/gcc
configure:3649: result: gcc
configure:3878: checking for C compiler version
configure:3887: gcc --version >&5
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3898: $? = 0
configure:3887: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go
,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --l
ibexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zl
ib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multili
b --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-l
inux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:3898: $? = 0
configure:3887: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3898: $? = 1
configure:3887: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3898: $? = 1
configure:3918: checking whether the C compiler works
configure:3940: gcc conftest.c >&5
configure:3944: $? = 0
configure:3992: result: yes
configure:3995: checking for C compiler default output file name
configure:3997: result: a.out
configure:4003: checking for suffix of executables
configure:4010: gcc -o conftest conftest.c >&5
configure:4014: $? = 0
configure:4036: result:
configure:4058: checking whether we are cross compiling
configure:4066: gcc -o conftest conftest.c >&5
configure:4070: $? = 0
configure:4077: ./conftest
configure:4081: $? = 0
configure:4096: result: no
configure:4101: checking for suffix of object files
configure:4123: gcc -c conftest.c >&5
configure:4127: $? = 0
configure:4148: result: o
configure:4152: checking whether we are using the GNU C compiler
configure:4171: gcc -c conftest.c >&5
configure:4171: $? = 0
configure:4180: result: yes
configure:4189: checking whether gcc accepts -g
configure:4209: gcc -c -g conftest.c >&5
configure:4209: $? = 0
configure:4250: result: yes
configure:4267: checking for gcc option to accept ISO C89
configure:4330: gcc -c -g -O2 conftest.c >&5
configure:4330: $? = 0
configure:4343: result: none needed
configure:4368: checking whether gcc understands -c and -o together
configure:4390: gcc -c conftest.c -o conftest2.o
configure:4393: $? = 0
configure:4390: gcc -c conftest.c -o conftest2.o
configure:4393: $? = 0
configure:4405: result: yes
configure:4433: checking for style of include used by make
configure:4461: result: GNU
configure:4487: checking dependency style of gcc
configure:4598: result: gcc3
configure:4619: checking how to run the C preprocessor
configure:4650: gcc -E conftest.c
configure:4650: $? = 0
configure:4664: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4664: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:4689: result: gcc -E
configure:4709: gcc -E conftest.c
configure:4709: $? = 0
configure:4723: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4723: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:4752: checking for grep that handles long lines and -e
configure:4810: result: /bin/grep
configure:4815: checking for egrep
configure:4877: result: /bin/grep -E
configure:4885: checking for Minix Amsterdam compiler
configure:4909: result: no
configure:4966: checking for ar
configure:4982: found /usr/bin/ar
configure:4993: result: ar
configure:5068: checking for ranlib
configure:5084: found /usr/bin/ranlib
configure:5095: result: ranlib
configure:5150: checking how to run the C preprocessor
configure:5220: result: gcc -E
configure:5240: gcc -E conftest.c
configure:5240: $? = 0
configure:5254: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5254: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:5332: checking how to print strings
configure:5359: result: printf
configure:5380: checking for a sed that does not truncate output
configure:5444: result: /bin/sed
configure:5462: checking for fgrep
configure:5524: result: /bin/grep -F
configure:5559: checking for ld used by gcc
configure:5626: result: /usr/bin/ld
configure:5633: checking if the linker (/usr/bin/ld) is GNU ld
configure:5648: result: yes
configure:5660: checking for BSD- or MS-compatible name lister (nm)
configure:5714: result: /usr/bin/nm -B
configure:5844: checking the name lister (/usr/bin/nm -B) interface
configure:5851: gcc -c -g -O2 conftest.c >&5
configure:5854: /usr/bin/nm -B "conftest.o"
configure:5857: output
0000000000000000 B some_variable
configure:5864: result: BSD nm
configure:5867: checking whether ln -s works
configure:5871: result: yes
configure:5879: checking the maximum length of command line arguments
configure:6010: result: 1572864
configure:6058: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:6098: result: func_convert_file_noop
configure:6105: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:6125: result: func_convert_file_noop
configure:6132: checking for /usr/bin/ld option to reload object files
configure:6139: result: -r
configure:6213: checking for objdump
configure:6229: found /usr/bin/objdump
configure:6240: result: objdump
configure:6269: checking how to recognize dependent libraries
configure:6469: result: pass_all
configure:6554: checking for dlltool
configure:6584: result: no
configure:6611: checking how to associate runtime and link libraries
configure:6638: result: printf %s\n
configure:6778: checking for archiver @FILE support
configure:6795: gcc -c -g -O2 conftest.c >&5
configure:6795: $? = 0
configure:6798: ar cr libconftest.a @conftest.lst >&5
configure:6801: $? = 0
configure:6806: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6809: $? = 1
configure:6821: result: @
configure:6879: checking for strip
configure:6895: found /usr/bin/strip
configure:6906: result: strip
configure:6978: checking for ranlib
configure:7005: result: ranlib
configure:7107: checking command to parse /usr/bin/nm -B output from gcc object
configure:7260: gcc -c -g -O2 conftest.c >&5
configure:7263: $? = 0
configure:7267: /usr/bin/nm -B conftest.o | sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p' | sed '/ gnu_lto/d' > conftes
t.nm
configure:7270: $? = 0
configure:7336: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:7339: $? = 0
configure:7377: result: ok
configure:7424: checking for sysroot
configure:7454: result: no
configure:7461: checking for a working dd
configure:7499: result: /bin/dd
configure:7503: checking how to truncate binary pipes
configure:7518: result: /bin/dd bs=4096 count=1
configure:7654: gcc -c -g -O2 conftest.c >&5
configure:7657: $? = 0
configure:7847: checking for mt
configure:7863: found /bin/mt
configure:7874: result: mt
configure:7897: checking if mt is a manifest tool
configure:7903: mt '-?'
configure:7911: result: no
configure:8583: checking for ANSI C header files
configure:8603: gcc -c -g -O2 conftest.c >&5
configure:8603: $? = 0
configure:8676: gcc -o conftest -g -O2 conftest.c >&5
configure:8676: $? = 0
configure:8676: ./conftest
configure:8676: $? = 0
configure:8687: result: yes
configure:8700: checking for sys/types.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for sys/stat.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for stdlib.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for string.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for memory.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for strings.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for inttypes.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for stdint.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for unistd.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8714: checking for dlfcn.h
configure:8714: gcc -c -g -O2 conftest.c >&5
configure:8714: $? = 0
configure:8714: result: yes
configure:9267: checking for objdir
configure:9282: result: .libs
configure:9546: checking if gcc supports -fno-rtti -fno-exceptions
configure:9564: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:9568: $? = 0
configure:9581: result: no
configure:9939: checking for gcc option to produce PIC
configure:9946: result: -fPIC -DPIC
configure:9954: checking if gcc PIC flag -fPIC -DPIC works
configure:9972: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:9976: $? = 0
configure:9989: result: yes
configure:10018: checking if gcc static flag -static works
configure:10046: result: yes
configure:10061: checking if gcc supports -c -o file.o
configure:10082: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:10086: $? = 0
configure:10108: result: yes
configure:10116: checking if gcc supports -c -o file.o
configure:10163: result: yes
configure:10196: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:11457: result: yes
configure:11494: checking whether -lc should be explicitly linked in
configure:11502: gcc -c -g -O2 conftest.c >&5
configure:11505: $? = 0
configure:11520: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>\&1 | /bin/grep -lc >/dev/null 2>\&1
configure:11523: $? = 0
configure:11537: result: no
configure:11697: checking dynamic linker characteristics
configure:12278: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:12278: $? = 0
configure:12515: result: GNU/Linux ld.so
configure:12637: checking how to hardcode library paths into programs
configure:12662: result: immediate
configure:12764: checking for shl_load
configure:12764: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccpbVCLy.o: In function main':
/home/thierry/libtool-master/libtool-master/conftest.c:57: undefined reference toshl_load'
collect2: error: ld returned 1 exit status
configure:12764: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| / end confdefs.h. /
| / Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
| For example, HP-UX 11i <limits.h> declares gettimeofday. </limits.h></limits.h>/
| #define shl_load innocuous_shl_load
|
| / System header to define stub macros and hopefully few prototypes,
| which can conflict with char shl_load (); below.
| Prefer <limits.h> to <assert.h> if __STDC</assert.h></limits.h> is defined, since
| <limits.h> exists even on freestanding compilers. </limits.h>/
|
| #ifdef __STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef shl_load
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef cplusplus
| extern "C"
| #endif
| char shl_load ();
| / The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. /
| #if defined __stub_shl_load || defined __stubshlload
| choke me
| #endif
|
| int
| main ()
| {
| return shl_load ();
| ;
| return 0;
| }
configure:12764: result: no
configure:12768: checking for shl_load in -ldld
configure:12793: gcc -o conftest -g -O2 conftest.c -ldld >&5
/usr/bin/ld: cannot find -ldld
collect2: error: ld returned 1 exit status
configure:12793: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| / end confdefs.h. /
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
| ;
| return 0;
| }
configure:12802: result: no
configure:12807: checking for dlopen
configure:12807: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccVRPZj9.o: In function main':
/home/thierry/libtool-master/libtool-master/conftest.c:57: undefined reference todlopen'
collect2: error: ld returned 1 exit status
configure:12807: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| / end confdefs.h. /
| / Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
| For example, HP-UX 11i <limits.h> declares gettimeofday. </limits.h></limits.h>/
| #define dlopen innocuous_dlopen
|
| / System header to define stub macros and hopefully few prototypes,
| which can conflict with char dlopen (); below.
| Prefer <limits.h> to <assert.h> if __STDC</assert.h></limits.h> is defined, since
| <limits.h> exists even on freestanding compilers. </limits.h>/
|
| #ifdef __STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef dlopen
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| / The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. /
| #if defined __stub_dlopen || defined __stub___dlopen
| choke me
| #endif
|
| int
| main ()
| {
| return dlopen ();
| ;
| return 0;
| }
configure:12807: result: no
configure:12811: checking for dlopen in -ldl
configure:12836: gcc -o conftest -g -O2 conftest.c -ldl >&5
configure:12836: $? = 0
configure:12845: result: yes
configure:12964: checking whether a program can dlopen itself
configure:13044: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5
configure:13047: $? = 0
configure:13065: result: yes
configure:13070: checking whether a statically linked program can dlopen itself
configure:13150: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl >&5
/tmp/ccxcHVNM.o: In function main':
/home/thierry/libtool-master/libtool-master/configure:13129: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the gli
bc version used for linking
configure:13153: $? = 0
conftest: undefined symbol: _fnord
configure:13171: result: no
configure:13210: checking whether stripping libraries is possible
configure:13219: result: yes
configure:13261: checking if libtool supports shared libraries
configure:13263: result: yes
configure:13266: checking whether to build shared libraries
configure:13291: result: yes
configure:13294: checking whether to build static libraries
configure:13298: result: yes
configure:13336: checking what extension is used for runtime loadable modules
configure:13348: result: .so
configure:13372: checking what variable specifies run-time module search path
configure:13379: result: LD_LIBRARY_PATH
configure:13389: checking for the default library search path
configure:13396: result: /lib /usr/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /usr/local/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu
!<arch> / 0 0 0 0 106 ad_open_devad_open_spsad_openad_start_recad_stop_recad_closead_readad_oss.o/ 0 0
) failed %s /dev/mixer%s %d mixer device busy. %s %d %s %s %d mixer set to mic %s calloc(%ld) failed Audio read error%s(%d) Audio device(%s) busy %s(%d) Failed to op
en audio device(%s) %s Audio ioctl(RESET) failed %s Audio ioctl(SETFMT 0x%x) failed %s Audio ioctl(SETFMT) 0x%x expected 0x%x Audio ioctl(SPEED %d) failed %s Audio io
ctl(SPEED) not perfect but is acceptable. (Wanted %d but got %d) Audio ioctl(SPEED) %d expected %d Audio ioctl(CHANNELS %d) failed %s %s %d Using current setting. %s
%d can't set mic source for this device. %s %d failed to read device mask %s %s %d mixer input gain to %d %s %s %d mixer record level to %d %s %s %d can't set input
gain/recording level for this device. {Gz?u^Lint^^^%</assert.h></limits.h></assert.h></limits.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hello,
I try to build sphinxtrain on ubuntu for windows and my make operation is down with that error:
I have done before the
./autogen.sh
./configure
and make
the command make which doesn't succeed is in making libclust :
~/sphinxtrain-5prealpha/src/libs/libclust$ make all
/bin/bash ../../../libtool --tag=CC --mode=link gcc -I../../../include -g -O2 -fPIC -DPIC -o libclust.la div.lo kdtree.lo kmeans.lo metric.lo -lm -L/usr/local/lib -lsphinxbase -lsphinxad -lpthread -lm
../../../libtool: eval: line 7977: unexpected EOF while looking for matching `''
../../../libtool: eval: line 7978: syntax error: unexpected end of file
Makefile:357: recipe for target 'libclust.la' failed
make: *** [libclust.la] Error 2
PocketSphinx and sphinxTrain are installed in the same parent directory as above:
thierry@LFR038391:~$ ls
sphinxtrain-5prealpha
pocketsphinx
my question Why gcc cannot build libclust.la ?
Libtool is too old, you have to update it by running autogen.sh probably or just libtoolize. It is better to use git sources, not archive.
ok thx i try to find it
i get the project from this url :
https://github.com/autotools-mirror/libtool.git
but after i am confused for building because make or make install said no target here is the contents of project libtool :
AUTHORS HACKING NEWS PORTING TODO bootstrap build-aux configure.ac gl gnulib libtoolize.in mail ChangeLog.old Makefile.am NO-THANKS README.md autom4te.cache bootstrap.conf cfg.mk doc gl-mod libltdl m4 tests
i try automake command failed with :
sh: 1: build-aux/git-version-gen: not found
configure.ac:52: error: m4_defn: undefined macro: LT_CONFIG_LTDL_DIR
configure.ac:52: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
automake: error: autoconf failed with exit status: 1
And autoconf command with the same error
oh oh i try ./boostrap said me that :
bootstrap: error: Prerequisite 'help2man' not found. Please install it, or
bootstrap: 'export HELP2MAN=/path/to/help2man'.
bootstrap: error: Prerequisite 'makeinfo' not found. Please install it, or
bootstrap: 'export MAKEINFO=/path/to/makeinfo'.
bootstrap: error: HACKING explains how to obtain these prerequisite programs:
bootstrap: Program Min_version Homepage
bootstrap: -----------------------------------------------------------
bootstrap: help2man 1.29 http://www.gnu.org/s/help2man
bootstrap: make 3.81 http://www.gnu.org/s/make
bootstrap: makeinfo 4.8 http://www.gnu.org/s/texinfo
bootstrap: xz 4.999.8beta http://tukaani.org/xz
bootstrap: autoconf 2.63 http://www.gnu.org/s/autoconf
bootstrap: automake 1.11.1 http://www.gnu.org/s/automake
bootstrap: -----------------------------------------------------------
I have to install the missing programms !!
Dooing on project Libtool a ./ configure command i get at the end this error what 's wrong ?
configure: error c++ preprocessor "/lib/cpp" fails sanity check
config_log has binary character so not entirely reading :
Last edit: thierry LE CONNIAT 2019-09-23
missing c++ i think no ?
thierry@LFR038391:~/DeepSpeech$ dpkg -l | grep c++
ii libsigc++-2.0-0v5:amd64 2.10.0-2 amd64 type-safe Signal Framework for C++ - runtime
ii libstdc++-6-dev:amd64 6.5.0-2ubuntu1~18.04 amd64 GNU Standard C++ Library v3 (development files)
ii libstdc++-7-dev:amd64 7.4.0-1ubuntu1~18.04.1 amd64 GNU Standard C++ Library v3 (development files)
ii libstdc++6:amd64 8.3.0-6ubuntu1~18.04.1 amd64 GNU Standard C++ Library v3
the complete output is :
thierry@LFR038391:~/libtool-master/libtool-master$ ./configure
---------------------------
Configuring libtool UNKNOWN
---------------------------
checking for GNU M4 that supports accurate traces... /usr/bin/m4
checking whether /usr/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
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... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: autobuild project... GNU Libtool
configure: autobuild revision... UNKNOWN
configure: autobuild hostname... LFR038391
configure: autobuild mode... default
configure: autobuild timestamp... 20190923T070234Z
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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... ./configure: line 12304: warning: command substitution: ignored null byte in input
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking what extension is used for runtime loadable modules... .so
checking what variable specifies run-time module search path... LD_LIBRARY_PATH
checking for the default library search path... ./configure: line 13397: printf: write error: Input/output error
checking for library containing dlopen... no
checking for dlopen in -lsvld... no
checking for shl_load... (cached) no
checking for shl_load in -ldld... (cached) no
checking for dld_link in -ldld... no
checking for _ prefix in compiled symbols... no
checking whether deplibs are loaded by dlopen... yes
checking for argz.h... no
checking for error_t... no
checking for argz_add... no
checking for argz_append... no
checking for argz_count... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for unistd.h... (cached) yes
checking for dl.h... no
checking for sys/dl.h... no
checking for dld.h... no
checking for mach-o/dyld.h... no
checking for dirent.h... no
checking for closedir... no
checking for opendir... no
checking for readdir... no
checking for strlcat... no
checking for strlcpy... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in
/home/thierry/libtool-master/libtool-master': configure: error: C++ preprocessor "/lib/cpp" fails sanity check See
config.log' for more detailsLast edit: thierry LE CONNIAT 2019-09-23
I have error on GCC in config.log ......but can't send you entirely here is some error (perhaps normal ..) ?
thierry@LFR038391:~/libtool-master/libtool-master$ more config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU Libtool configure UNKNOWN, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
---------
Platform.
---------
hostname = LFR038391
uname -m = x86_64
uname -r = 4.4.0-17763-Microsoft
uname -s = Linux
uname -v = #379-Microsoft Wed Mar 06 19:16:00 PST 2019
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/thierry/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /mnt/c/Program Files/WindowsApps/CanonicalGroupLimited.UbuntuonWindows_1804.2019.521.0_x64__79rhkp1fndgsc
PATH: /mnt/c/Windows/System32
PATH: /mnt/c/Windows
PATH: /mnt/c/Windows/System32/wbem
PATH: /mnt/c/Windows/System32/WindowsPowerShell/v1.0
PATH: /mnt/c/Windows/System32/OpenSSH
PATH: /mnt/c/Program Files/OpenJDK11/bin
PATH: /mnt/c/Users/tleconni/AppData/Local/Programs/Python/Python37-32/Scripts
PATH: /mnt/c/Users/tleconni/AppData/Local/Programs/Python/Python37-32
PATH: /mnt/c/Users/tleconni/AppData/Local/Microsoft/WindowsApps
PATH: /snap/bin
-----------
Core tests.
-----------
configure:2703: checking for GNU M4 that supports accurate traces
configure:2752: result: /usr/bin/m4
configure:2755: checking whether /usr/bin/m4 accepts --gnu
configure:2765: result: yes
configure:2782: checking how m4 supports trace files
configure:2792: result: --debugfile
configure:2819: checking for a BSD-compatible install
configure:2887: result: /usr/bin/install -c
configure:2898: checking whether build environment is sane
configure:2953: result: yes
configure:3104: checking for a thread-safe mkdir -p
configure:3143: result: /bin/mkdir -p
configure:3150: checking for gawk
configure:3166: found /usr/bin/gawk
configure:3177: result: gawk
configure:3188: checking whether make sets $(MAKE)
configure:3210: result: yes
configure:3239: checking whether make supports nested variables
configure:3256: result: yes
configure:3393: checking whether make supports nested variables
configure:3410: result: yes
configure:3435: checking build system type
configure:3449: result: x86_64-pc-linux-gnu
configure:3469: checking host system type
configure:3482: result: x86_64-pc-linux-gnu
configure:3509: autobuild project... GNU Libtool
configure:3515: autobuild revision... UNKNOWN
configure:3520: autobuild hostname... LFR038391
configure:3524: autobuild mode... default
configure:3532: autobuild timestamp... 20190923T070234Z
configure:3622: checking for gcc
configure:3638: found /usr/bin/gcc
configure:3649: result: gcc
configure:3878: checking for C compiler version
configure:3887: gcc --version >&5
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3898: $? = 0
configure:3887: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go
,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --l
ibexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-
libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zl
ib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multili
b --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-l
inux-gnu
Thread model: posix
gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configure:3898: $? = 0
configure:3887: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3898: $? = 1
configure:3887: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3898: $? = 1
configure:3918: checking whether the C compiler works
configure:3940: gcc conftest.c >&5
configure:3944: $? = 0
configure:3992: result: yes
configure:3995: checking for C compiler default output file name
configure:3997: result: a.out
configure:4003: checking for suffix of executables
configure:4010: gcc -o conftest conftest.c >&5
configure:4014: $? = 0
configure:4036: result:
configure:4058: checking whether we are cross compiling
configure:4066: gcc -o conftest conftest.c >&5
configure:4070: $? = 0
configure:4077: ./conftest
configure:4081: $? = 0
configure:4096: result: no
configure:4101: checking for suffix of object files
configure:4123: gcc -c conftest.c >&5
configure:4127: $? = 0
configure:4148: result: o
configure:4152: checking whether we are using the GNU C compiler
configure:4171: gcc -c conftest.c >&5
configure:4171: $? = 0
configure:4180: result: yes
configure:4189: checking whether gcc accepts -g
configure:4209: gcc -c -g conftest.c >&5
configure:4209: $? = 0
configure:4250: result: yes
configure:4267: checking for gcc option to accept ISO C89
configure:4330: gcc -c -g -O2 conftest.c >&5
configure:4330: $? = 0
configure:4343: result: none needed
configure:4368: checking whether gcc understands -c and -o together
configure:4390: gcc -c conftest.c -o conftest2.o
configure:4393: $? = 0
configure:4390: gcc -c conftest.c -o conftest2.o
configure:4393: $? = 0
configure:4405: result: yes
configure:4433: checking for style of include used by make
configure:4461: result: GNU
configure:4487: checking dependency style of gcc
configure:4598: result: gcc3
configure:4619: checking how to run the C preprocessor
configure:4650: gcc -E conftest.c
configure:4650: $? = 0
configure:4664: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4664: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:4689: result: gcc -E
configure:4709: gcc -E conftest.c
configure:4709: $? = 0
configure:4723: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:4723: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:4752: checking for grep that handles long lines and -e
configure:4810: result: /bin/grep
configure:4815: checking for egrep
configure:4877: result: /bin/grep -E
configure:4885: checking for Minix Amsterdam compiler
configure:4909: result: no
configure:4966: checking for ar
configure:4982: found /usr/bin/ar
configure:4993: result: ar
configure:5068: checking for ranlib
configure:5084: found /usr/bin/ranlib
configure:5095: result: ranlib
configure:5150: checking how to run the C preprocessor
configure:5220: result: gcc -E
configure:5240: gcc -E conftest.c
configure:5240: $? = 0
configure:5254: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
#include <ac_nonexistent.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:5254: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| / end confdefs.h. /
| #include <ac_nonexistent.h>
configure:5332: checking how to print strings
configure:5359: result: printf
configure:5380: checking for a sed that does not truncate output
configure:5444: result: /bin/sed
configure:5462: checking for fgrep
configure:5524: result: /bin/grep -F
configure:5559: checking for ld used by gcc
configure:5626: result: /usr/bin/ld
configure:5633: checking if the linker (/usr/bin/ld) is GNU ld
configure:5648: result: yes
configure:5660: checking for BSD- or MS-compatible name lister (nm)
configure:5714: result: /usr/bin/nm -B
configure:5844: checking the name lister (/usr/bin/nm -B) interface
configure:5851: gcc -c -g -O2 conftest.c >&5
configure:5854: /usr/bin/nm -B "conftest.o"
configure:5857: output
0000000000000000 B some_variable
configure:5864: result: BSD nm
configure:5867: checking whether ln -s works
configure:5871: result: yes
configure:5879: checking the maximum length of command line arguments
configure:6010: result: 1572864
configure:6058: checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format
configure:6098: result: func_convert_file_noop
configure:6105: checking how to convert x86_64-pc-linux-gnu file names to toolchain format
configure:6125: result: func_convert_file_noop
configure:6132: checking for /usr/bin/ld option to reload object files
configure:6139: result: -r
configure:6213: checking for objdump
configure:6229: found /usr/bin/objdump
configure:6240: result: objdump
configure:6269: checking how to recognize dependent libraries
configure:6469: result: pass_all
configure:6554: checking for dlltool
configure:6584: result: no
configure:6611: checking how to associate runtime and link libraries
configure:6638: result: printf %s\n
configure:6778: checking for archiver @FILE support
configure:6795: gcc -c -g -O2 conftest.c >&5
configure:6795: $? = 0
configure:6798: ar cr libconftest.a @conftest.lst >&5
configure:6801: $? = 0
configure:6806: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:6809: $? = 1
configure:6821: result: @
configure:6879: checking for strip
configure:6895: found /usr/bin/strip
configure:6906: result: strip
configure:6978: checking for ranlib
configure:7005: result: ranlib
configure:7107: checking command to parse /usr/bin/nm -B output from gcc object
configure:7260: gcc -c -g -O2 conftest.c >&5
configure:7263: $? = 0
configure:7267: /usr/bin/nm -B conftest.o | sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p' | sed '/ gnu_lto/d' > conftes
t.nm
configure:7270: $? = 0
configure:7336: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:7339: $? = 0
configure:7377: result: ok
configure:7424: checking for sysroot
configure:7454: result: no
configure:7461: checking for a working dd
configure:7499: result: /bin/dd
configure:7503: checking how to truncate binary pipes
configure:7518: result: /bin/dd bs=4096 count=1
configure:7654: gcc -c -g -O2 conftest.c >&5
configure:7657: $? = 0
configure:7847: checking for mt
configure:7863: found /bin/mt
configure:7874: result: mt
configure:7897: checking if mt is a manifest tool
configure:7903: mt '-?'
configure:7911: result: no
configure:8583: checking for ANSI C header files
configure:8603: gcc -c -g -O2 conftest.c >&5
configure:8603: $? = 0
configure:8676: gcc -o conftest -g -O2 conftest.c >&5
configure:8676: $? = 0
configure:8676: ./conftest
configure:8676: $? = 0
configure:8687: result: yes
configure:8700: checking for sys/types.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for sys/stat.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for stdlib.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for string.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for memory.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for strings.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for inttypes.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for stdint.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8700: checking for unistd.h
configure:8700: gcc -c -g -O2 conftest.c >&5
configure:8700: $? = 0
configure:8700: result: yes
configure:8714: checking for dlfcn.h
configure:8714: gcc -c -g -O2 conftest.c >&5
configure:8714: $? = 0
configure:8714: result: yes
configure:9267: checking for objdir
configure:9282: result: .libs
configure:9546: checking if gcc supports -fno-rtti -fno-exceptions
configure:9564: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C
configure:9568: $? = 0
configure:9581: result: no
configure:9939: checking for gcc option to produce PIC
configure:9946: result: -fPIC -DPIC
configure:9954: checking if gcc PIC flag -fPIC -DPIC works
configure:9972: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:9976: $? = 0
configure:9989: result: yes
configure:10018: checking if gcc static flag -static works
configure:10046: result: yes
configure:10061: checking if gcc supports -c -o file.o
configure:10082: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:10086: $? = 0
configure:10108: result: yes
configure:10116: checking if gcc supports -c -o file.o
configure:10163: result: yes
configure:10196: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries
configure:11457: result: yes
configure:11494: checking whether -lc should be explicitly linked in
configure:11502: gcc -c -g -O2 conftest.c >&5
configure:11505: $? = 0
configure:11520: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2>\&1 | /bin/grep -lc >/dev/null 2>\&1
configure:11523: $? = 0
configure:11537: result: no
configure:11697: checking dynamic linker characteristics
configure:12278: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:12278: $? = 0
configure:12515: result: GNU/Linux ld.so
configure:12637: checking how to hardcode library paths into programs
configure:12662: result: immediate
configure:12764: checking for shl_load
configure:12764: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccpbVCLy.o: In function
main': /home/thierry/libtool-master/libtool-master/conftest.c:57: undefined reference to
shl_load'collect2: error: ld returned 1 exit status
configure:12764: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| / end confdefs.h. /
| / Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
| For example, HP-UX 11i <limits.h> declares gettimeofday. </limits.h></limits.h>/
| #define shl_load innocuous_shl_load
|
| / System header to define stub macros and hopefully few prototypes,
| which can conflict with char shl_load (); below.
| Prefer <limits.h> to <assert.h> if __STDC</assert.h></limits.h> is defined, since
| <limits.h> exists even on freestanding compilers. </limits.h>/
|
| #ifdef __STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef shl_load
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef cplusplus
| extern "C"
| #endif
| char shl_load ();
| / The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. /
| #if defined __stub_shl_load || defined __stubshlload
| choke me
| #endif
|
| int
| main ()
| {
| return shl_load ();
| ;
| return 0;
| }
configure:12764: result: no
configure:12768: checking for shl_load in -ldld
configure:12793: gcc -o conftest -g -O2 conftest.c -ldld >&5
/usr/bin/ld: cannot find -ldld
collect2: error: ld returned 1 exit status
configure:12793: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| / end confdefs.h. /
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef cplusplus
| extern "C"
| #endif
| char shl_load ();
| int
| main ()
| {
| return shl_load ();
| ;
| return 0;
| }
configure:12802: result: no
configure:12807: checking for dlopen
configure:12807: gcc -o conftest -g -O2 conftest.c >&5
/tmp/ccVRPZj9.o: In function
main': /home/thierry/libtool-master/libtool-master/conftest.c:57: undefined reference to
dlopen'collect2: error: ld returned 1 exit status
configure:12807: $? = 1
configure: failed program was:
| / confdefs.h /
| #define PACKAGE_NAME "GNU Libtool"
| #define PACKAGE_TARNAME "libtool"
| #define PACKAGE_VERSION "UNKNOWN"
| #define PACKAGE_STRING "GNU Libtool UNKNOWN"
| #define PACKAGE_BUGREPORT "bug-libtool@gnu.org"
| #define PACKAGE_URL "http://www.gnu.org/software/libtool/"
| #define PACKAGE "libtool"
| #define VERSION "UNKNOWN"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| / end confdefs.h. /
| / Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
| For example, HP-UX 11i <limits.h> declares gettimeofday. </limits.h></limits.h>/
| #define dlopen innocuous_dlopen
|
| / System header to define stub macros and hopefully few prototypes,
| which can conflict with char dlopen (); below.
| Prefer <limits.h> to <assert.h> if __STDC</assert.h></limits.h> is defined, since
| <limits.h> exists even on freestanding compilers. </limits.h>/
|
| #ifdef __STDC
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
|
| #undef dlopen
|
| / Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. /
| #ifdef __cplusplus
| extern "C"
| #endif
| char dlopen ();
| / The GNU C library defines this for functions which it implements
| to always fail with ENOSYS. Some functions are actually named
| something starting with __ and the normal name is an alias. /
| #if defined __stub_dlopen || defined __stub___dlopen
| choke me
| #endif
|
| int
| main ()
| {
| return dlopen ();
| ;
| return 0;
| }
configure:12807: result: no
configure:12811: checking for dlopen in -ldl
configure:12836: gcc -o conftest -g -O2 conftest.c -ldl >&5
configure:12836: $? = 0
configure:12845: result: yes
configure:12964: checking whether a program can dlopen itself
configure:13044: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic conftest.c -ldl >&5
configure:13047: $? = 0
configure:13065: result: yes
configure:13070: checking whether a statically linked program can dlopen itself
configure:13150: gcc -o conftest -g -O2 -DHAVE_DLFCN_H -Wl,--export-dynamic -static conftest.c -ldl >&5
/tmp/ccxcHVNM.o: In function
main': /home/thierry/libtool-master/libtool-master/configure:13129: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the gli bc version used for linking configure:13153: $? = 0 conftest: undefined symbol: _fnord configure:13171: result: no configure:13210: checking whether stripping libraries is possible configure:13219: result: yes configure:13261: checking if libtool supports shared libraries configure:13263: result: yes configure:13266: checking whether to build shared libraries configure:13291: result: yes configure:13294: checking whether to build static libraries configure:13298: result: yes configure:13336: checking what extension is used for runtime loadable modules configure:13348: result: .so configure:13372: checking what variable specifies run-time module search path configure:13379: result: LD_LIBRARY_PATH configure:13389: checking for the default library search path configure:13396: result: /lib /usr/lib /usr/lib/x86_64-linux-gnu/libfakeroot /usr/local/lib /usr/local/lib/x86_64-linux-gnu /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu !<arch> / 0 0 0 0 106
ad_open_devad_open_spsad_openad_start_recad_stop_recad_closead_readad_oss.o/ 0 0) failed %s /dev/mixer%s %d mixer device busy. %s %d %s %s %d mixer set to mic %s calloc(%ld) failed Audio read error%s(%d) Audio device(%s) busy %s(%d) Failed to op
en audio device(%s) %s Audio ioctl(RESET) failed %s Audio ioctl(SETFMT 0x%x) failed %s Audio ioctl(SETFMT) 0x%x expected 0x%x Audio ioctl(SPEED %d) failed %s Audio io
ctl(SPEED) not perfect but is acceptable. (Wanted %d but got %d) Audio ioctl(SPEED) %d expected %d Audio ioctl(CHANNELS %d) failed %s %s %d Using current setting. %s
%d can't set mic source for this device. %s %d failed to read device mask %s %s %d mixer input gain to %d %s %s %d mixer record level to %d %s %s %d can't set input
gain/recording level for this device. {Gz?u^Lint^^^%</assert.h></limits.h></assert.h></limits.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h>
I cannot read config.log because of binary characters ?
Is there a programm for reading this file ? or is it an other error of configuration ?