Menu

Problem with Sphinx 3 make

Help
Anonymous
2011-08-01
2012-09-22
  • Anonymous

    Anonymous - 2011-08-01

    Hello, I have a small problem with make on Sphinx 3.

    /bin/sh ../../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -fvisibility=hidd
    en   -o sphinx3_decode.exe main_decode.o ../../src/libs3decoder/libs3decoder.la
    -lsphinxbase -lsphinxad -lm
    libtool: link: gcc -g -O2 -Wall -fvisibility=hidden -o .libs/sphinx3_decode.exe
    main_decode.o  ../../src/libs3decoder/.libs/libs3decoder.a -lsphinxbase -lsphinx
    ad
    /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find
     -lsphinxbase
    /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find
     -lsphinxad
    collect2: ld returned 1 exit status
    make[2]: *** [sphinx3_decode.exe] Error 1
    make[2]: Leaving directory `/cygdrive/d/sphinx/sphinx3/src/programs'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/cygdrive/d/sphinx/sphinx3/src'
    make: *** [all-recursive] Error 1
    [code]
    
    It said that it could not find the library sphinxbase and sphinxad, but when i checked the folders
    [code]sphinxbase\src\libsphinxbase[/code]
    [code]sphinxbase\src\libsphinxad[/code]
    both these exist.
    
    is there something wrong?
    I ran ./autogen.sh twice like the README stated.
    
     
  • Nickolay V. Shmyrev

    Hello

    Despite library file is present the linker doesn't know which folder to look
    at. Usually the linker is guided with -L option which points to the folder
    where to look for a library. In your case -L must be specified in LDFLAGS and
    must point to sphinxbase folder where library could be found.

    Unless you redefine LDFLAGS everything should be ok

    To understand problem better you need to provide the configure log and the
    full build log. They contain the more detailed information about the problem
    and reasons.

     
  • Anonymous

    Anonymous - 2011-08-03

    This is the 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 configure, which was
    generated by GNU Autoconf 2.68.  Invocation command line was
    
      $ ./configure
    
    ## --------- ##
    ## Platform. ##
    ## --------- ##
    
    hostname = Yuni-PC
    uname -m = i686
    uname -r = 1.7.9(0.237/5/3)
    uname -s = CYGWIN_NT-6.1-WOW64
    uname -v = 2011-03-29 10:10
    
    /usr/bin/uname -p = unknown
    /bin/uname -X     = unknown
    
    /bin/arch              = i686
    /usr/bin/arch -k       = unknown
    /usr/convex/getsysinfo = unknown
    /usr/bin/hostinfo      = unknown
    /bin/machine           = unknown
    /usr/bin/oslevel       = unknown
    /bin/universe          = unknown
    
    PATH: /usr/local/bin
    PATH: /usr/bin
    PATH: /cygdrive/c/Perl64/site/bin
    PATH: /cygdrive/c/Perl64/bin
    PATH: /cygdrive/c/Program Files (x86)/MiKTeX 2.9/miktex/bin
    PATH: /cygdrive/c/Program Files (x86)/PC Connectivity Solution
    PATH: /cygdrive/c/Windows/system32
    PATH: /cygdrive/c/Windows
    PATH: /cygdrive/c/Windows/System32/Wbem
    PATH: /cygdrive/c/Windows/System32/WindowsPowerShell/v1.0
    PATH: /cygdrive/c/Program Files (x86)/QuickTime/QTSystem
    PATH: /cygdrive/c/Program Files (x86)/Java/jdk1.6.0_15/bin
    PATH: /cygdrive/c/Program Files (x86)/WinAnt/bin
    PATH: /cygdrive/c/j2me/j2me_cldc/bin
    PATH: /cygdrive/c/j2me/midp-fcs/bin
    PATH: /usr/lib/lapack
    
    
    ## ----------- ##
    ## Core tests. ##
    ## ----------- ##
    
    configure:2284: checking for a BSD-compatible install
    configure:2352: result: /usr/bin/install -c
    configure:2363: checking whether build environment is sane
    configure:2413: result: yes
    configure:2554: checking for a thread-safe mkdir -p
    configure:2593: result: /usr/bin/mkdir -p
    configure:2606: checking for gawk
    configure:2622: found /usr/bin/gawk
    configure:2633: result: gawk
    configure:2644: checking whether make sets $(MAKE)
    configure:2666: result: yes
    configure:2753: checking build system type
    configure:2767: result: i686-pc-cygwin
    configure:2787: checking host system type
    configure:2800: result: i686-pc-cygwin
    configure:2841: checking for style of include used by make
    configure:2869: result: GNU
    configure:2939: checking for gcc
    configure:2955: found /usr/bin/gcc
    configure:2966: result: gcc
    configure:3195: checking for C compiler version
    configure:3204: gcc --version >&5
    gcc (GCC) 4.3.4 20090804 (release) 1
    Copyright (C) 2008 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:3215: $? = 0
    configure:3204: gcc -v >&5
    Using built-in specs.
    Target: i686-pc-cygwin
    Configured with: /gnu/gcc/releases/respins/4.3.4-4/gcc4-4.3.4-4/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/respins/4.3.4-4/gcc4-4.3.4-4/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man -C --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar
    Thread model: posix
    gcc version 4.3.4 20090804 (release) 1 (GCC) 
    configure:3215: $? = 0
    configure:3204: gcc -V >&5
    gcc: '-V' option must have argument
    configure:3215: $? = 1
    configure:3204: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:3215: $? = 1
    configure:3235: checking whether the C compiler works
    configure:3257: gcc -g -O2 -Wall   conftest.c  >&5
    configure:3261: $? = 0
    configure:3309: result: yes
    configure:3312: checking for C compiler default output file name
    configure:3314: result: a.exe
    configure:3320: checking for suffix of executables
    configure:3327: gcc -o conftest.exe -g -O2 -Wall   conftest.c  >&5
    configure:3331: $? = 0
    configure:3353: result: .exe
    configure:3375: checking whether we are cross compiling
    configure:3383: gcc -o conftest.exe -g -O2 -Wall   conftest.c  >&5
    configure:3387: $? = 0
    configure:3394: ./conftest.exe
    configure:3398: $? = 0
    configure:3413: result: no
    configure:3418: checking for suffix of object files
    configure:3440: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:3444: $? = 0
    configure:3465: result: o
    configure:3469: checking whether we are using the GNU C compiler
    configure:3488: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:3488: $? = 0
    configure:3497: result: yes
    configure:3506: checking whether gcc accepts -g
    configure:3526: gcc -c -g  conftest.c >&5
    configure:3526: $? = 0
    configure:3567: result: yes
    configure:3584: checking for gcc option to accept ISO C89
    configure:3648: gcc  -c -g -O2 -Wall  conftest.c >&5
    configure:3648: $? = 0
    configure:3661: result: none needed
    configure:3683: checking dependency style of gcc
    configure:3793: result: gcc3
    configure:3809: checking for library containing strerror
    configure:3840: gcc -o conftest.exe -g -O2 -Wall   conftest.c  >&5
    configure:3840: $? = 0
    configure:3857: result: none required
    configure:3913: checking for gcc
    configure:3940: result: gcc
    configure:4169: checking for C compiler version
    configure:4178: gcc --version >&5
    gcc (GCC) 4.3.4 20090804 (release) 1
    Copyright (C) 2008 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:4189: $? = 0
    configure:4178: gcc -v >&5
    Using built-in specs.
    Target: i686-pc-cygwin
    Configured with: /gnu/gcc/releases/respins/4.3.4-4/gcc4-4.3.4-4/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/respins/4.3.4-4/gcc4-4.3.4-4/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man -C --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar
    Thread model: posix
    gcc version 4.3.4 20090804 (release) 1 (GCC) 
    configure:4189: $? = 0
    configure:4178: gcc -V >&5
    gcc: '-V' option must have argument
    configure:4189: $? = 1
    configure:4178: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:4189: $? = 1
    configure:4193: checking whether we are using the GNU C compiler
    configure:4221: result: yes
    configure:4230: checking whether gcc accepts -g
    configure:4291: result: yes
    configure:4308: checking for gcc option to accept ISO C89
    configure:4385: result: none needed
    configure:4407: checking dependency style of gcc
    configure:4517: result: gcc3
    configure:4580: checking for gcc
    configure:4607: result: gcc
    configure:4836: checking for C compiler version
    configure:4845: gcc --version >&5
    gcc (GCC) 4.3.4 20090804 (release) 1
    Copyright (C) 2008 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:4856: $? = 0
    configure:4845: gcc -v >&5
    Using built-in specs.
    Target: i686-pc-cygwin
    Configured with: /gnu/gcc/releases/respins/4.3.4-4/gcc4-4.3.4-4/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/respins/4.3.4-4/gcc4-4.3.4-4/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man -C --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind --with-ecj-jar=/usr/share/java/ecj.jar
    Thread model: posix
    gcc version 4.3.4 20090804 (release) 1 (GCC) 
    configure:4856: $? = 0
    configure:4845: gcc -V >&5
    gcc: '-V' option must have argument
    configure:4856: $? = 1
    configure:4845: gcc -qversion >&5
    gcc: unrecognized option '-qversion'
    gcc: no input files
    configure:4856: $? = 1
    configure:4860: checking whether we are using the GNU C compiler
    configure:4888: result: yes
    configure:4897: checking whether gcc accepts -g
    configure:4958: result: yes
    configure:4975: checking for gcc option to accept ISO C89
    configure:5052: result: none needed
    configure:5074: checking dependency style of gcc
    configure:5184: result: gcc3
    configure:5207: checking how to run the C preprocessor
    configure:5238: gcc -E  conftest.c
    configure:5238: $? = 0
    configure:5252: gcc -E  conftest.c
    conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
    configure:5252: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "sphinx3"
    | #define VERSION "0.7"
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:5277: result: gcc -E
    configure:5297: gcc -E  conftest.c
    configure:5297: $? = 0
    configure:5311: gcc -E  conftest.c
    conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
    configure:5311: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "sphinx3"
    | #define VERSION "0.7"
    | /* end confdefs.h.  */
    | #include <ac_nonexistent.h>
    configure:5340: checking for grep that handles long lines and -e
    configure:5398: result: /usr/bin/grep
    configure:5403: checking for egrep
    configure:5465: result: /usr/bin/grep -E
    configure:5470: checking for ANSI C header files
    configure:5490: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5490: $? = 0
    configure:5563: gcc -o conftest.exe -g -O2 -Wall   conftest.c  >&5
    configure:5563: $? = 0
    configure:5563: ./conftest.exe
    configure:5563: $? = 0
    configure:5574: result: yes
    configure:5587: checking for sys/types.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for sys/stat.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for stdlib.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for string.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for memory.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for strings.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for inttypes.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for stdint.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5587: checking for unistd.h
    configure:5587: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5587: $? = 0
    configure:5587: result: yes
    configure:5599: checking whether byte ordering is bigendian
    configure:5614: gcc -c -g -O2 -Wall  conftest.c >&5
    conftest.c:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a'
    configure:5614: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "sphinx3"
    | #define VERSION "0.7"
    | #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
    | /* end confdefs.h.  */
    | #ifndef __APPLE_CC__
    |          not a universal capable compiler
    |        #endif
    |        typedef int dummy;
    | 
    configure:5659: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:5659: $? = 0
    configure:5677: gcc -c -g -O2 -Wall  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:28: error: 'not' undeclared (first use in this function)
    conftest.c:28: error: (Each undeclared identifier is reported only once
    conftest.c:28: error: for each function it appears in.)
    conftest.c:28: error: expected ';' before 'big'
    configure:5677: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "sphinx3"
    | #define VERSION "0.7"
    | #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
    | /* end confdefs.h.  */
    | #include <sys/types.h>
    |       #include <sys/param.h>
    | 
    | int
    | main ()
    | {
    | #if BYTE_ORDER != BIG_ENDIAN
    |        not big endian
    |       #endif
    | 
    |   ;
    |   return 0;
    | }
    configure:5805: result: no
    configure:5823: checking for ANSI C header files
    configure:5927: result: yes
    configure:5936: checking for an ANSI C-conforming const
    configure:6001: gcc -c -g -O2 -Wall  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:51: warning: 't' is used uninitialized in this function
    conftest.c:67: warning: 'b' may be used uninitialized in this function
    conftest.c:73: warning: 'cs[0]' is used uninitialized in this function
    configure:6001: $? = 0
    configure:6008: result: yes
    configure:6016: checking for size_t
    configure:6016: gcc -c -g -O2 -Wall  conftest.c >&5
    configure:6016: $? = 0
    configure:6016: gcc -c -g -O2 -Wall  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:58: error: expected expression before ')' token
    configure:6016: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "sphinx3"
    | #define VERSION "0.7"
    | #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 STDC_HEADERS 1
    | /* end confdefs.h.  */
    | #include <stdio.h>
    | #ifdef HAVE_SYS_TYPES_H
    | # include <sys/types.h>
    | #endif
    | #ifdef HAVE_SYS_STAT_H
    | # include <sys/stat.h>
    | #endif
    | #ifdef STDC_HEADERS
    | # include <stdlib.h>
    | # include <stddef.h>
    | #else
    | # ifdef HAVE_STDLIB_H
    | #  include <stdlib.h>
    | # endif
    | #endif
    | #ifdef HAVE_STRING_H
    | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    | #  include <memory.h>
    | # endif
    | # include <string.h>
    | #endif
    | #ifdef HAVE_STRINGS_H
    | # include <strings.h>
    | #endif
    | #ifdef HAVE_INTTYPES_H
    | # include <inttypes.h>
    | #endif
    | #ifdef HAVE_STDINT_H
    | # include <stdint.h>
    | #endif
    | #ifdef HAVE_UNISTD_H
    | # include <unistd.h>
    | #endif
    | int
    | main ()
    | {
    | if (sizeof ((size_t)))
    |       return 0;
    |   ;
    |   return 0;
    | }
    configure:6016: result: yes
    configure:6030: checking for memmove
    configure:6030: gcc -o conftest.exe -g -O2 -Wall   conftest.c  >&5
    conftest.c:45: warning: conflicting types for built-in function 'memmove'
    configure:6030: $? = 0
    configure:6030: result: yes
    configure:6030: checking for bcopy
    configure:6030: gcc -o conftest.exe -g -O2 -Wall   conftest.c  >&5
    conftest.c:46: warning: conflicting types for built-in function 'bcopy'
    configure:6030: $? = 0
    configure:6030: result: yes
    configure:6040: checking return type of signal handlers
    configure:6058: gcc -c -g -O2 -Wall  conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:30: error: void value not ignored as it ought to be
    configure:6058: $? = 1
    configure: failed program was:
    | /* confdefs.h */
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | #define PACKAGE_URL ""
    | #define PACKAGE "sphinx3"
    | #define VERSION "0.7"
    | #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 STDC_HEADERS 1
    | #define HAVE_MEMMOVE 1
    | #define HAVE_BCOPY 1
    | /* end confdefs.h.  */
    | #include <sys/types.h>
    | #include <signal.h>
    | 
    | int
    | main ()
    | {
    | return *(signal (0, 0)) (0) == 1;
    |   ;
    |   return 0;
    | }
    configure:6065: result: void
    configure:6081: checking if compiler supports __attribute__((visibility("default")))
    configure:6092: gcc -c -g -O2 -Wall -fvisibility=hidden  conftest.c >&5
    configure:6092: $? = 0
    configure:6100: result: yes
    configure:6152: checking sphinxbase/sphinx_config.h usability
    configure:6152: gcc -c -g -O2 -Wall -fvisibility=hidden  conftest.c >&5
    configure:6152: $? = 0
    configure:6152: result: yes
    configure:6152: checking sphinxbase/sphinx_config.h presence
    configure:6152: gcc -E  conftest.c
    configure:6152: $? = 0
    configure:6152: result: yes
    configure:6152: checking for sphinxbase/sphinx_config.h
    configure:6152: result: yes
    configure:6243: checking for perl
    configure:6261: found /usr/bin/perl
    configure:6273: result: /usr/bin/perl
    configure:6283: checking for csh
    configure:6316: result: no
    configure:6374: checking how to print strings
    configure:6401: result: printf
    configure:6422: checking for a sed that does not truncate output
    configure:6486: result: /usr/bin/sed
    configure:6504: checking for fgrep
    configure:6566: result: /usr/bin/grep -F
    configure:6601: checking for ld used by gcc
    configure:6668: result: /usr/i686-pc-cygwin/bin/ld.exe
    configure:6675: checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld
    configure:6690: result: yes
    configure:6702: checking for BSD- or MS-compatible name lister (nm)
    configure:6751: result: /usr/bin/nm -B
    configure:6881: checking the name lister (/usr/bin/nm -B) interface
    configure:6888: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase conftest.c >&5
    conftest.c:1: warning: visibility attribute not supported in this configuration; ignored
    configure:6891: /usr/bin/nm -B "conftest.o"
    configure:6894: output
    00000000 b .bss
    00000000 d .data
    00000000 N .debug_abbrev
    00000000 N .debug_info
    00000000 N .debug_line
    00000000 N .debug_pubnames
    00000000 t .text
    00000000 B _some_variable
    configure:6901: result: BSD nm
    configure:6904: checking whether ln -s works
    configure:6908: result: yes
    configure:6916: checking the maximum length of command line arguments
    configure:7041: result: 8192
    configure:7058: checking whether the shell understands some XSI constructs
    configure:7068: result: yes
    configure:7072: checking whether the shell understands "+="
    configure:7078: result: yes
    configure:7113: checking how to convert i686-pc-cygwin file names to i686-pc-cygwin format
    configure:7153: result: func_convert_file_noop
    configure:7160: checking how to convert i686-pc-cygwin file names to toolchain format
    configure:7180: result: func_convert_file_noop
    configure:7187: checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files
    configure:7194: result: -r
    configure:7268: checking for objdump
    configure:7284: found /usr/bin/objdump
    configure:7295: result: objdump
    configure:7327: checking how to recognize dependent libraries
    configure:7529: result: file_magic ^x86 archive import|^x86 DLL
    configure:7614: checking for dlltool
    configure:7630: found /usr/bin/dlltool
    configure:7641: result: dlltool
    configure:7674: checking how to associate runtime and link libraries
    configure:7701: result: func_cygming_dll_for_implib
    configure:7761: checking for ar
    configure:7777: found /usr/bin/ar
    configure:7788: result: ar
    configure:7825: checking for archiver @FILE support
    configure:7842: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase conftest.c >&5
    conftest.c: In function 'main':
    conftest.c:33: warning: visibility attribute not supported in this configuration; ignored
    configure:7842: $? = 0
    configure:7845: ar cru libconftest.a @conftest.lst >&5
    configure:7848: $? = 0
    configure:7853: ar cru libconftest.a @conftest.lst >&5
    ar: conftest.o: No such file or directory
    configure:7856: $? = 1
    configure:7868: result: @
    configure:7926: checking for strip
    configure:7942: found /usr/bin/strip
    configure:7953: result: strip
    configure:8025: checking for ranlib
    configure:8041: found /usr/bin/ranlib
    configure:8052: result: ranlib
    configure:8154: checking command to parse /usr/bin/nm -B output from gcc object
    configure:8273: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase conftest.c >&5
    conftest.c: In function 'nm_test_func':
    conftest.c:6: warning: visibility attribute not supported in this configuration; ignored
    conftest.c: In function 'main':
    conftest.c:10: warning: visibility attribute not supported in this configuration; ignored
    conftest.c: At top level:
    conftest.c:10: warning: visibility attribute not supported in this configuration; ignored
    configure:8276: $? = 0
    configure:8280: /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' \> conftest.nm
    configure:8283: $? = 0
    cannot find nm_test_var in conftest.nm
    configure:8273: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase conftest.c >&5
    conftest.c: In function 'nm_test_func':
    conftest.c:6: warning: visibility attribute not supported in this configuration; ignored
    conftest.c: In function 'main':
    conftest.c:10: warning: visibility attribute not supported in this configuration; ignored
    conftest.c: At top level:
    conftest.c:10: warning: visibility attribute not supported in this configuration; ignored
    configure:8276: $? = 0
    configure:8280: /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' \> conftest.nm
    configure:8283: $? = 0
    configure:8349: gcc -o conftest.exe -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase  conftest.c conftstm.o >&5
    conftest.c:31: warning: visibility attribute not supported in this configuration; ignored
    configure:8352: $? = 0
    configure:8390: result: ok
    configure:8427: checking for sysroot
    configure:8457: result: no
    configure:8700: checking for mt
    configure:8730: result: no
    configure:8750: checking if : is a manifest tool
    configure:8756: : '-?'
    configure:8764: result: no
    configure:9393: checking for dlfcn.h
    configure:9393: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase conftest.c >&5
    configure:9393: $? = 0
    configure:9393: result: yes
    configure:9580: checking for objdir
    configure:9595: result: .libs
    configure:9862: checking if gcc supports -fno-rtti -fno-exceptions
    configure:9880: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -fno-rtti -fno-exceptions conftest.c >&5
    cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
    conftest.c:1: warning: visibility attribute not supported in this configuration; ignored
    configure:9884: $? = 0
    configure:9897: result: no
    configure:10207: checking for gcc option to produce PIC
    configure:10214: result: -DDLL_EXPORT -DPIC
    configure:10222: checking if gcc PIC flag -DDLL_EXPORT -DPIC works
    configure:10240: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -DDLL_EXPORT -DPIC -DPIC conftest.c >&5
    conftest.c:1: warning: visibility attribute not supported in this configuration; ignored
    configure:10244: $? = 0
    configure:10257: result: yes
    configure:10286: checking if gcc static flag -static works
    configure:10314: result: no
    configure:10329: checking if gcc supports -c -o file.o
    configure:10350: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase -o out/conftest2.o conftest.c >&5
    conftest.c:1: warning: visibility attribute not supported in this configuration; ignored
    configure:10354: $? = 0
    configure:10376: result: yes
    configure:10384: checking if gcc supports -c -o file.o
    configure:10431: result: yes
    configure:10464: checking whether the gcc linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared libraries
    configure:11622: result: yes
    configure:11659: checking whether -lc should be explicitly linked in
    configure:11667: gcc -c -g -O2 -Wall -fvisibility=hidden -I/usr/include/sphinxbase -I/usr/local/include/sphinxbase conftest.c >&5
    conftest.c:1: warning: visibility attribute not supported in this configuration; ignored
    configure:11670: $? = 0
    configure:11685: gcc -shared conftest.o  -v -o ./conftest -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker conftest 2\>\&1 \| /usr/bin/grep  -lc  \>/dev/null 2\>\&1
    configure:11688: $? = 1
    configure:11702: result: yes
    configure:11867: checking dynamic linker characteristics
    configure:12603: result: Win32 ld.exe
    configure:12710: checking how to hardcode library paths into programs
    configure:12735: result: immediate
    configure:13275: checking whether stripping libraries is possible
    configure:13280: result: yes
    configure:13315: checking if libtool supports shared libraries
    configure:13317: result: yes
    configure:13320: checking whether to build shared libraries
    configure:13341: result: yes
    configure:13344: checking whether to build static libraries
    configure:13348: result: yes
    configure:13561: creating ./config.status
    
    ## ---------------------- ##
    ## Running config.status. ##
    ## ---------------------- ##
    
    This file was extended by config.status, which was
    generated by GNU Autoconf 2.68.  Invocation command line was
    
      CONFIG_FILES    = 
      CONFIG_HEADERS  = 
      CONFIG_LINKS    = 
      CONFIG_COMMANDS = 
      $ ./config.status
    
    on Yuni-PC
    
    config.status:1128: creating sphinx3.pc
    config.status:1128: creating Makefile
    config.status:1128: creating src/Makefile
    config.status:1128: creating src/libs3decoder/Makefile
    config.status:1128: creating src/libs3decoder/libAPI/Makefile
    config.status:1128: creating src/libs3decoder/libam/Makefile
    config.status:1128: creating src/libs3decoder/libconfidence/Makefile
    config.status:1128: creating src/libs3decoder/libcommon/Makefile
    config.status:1128: creating src/libs3decoder/libdict/Makefile
    config.status:1128: creating src/libs3decoder/libep/Makefile
    config.status:1128: creating src/libs3decoder/liblm/Makefile
    config.status:1128: creating src/libs3decoder/libsearch/Makefile
    
     
  • Nickolay V. Shmyrev

    Hello

    This file seems to be truncated. If you need to share multiple files it's
    recommended to pack them into archive and share on the public file sharing
    resource. Don't forget to put a link here.

    Please provide full config log AND build log AND versions of the
    packages (sphinxbase and sphinx3) you are trying to build.

     
  • krish

    krish - 2012-02-15

    How to post query in this forums..Pleasae help me

     
  • Nickolay V. Shmyrev

    How to post query in this forums..Pleasae help

    The form to add the new topic is in the bottom of the page. It's named "Add a
    Topic"

    https://sourceforge.net/projects/cmusphinx/forums/forum/5471

     

Log in to post a comment.