Giter Site home page Giter Site logo

Fails to build under mingw about liblouis HOT 1 CLOSED

liblouis avatar liblouis commented on May 18, 2024
Fails to build under mingw

from liblouis.

Comments (1)

egli avatar egli commented on May 18, 2024

configure doesn't seem to find strndup

-*- mode: compilation; default-directory: "~/src/liblouis/" -*-
Compilation started at Tue Jun  2 11:28:21

./configure --build i686-pc-linux-gnu --host i586-mingw32msvc --prefix=/tmp/liblouis-mingw32msvc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i586-mingw32msvc-strip... i586-mingw32msvc-strip
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 for i586-mingw32msvc-gcc... i586-mingw32msvc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i586-mingw32msvc-gcc accepts -g... yes
checking for i586-mingw32msvc-gcc option to accept ISO C89... none needed
checking whether i586-mingw32msvc-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of i586-mingw32msvc-gcc... gcc3
checking how to run the C preprocessor... i586-mingw32msvc-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 i586-mingw32msvc-ar... i586-mingw32msvc-ar
checking for i586-mingw32msvc-ranlib... i586-mingw32msvc-ranlib
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for i586-mingw32msvc-gcc option to accept ISO C99... -std=gnu99
checking for i586-mingw32msvc-gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking build system type... i686-pc-linux-gnu
checking host system type... i586-pc-mingw32msvc
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking for getopt.h... yes
checking for unistd.h... (cached) yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... guessing no
checking whether getenv is declared... yes
checking whether malloc, realloc, calloc are POSIX compliant... no
checking for wchar_t... yes
checking for strdup... yes
checking for strndup... no
checking whether strdup is declared... yes
checking for C/C++ restrict keyword... no
checking whether ffsl is declared without a macro... no
checking whether ffsll is declared without a macro... no
checking whether memmem is declared without a macro... no
checking whether mempcpy is declared without a macro... no
checking whether memrchr is declared without a macro... no
checking whether rawmemchr is declared without a macro... no
checking whether stpcpy is declared without a macro... no
checking whether stpncpy is declared without a macro... no
checking whether strchrnul is declared without a macro... no
checking whether strdup is declared without a macro... yes
checking whether strncat is declared without a macro... yes
checking whether strndup is declared without a macro... no
checking whether strnlen is declared without a macro... no
checking whether strpbrk is declared without a macro... yes
checking whether strsep is declared without a macro... no
checking whether strcasestr is declared without a macro... no
checking whether strtok_r is declared without a macro... no
checking whether strerror_r is declared without a macro... no
checking whether strsignal is declared without a macro... no
checking whether strverscmp is declared without a macro... no
checking whether strndup is declared... no
checking whether strnlen is declared... no
checking for pid_t... yes
checking for mode_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether program_invocation_name is declared... no
checking whether program_invocation_short_name is declared... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for ssize_t... yes
checking for va_copy... yes
checking for max_align_t... no
checking whether NULL can be used in arbitrary expressions... yes
checking whether _Exit is declared without a macro... yes
checking whether atoll is declared without a macro... yes
checking whether canonicalize_file_name is declared without a macro... no
checking whether getloadavg is declared without a macro... no
checking whether getsubopt is declared without a macro... no
checking whether grantpt is declared without a macro... no
checking whether initstate is declared without a macro... no
checking whether initstate_r is declared without a macro... no
checking whether mkdtemp is declared without a macro... no
checking whether mkostemp is declared without a macro... no
checking whether mkostemps is declared without a macro... no
checking whether mkstemp is declared without a macro... no
checking whether mkstemps is declared without a macro... no
checking whether posix_openpt is declared without a macro... no
checking whether ptsname is declared without a macro... no
checking whether ptsname_r is declared without a macro... no
checking whether random is declared without a macro... no
checking whether random_r is declared without a macro... no
checking whether realpath is declared without a macro... no
checking whether rpmatch is declared without a macro... no
checking whether secure_getenv is declared without a macro... no
checking whether setenv is declared without a macro... no
checking whether setstate is declared without a macro... no
checking whether setstate_r is declared without a macro... no
checking whether srandom is declared without a macro... no
checking whether srandom_r is declared without a macro... no
checking whether strtod is declared without a macro... yes
checking whether strtoll is declared without a macro... yes
checking whether strtoull is declared without a macro... yes
checking whether unlockpt is declared without a macro... no
checking whether unsetenv is declared without a macro... no
checking whether chdir is declared without a macro... yes
checking whether chown is declared without a macro... no
checking whether dup is declared without a macro... yes
checking whether dup2 is declared without a macro... yes
checking whether dup3 is declared without a macro... no
checking whether environ is declared without a macro... no
checking whether euidaccess is declared without a macro... no
checking whether faccessat is declared without a macro... no
checking whether fchdir is declared without a macro... no
checking whether fchownat is declared without a macro... no
checking whether fdatasync is declared without a macro... no
checking whether fsync is declared without a macro... no
checking whether ftruncate is declared without a macro... yes
checking whether getcwd is declared without a macro... yes
checking whether getdomainname is declared without a macro... no
checking whether getdtablesize is declared without a macro... no
checking whether getgroups is declared without a macro... no
checking whether gethostname is declared without a macro... no
checking whether getlogin is declared without a macro... no
checking whether getlogin_r is declared without a macro... no
checking whether getpagesize is declared without a macro... no
checking whether getusershell is declared without a macro... no
checking whether setusershell is declared without a macro... no
checking whether endusershell is declared without a macro... no
checking whether group_member is declared without a macro... no
checking whether isatty is declared without a macro... yes
checking whether lchown is declared without a macro... no
checking whether link is declared without a macro... no
checking whether linkat is declared without a macro... no
checking whether lseek is declared without a macro... yes
checking whether pipe is declared without a macro... no
checking whether pipe2 is declared without a macro... no
checking whether pread is declared without a macro... no
checking whether pwrite is declared without a macro... no
checking whether readlink is declared without a macro... no
checking whether readlinkat is declared without a macro... no
checking whether rmdir is declared without a macro... yes
checking whether sethostname is declared without a macro... no
checking whether sleep is declared without a macro... no
checking whether symlink is declared without a macro... no
checking whether symlinkat is declared without a macro... no
checking whether ttyname_r is declared without a macro... no
checking whether unlink is declared without a macro... yes
checking whether unlinkat is declared without a macro... no
checking whether usleep is declared without a macro... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... (cached) yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for working memcmp... no
checking for vprintf... yes
checking for _doprnt... no
checking for memset... yes
checking for library containing strerror... none required
checking for ANSI C header files... (cached) yes
checking for i586-mingw32msvc-as... i586-mingw32msvc-as
checking for i586-mingw32msvc-dlltool... i586-mingw32msvc-dlltool
checking for i586-mingw32msvc-objdump... i586-mingw32msvc-objdump
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 i586-mingw32msvc-gcc -std=gnu99... /usr/i586-mingw32msvc/bin/ld
checking if the linker (/usr/i586-mingw32msvc/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i586-mingw32msvc-nm -B
checking the name lister (/usr/bin/i586-mingw32msvc-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1635000
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to i586-pc-mingw32msvc format... func_convert_file_nix_to_w32
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/i586-mingw32msvc/bin/ld option to reload object files... -r
checking for i586-mingw32msvc-objdump... (cached) i586-mingw32msvc-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i586-mingw32msvc-dlltool... (cached) i586-mingw32msvc-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for i586-mingw32msvc-ar... (cached) i586-mingw32msvc-ar
checking for archiver @FILE support... @
checking for i586-mingw32msvc-strip... (cached) i586-mingw32msvc-strip
checking for i586-mingw32msvc-ranlib... (cached) i586-mingw32msvc-ranlib
checking command to parse /usr/bin/i586-mingw32msvc-nm -B output from i586-mingw32msvc-gcc -std=gnu99 object... ok
checking for sysroot... no
checking for i586-mingw32msvc-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if i586-mingw32msvc-gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for i586-mingw32msvc-gcc -std=gnu99 option to produce PIC... -DDLL_EXPORT -DPIC
checking if i586-mingw32msvc-gcc -std=gnu99 PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i586-mingw32msvc-gcc -std=gnu99 static flag -static works... yes
checking if i586-mingw32msvc-gcc -std=gnu99 supports -c -o file.o... yes
checking if i586-mingw32msvc-gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the i586-mingw32msvc-gcc -std=gnu99 linker (/usr/i586-mingw32msvc/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
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
configure: WARNING: cannot generate manual pages while cross compiling
checking for a sed that does not truncate output... (cached) /bin/sed
checking for makeinfo... yes
checking for makeinfo version >= 5... yes
checking for a Python interpreter with version >= 2.6... python
checking for python... /usr/bin/python
checking for python version... 2.7
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.7/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for pkg-config... /usr/bin/pkg-config
checking whether 4 byte-wide characters should be supported... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating liblouis/Makefile
config.status: creating liblouis/liblouis.h
config.status: creating windows/Makefile
config.status: creating windows/include/Makefile
config.status: creating tables/Makefile
config.status: creating liblouis.pc
config.status: creating tests/Makefile
config.status: creating tests/resolve_table.h
config.status: creating tests/tables/Makefile
config.status: creating tests/tables/moreTables/Makefile
config.status: creating tests/tables/resolve_table/Makefile
config.status: creating tests/tables/resolve_table/dir_1/Makefile
config.status: creating tests/tables/resolve_table/dir_1/dir_1.1/Makefile
config.status: creating tests/tables/resolve_table/dir_2/Makefile
config.status: creating tests/tablesWithMetadata/Makefile
config.status: creating tests/doctests/Makefile
config.status: creating tests/harness/Makefile
config.status: creating tests/harnessSources/Makefile
config.status: creating python/Makefile
config.status: creating python/louis/Makefile
config.status: creating tools/Makefile
config.status: creating gnulib/Makefile
config.status: creating m4/Makefile
config.status: creating liblouis/config.h
config.status: liblouis/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Compilation finished at Tue Jun  2 11:28:28

from liblouis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.