cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

[ curl-Bugs-993691 ] cross compile fails when checking for glibc strerror_r API

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 19 Jul 2004 03:03:42 -0700

Bugs item #993691, was opened at 2004-07-19 03:03
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=993691&group_id=976

Category: compile or build problem
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: cross compile fails when checking for glibc strerror_r API

Initial Comment:
hi,

when trying to cross compile libcurl for arm-linux the
configure script crashes as noted below. i tried
version 7.12.0

when googling for the error i came accross a change in
the configure script as of 24.03.2004 where a check for
the strerror_r function was added.
i then tried using version 7.1.11 which worked fine
with the same environment and configure parameters.

greets, peter
peter.hermsdorf_at_atg-gera.de

peter_at_atg81:~/zaurusdev/lh-handleser/curl-7.12.0>
CC=/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95
CXX=/usr/local/arm/2.95.3/bin/arm-linux-g++ ./configure
--host=arm-elf --without-random --disable-shared
--disable-largefile
configure: WARNING: If you wanted to set the --build
type, don't use --host.
    If a cross compiler is detected then cross compile
mode will be used.
checking whether to enable maintainer-specific portions
of Makefiles... no
checking for sed... /usr/bin/sed
checking for arm-elf-ar... no
checking for ar... ar
checking for a BSD-compatible install...
/usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-elf-strip... no
checking for strip... strip
checking curl version... 7.12.0
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-elf
checking for style of include used by make... GNU
checking for arm-elf-gcc...
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 accepts
-g... yes
checking for
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 option to
accept ANSI C... none needed
checking dependency style of
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95... gcc
checking how to run the C preprocessor...
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 -E
checking for egrep... grep -E
checking for AIX... no
checking for arm-elf-gcc... (cached)
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95
checking whether we are using the GNU C compiler...
(cached) yes
checking whether
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 accepts
-g... (cached) yes
checking for
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 option to
accept ANSI C... (cached) none needed
checking dependency style of
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95...
(cached) gcc
checking for a sed that does not truncate output...
/usr/bin/sed
checking for ld used by
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95...
/usr/local/arm/2.95.3/arm-linux/bin/ld
checking if the linker
(/usr/local/arm/2.95.3/arm-linux/bin/ld) is GNU ld... yes
checking for /usr/local/arm/2.95.3/arm-linux/bin/ld
option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... unknown
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for arm-elf-g++...
/usr/local/arm/2.95.3/bin/arm-linux-g++
checking whether we are using the GNU C++ compiler... yes
checking whether
/usr/local/arm/2.95.3/bin/arm-linux-g++ accepts -g... yes
checking dependency style of
/usr/local/arm/2.95.3/bin/arm-linux-g++... gcc
checking how to run the C++ preprocessor...
/usr/local/arm/2.95.3/bin/arm-linux-g++ -E
checking for arm-elf-g77... no
checking for arm-elf-f77... no
checking for arm-elf-xlf... no
checking for arm-elf-frt... no
checking for arm-elf-pgf77... no
checking for arm-elf-fort77... no
checking for arm-elf-fl32... no
checking for arm-elf-af77... no
checking for arm-elf-f90... no
checking for arm-elf-xlf90... no
checking for arm-elf-pgf90... no
checking for arm-elf-epcf90... no
checking for arm-elf-f95... no
checking for arm-elf-fort... no
checking for arm-elf-xlf95... no
checking for arm-elf-ifc... no
checking for arm-elf-efc... no
checking for arm-elf-pgf95... no
checking for arm-elf-lf95... no
checking for arm-elf-gfortran... no
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77
compiler... no
checking whether accepts -g... no
checking the maximum length of command line
arguments... 32768
checking command to parse nm output from
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 object... ok
checking for objdir... .libs
checking for arm-elf-ar... ar
checking for arm-elf-ranlib... no
checking for ranlib... ranlib
checking for arm-elf-strip... strip
checking if
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 static
flag works... yes
checking if
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 supports
-fno-rtti -fno-exceptions... yes
checking for
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 option to
produce PIC... -fPIC
checking if
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 PIC flag
-fPIC works... yes
checking if
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 supports
-c -o file.o... yes
checking whether the
/usr/local/arm/2.95.3/bin/arm-linux-gcc-2.95 linker
(/usr/local/arm/2.95.3/arm-linux/bin/ld) supports
shared libraries... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by
/usr/local/arm/2.95.3/bin/arm-linux-g++...
/usr/local/arm/2.95.3/arm-linux/bin/ld
checking if the linker
(/usr/local/arm/2.95.3/arm-linux/bin/ld) is GNU ld... yes
checking whether the
/usr/local/arm/2.95.3/bin/arm-linux-g++ linker
(/usr/local/arm/2.95.3/arm-linux/bin/ld) supports
shared libraries... no
checking for /usr/local/arm/2.95.3/bin/arm-linux-g++
option to produce PIC... -fPIC
checking if /usr/local/arm/2.95.3/bin/arm-linux-g++ PIC
flag -fPIC works... yes
checking if /usr/local/arm/2.95.3/bin/arm-linux-g++
supports -c -o file.o... yes
checking whether the
/usr/local/arm/2.95.3/bin/arm-linux-g++ linker
(/usr/local/arm/2.95.3/arm-linux/bin/ld) supports
shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs...
immediate
checking whether stripping libraries is possible... yes
appending configuration tag "F77" to libtool
checking if we need -no-undefined... no
checking if we need -mimpure-text... no
checking whether make sets $(MAKE)... (cached) yes
checking whether to support http... yes
checking whether to support ftp... yes
checking whether to support gopher... yes
checking whether to support file... yes
checking whether to support ldap... yes
checking whether to support dict... yes
checking whether to support telnet... yes
checking whether to provide built-in manual... yes
checking for gethostbyname... yes
checking for strcasecmp... yes
checking for connect... yes
checking for dlclose... no
checking for dlopen in -ldl... yes
checking whether to use libgcc... no
checking for timeGetTime in winmm... no
checking whether to enable ipv6... no
checking non-blocking sockets style... O_NONBLOCK
checking if argv can be written to... no
configure: WARNING: the previous check could not be
made default was used
checking if Kerberos4 support is requested... no
checking if SPNEGO support is requested... no
checking if GSSAPI support is requested... no
checking for pkg-config... /usr/bin/pkg-config
checking OpenSSL options with pkg-config... no
checking for CRYPTO_lock in -lcrypto... no
checking for CRYPTO_add_lock in -lcrypto... no
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking whether to build with libidn... yes
checking for idna_to_ascii_lz in -lidn... no
checking for idna_to_ascii_4i in -lidn... no
checking AIX 4.3 or later... no
checking for gethostbyname_r... yes
checking if gethostbyname_r takes 3 arguments... no
checking if gethostbyname_r with -D_REENTRANT takes 3
arguments... no
checking if gethostbyname_r takes 5 arguments... no
checking if gethostbyname_r takes 6 arguments... yes
checking for gethostbyaddr_r... yes
checking if gethostbyaddr_r takes 5 arguments... no
checking if gethostbyaddr_r with -D_REENTRANT takes 5
arguments... no
checking if gethostbyaddr_r takes 7 arguments... no
checking if gethostbyaddr_r takes 8 arguments... yes
checking for inet_ntoa_r... no
checking for localtime_r... yes
checking whether localtime_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r is declared... yes
checking whether strerror_r is declared... yes
checking for a glibc strerror_r API... configure:
error: cannot run test program while cross compiling
See `config.log' for more details.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=993691&group_id=976
Received on 2004-07-19

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET