OpenWrt Forum Archive

Topic: Problem compiling curl on attitude_adjustment SDK

The content of this topic has been archived on 20 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,

i want to compile curl with the SDK which i created with the attitude_adjustment Buildroot.

First i go to the SDK folder and get the source:

svn export svn://svn.openwrt.org/openwrt/packages/utils/nano package/nano

Then i  use:

make package/curl/{clean,compile} V=99

But i get a error with something like:

checking whether the C compiler works... no
configure: error: in `/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-mips_r2_uClibc-0.9.33.2/curl-7.29.0':
configure: error: C compiler cannot create executables
See `config.log' for more details

And here is my 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 curl configure -, which was
generated by GNU Autoconf 2.68.  Invocation command line was

  $ ./configure --target=mips-openwrt-linux --host=mips-openwrt-linux --build=x86_64-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --enable-shared --enable-static --disable-thread --enable-cookies --enable-crypto-auth --enable-nonblocking --enable-file --enable-ftp --enable-http --disable-ares --disable-debug --disable-dict --disable-gopher --disable-ldap --disable-manual --disable-sspi --disable-telnet --enable-tftp --disable-verbose --with-random=/dev/urandom --with-ssl=/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr --without-ca-bundle --without-gnutls --without-krb4 --without-libidn --without-nss --without-libssh2 --with-zlib=/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr --enable-ipv6

## --------- ##
## Platform. ##
## --------- ##

hostname = michi-N56VZ
uname -m = x86_64
uname -r = 3.5.0-17-generic
uname -s = Linux
uname -v = #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012

/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/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/host/bin
PATH: /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin
PATH: /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin
PATH: /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin
PATH: /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/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


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2843: loading site script /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/include/site/mips-openwrt-linux-uclibc
| #!/bin/sh
| 
| . $TOPDIR/include/site/mips-linux
| . $TOPDIR/include/site/linux-uclibc
| 
configure:2954: checking whether to enable maintainer-specific portions of Makefiles
configure:2963: result: no
configure:2978: checking whether to enable debug build options
configure:2997: result: no
configure:3001: checking whether to enable compiler optimizer
configure:3022: result: (assumed) yes
configure:3034: checking whether to enable strict compiler warnings
configure:3053: result: no
configure:3057: checking whether to enable compiler warnings as errors
configure:3076: result: no
configure:3080: checking whether to enable curl debug memory tracking
configure:3099: result: no
configure:3113: checking whether to enable hiding of library internal symbols
configure:3134: result: yes
configure:3145: checking whether to enable c-ares for DNS lookups
configure:3167: result: no
configure:3189: checking for path separator
configure:3191: result: :
configure:3217: checking for sed
configure:3236: found /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/sed
configure:3249: result: /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/sed
configure:3266: checking for grep
configure:3285: found /bin/grep
configure:3298: result: /bin/grep
configure:3314: checking for egrep
configure:3317: result: /bin/grep -E
configure:3699: checking for a BSD-compatible install
configure:3767: result: /usr/bin/install -c
configure:3786: checking for mips-openwrt-linux-gcc
configure:3813: result: mips-openwrt-linux-uclibc-gcc
configure:4082: checking for C compiler version
configure:4091: mips-openwrt-linux-uclibc-gcc --version >&5
mips-openwrt-linux-uclibc-gcc (Linaro GCC 4.6-2012.02) 4.6.3 20120201 (prerelease)
Copyright (C) 2011 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:4102: $? = 0
configure:4091: mips-openwrt-linux-uclibc-gcc -v >&5
Reading specs from /home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.6.3/specs
COLLECT_GCC=mips-openwrt-linux-uclibc-gcc
COLLECT_LTO_WRAPPER=/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/../libexec/gcc/mips-openwrt-linux-uclibc/4.6.3/lto-wrapper
Target: mips-openwrt-linux-uclibc
Configured with: /home/michi/WRT/attitude_adjustment/build_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/gcc-linaro-4.6-2012.02/configure --prefix=/home/michi/WRT/attitude_adjustment/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2 --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=mips-openwrt-linux-uclibc --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-nls --with-host-libstdcxx=-lstdc++ --with-float=soft --with-gmp=/home/michi/WRT/attitude_adjustment/staging_dir/host --with-mpfr=/home/michi/WRT/attitude_adjustment/staging_dir/host --disable-decimal-float --with-mips-plt --with-mpc=/home/michi/WRT/attitude_adjustment/staging_dir/host --disable-libssp --disable-__cxa_atexit --with-headers=/home/michi/WRT/attitude_adjustment/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/home/michi/WRT/attitude_adjustment/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib --enable-lto --with-libelf=/home/michi/WRT/attitude_adjustment/staging_dir/host --disable-tls
Thread model: posix
gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) 
configure:4102: $? = 0
configure:4091: mips-openwrt-linux-uclibc-gcc -V >&5
mips-openwrt-linux-uclibc-gcc: error: unrecognized option '-V'
mips-openwrt-linux-uclibc-gcc: fatal error: no input files
compilation terminated.
configure:4102: $? = 1
configure:4091: mips-openwrt-linux-uclibc-gcc -qversion >&5
mips-openwrt-linux-uclibc-gcc: error: unrecognized option '-qversion'
mips-openwrt-linux-uclibc-gcc: fatal error: no input files
compilation terminated.
configure:4102: $? = 1
configure:4121: checking whether the C compiler works
configure:4143: mips-openwrt-linux-uclibc-gcc -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic  -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include  -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib  conftest.c -lcrypto -lssl -lz >&5
/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/bin/ld: cannot find -lcrypto
/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/../lib/gcc/mips-openwrt-linux-uclibc/4.6.3/../../../../mips-openwrt-linux-uclibc/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
configure:4147: $? = 1
configure:4185: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| /* end confdefs.h.  */
| 
| int main (void)
| {
| 
|  ;
|  return 0;
| }
configure:4190: error: in `/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/build_dir/target-mips_r2_uClibc-0.9.33.2/curl-7.29.0':
configure:4192: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_c_bigendian=yes
ac_cv_c_gettext_without_libintl=yes
ac_cv_c_littleendian=no
ac_cv_c_long_double=no
ac_cv_conv_longlong_to_float=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=mips-openwrt-linux-uclibc-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include '
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib '
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value='-lcrypto -lssl -lz'
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=mips-openwrt-linux
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=mips-openwrt-linux
ac_cv_file__dev_zero=yes
ac_cv_func___adjtimex=yes
ac_cv_func___va_copy=no
ac_cv_func__exit=yes
ac_cv_func_bcmp=yes
ac_cv_func_bcopy=yes
ac_cv_func_bzero=yes
ac_cv_func_cimag=yes
ac_cv_func_creal=yes
ac_cv_func_fchmod=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getcwd=yes
ac_cv_func_getdomainname=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_index=yes
ac_cv_func_lstat=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_lstat_empty_string_bug=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_malloc_works=yes
ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_psignal=yes
ac_cv_func_pthread_key_delete=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_realloc_works=yes
ac_cv_func_rename=yes
ac_cv_func_rindex=yes
ac_cv_func_setgrent_void=yes
ac_cv_func_setlocale=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setresuid=no
ac_cv_func_setvbuf_reversed=no
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_stat_ignores_trailing_slash=no
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_utimes=yes
ac_cv_func_va_copy=no
ac_cv_func_vsnprintf=yes
ac_cv_have_accrights_in_msghdr=no
ac_cv_have_broken_snprintf=no
ac_cv_have_control_in_msghdr=yes
ac_cv_have_decl_sys_siglist=no
ac_cv_have_openpty_ctty_bug=yes
ac_cv_have_space_d_name_in_struct_dirent=yes
ac_cv_header_netinet_sctp_h=no
ac_cv_header_netinet_sctp_uio_h=no
ac_cv_int64_t=yes
ac_cv_lbl_unaligned_fail=no
ac_cv_linux_kernel_pppoe=yes
ac_cv_linux_vers=2
ac_cv_pack_bitfields_reversed=yes
ac_cv_path_GREP=/bin/grep
ac_cv_path_LDCONFIG=
ac_cv_path_SED=/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CC=mips-openwrt-linux-uclibc-gcc
ac_cv_regexec_segfault_emptystr=no
ac_cv_sctp=no
ac_cv_sizeof___int64=0
ac_cv_sizeof_char=1
ac_cv_sizeof_int16_t=2
ac_cv_sizeof_int32_t=4
ac_cv_sizeof_int64_t=8
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_int=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short=2
ac_cv_sizeof_short_int=2
ac_cv_sizeof_size_t=4
ac_cv_sizeof_ssize_t=4
ac_cv_sizeof_u_int16_t=2
ac_cv_sizeof_u_int32_t=4
ac_cv_sizeof_u_int64_t=8
ac_cv_sizeof_uint16_t=2
ac_cv_sizeof_uint32_t=4
ac_cv_sizeof_uint64_t=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=4
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=4
ac_cv_sys_restartable_syscalls=yes
ac_cv_time_r_type=POSIX
ac_cv_type_suseconds_t=yes
ac_cv_uchar=no
ac_cv_uint64_t=yes
ac_cv_uint=yes
ac_cv_ulong=yes
ac_cv_ushort=yes
ac_cv_va_copy=C99
ac_cv_va_val_copy=yes
as_cv_unaligned_access=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR=''
AR='mips-openwrt-linux-uclibc-ar'
AS='mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic'
AUTOCONF=''
AUTOHEADER=''
AUTOMAKE=''
AWK=''
BLANK_AT_MAKETIME=''
BUILD_LIBHOSTNAME_FALSE=''
BUILD_LIBHOSTNAME_TRUE=''
BUILD_UNITTESTS_FALSE=''
BUILD_UNITTESTS_TRUE=''
CC='mips-openwrt-linux-uclibc-gcc'
CCDEPMODE=''
CFLAGS='-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic '
CFLAG_CURL_SYMBOL_HIDING=''
CONFIGURE_OPTIONS='" '\''--target=mips-openwrt-linux'\'' '\''--host=mips-openwrt-linux'\'' '\''--build=x86_64-linux-gnu'\'' '\''--program-prefix='\'' '\''--program-suffix='\'' '\''--prefix=/usr'\'' '\''--exec-prefix=/usr'\'' '\''--bindir=/usr/bin'\'' '\''--sbindir=/usr/sbin'\'' '\''--libexecdir=/usr/lib'\'' '\''--sysconfdir=/etc'\'' '\''--datadir=/usr/share'\'' '\''--localstatedir=/var'\'' '\''--mandir=/usr/man'\'' '\''--infodir=/usr/info'\'' '\''--disable-nls'\'' '\''--enable-shared'\'' '\''--enable-static'\'' '\''--disable-thread'\'' '\''--enable-cookies'\'' '\''--enable-crypto-auth'\'' '\''--enable-nonblocking'\'' '\''--enable-file'\'' '\''--enable-ftp'\'' '\''--enable-http'\'' '\''--disable-ares'\'' '\''--disable-debug'\'' '\''--disable-dict'\'' '\''--disable-gopher'\'' '\''--disable-ldap'\'' '\''--disable-manual'\'' '\''--disable-sspi'\'' '\''--disable-telnet'\'' '\''--enable-tftp'\'' '\''--disable-verbose'\'' '\''--with-random=/dev/urandom'\'' '\''--with-ssl=/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr'\'' '\''--without-ca-bundle'\'' '\''--without-gnutls'\'' '\''--without-krb4'\'' '\''--without-libidn'\'' '\''--without-nss'\'' '\''--without-libssh2'\'' '\''--with-zlib=/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr'\'' '\''--enable-ipv6'\'' '\''build_alias=x86_64-linux-gnu'\'' '\''host_alias=mips-openwrt-linux'\'' '\''target_alias=mips-openwrt-linux'\'' '\''CC=mips-openwrt-linux-uclibc-gcc'\'' '\''CFLAGS=-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -fpic '\'' '\''LDFLAGS=-L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib '\'' '\''LIBS=-lcrypto -lssl -lz'\'' '\''CPPFLAGS=-I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include '\''"'
CPP=''
CPPFLAGS='-I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include '
CPPFLAG_CURL_STATICLIB=''
CROSSCOMPILING_FALSE=''
CROSSCOMPILING_TRUE=''
CURLDEBUG_FALSE=''
CURLDEBUG_TRUE=''
CURLVERSION='7.29.0'
CURL_CA_BUNDLE=''
CURL_CFLAG_EXTRAS=''
CURL_DISABLE_DICT=''
CURL_DISABLE_FILE=''
CURL_DISABLE_FTP=''
CURL_DISABLE_GOPHER=''
CURL_DISABLE_HTTP=''
CURL_DISABLE_IMAP=''
CURL_DISABLE_LDAP=''
CURL_DISABLE_LDAPS=''
CURL_DISABLE_POP3=''
CURL_DISABLE_PROXY=''
CURL_DISABLE_RTSP=''
CURL_DISABLE_SMTP=''
CURL_DISABLE_TELNET=''
CURL_DISABLE_TFTP=''
CURL_NETWORK_AND_TIME_LIBS=''
CURL_NETWORK_LIBS=''
CYGPATH_W=''
DEFS=''
DEPDIR=''
DLLTOOL=''
DOING_CURL_SYMBOL_HIDING_FALSE=''
DOING_CURL_SYMBOL_HIDING_TRUE=''
DOING_NATIVE_WINDOWS_FALSE=''
DOING_NATIVE_WINDOWS_TRUE=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
ENABLE_SHARED=''
EXEEXT=''
FGREP=''
GREP='/bin/grep'
HAVE_GNUTLS_SRP=''
HAVE_LDAP_SSL=''
HAVE_LIBZ=''
HAVE_LIBZ_FALSE=''
HAVE_LIBZ_TRUE=''
HAVE_NSS_INITCONTEXT=''
HAVE_SSLEAY_SRP=''
IDN_ENABLED=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM=''
IPV6_ENABLED=''
KRB4_ENABLED=''
LD='mips-openwrt-linux-uclibc-ld'
LDFLAGS='-L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib -L/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib '
LIBCURL_LIBS=''
LIBMETALINK_CPPFLAGS=''
LIBMETALINK_LDFLAGS=''
LIBMETALINK_LIBS=''
LIBOBJS=''
LIBS='-lcrypto -lssl -lz'
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO=''
MANIFEST_TOOL=''
MANOPT=''
MIMPURE_FALSE=''
MIMPURE_TRUE=''
MKDIR_P=''
NM='mips-openwrt-linux-uclibc-nm'
NMEDIT=''
NO_UNDEFINED_FALSE=''
NO_UNDEFINED_TRUE=''
NROFF=''
OBJDUMP='mips-openwrt-linux-uclibc-objdump'
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE=''
PACKAGE_BUGREPORT='a suitable curl mailing list: http://curl.haxx.se/mail/'
PACKAGE_NAME='curl'
PACKAGE_STRING='curl -'
PACKAGE_TARNAME='curl'
PACKAGE_URL=''
PACKAGE_VERSION='-'
PATH_SEPARATOR=':'
PERL=''
PKGADD_NAME=''
PKGADD_PKG=''
PKGADD_VENDOR=''
PKGCONFIG=''
RANDOM_FILE=''
RANLIB='mips-openwrt-linux-uclibc-ranlib'
REQUIRE_LIB_DEPS=''
SED='/home/michi/WRT/OpenWrt-SDK-ar71xx-for-linux-x86_64-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/sed'
SET_MAKE=''
SHELL='/bin/bash'
SONAME_BUMP_FALSE=''
SONAME_BUMP_TRUE=''
SSL_ENABLED=''
STRIP='mips-openwrt-linux-uclibc-strip'
SUPPORT_FEATURES=''
SUPPORT_PROTOCOLS=''
USE_ARES=''
USE_AXTLS=''
USE_CPPFLAG_BUILDING_LIBCURL_FALSE=''
USE_CPPFLAG_BUILDING_LIBCURL_TRUE=''
USE_CPPFLAG_CURL_STATICLIB_FALSE=''
USE_CPPFLAG_CURL_STATICLIB_TRUE=''
USE_CYASSL=''
USE_DARWINSSL=''
USE_EMBEDDED_ARES_FALSE=''
USE_EMBEDDED_ARES_TRUE=''
USE_EXPLICIT_LIB_DEPS_FALSE=''
USE_EXPLICIT_LIB_DEPS_TRUE=''
USE_GNUTLS=''
USE_GNUTLS_NETTLE=''
USE_LIBRTMP=''
USE_LIBSSH2=''
USE_MANUAL_FALSE=''
USE_MANUAL_TRUE=''
USE_NSS=''
USE_OPENLDAP=''
USE_POLARSSL=''
USE_SCHANNEL=''
USE_SSLEAY=''
USE_WINDOWS_SSPI=''
VERSION=''
VERSIONED_FLAVOUR=''
VERSIONED_SYMBOLS_FALSE=''
VERSIONED_SYMBOLS_TRUE=''
VERSIONNUM=''
ZLIB_LIBS=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot=''
am__nodep=''
am__quote=''
am__tar=''
am__untar=''
bindir='/usr/bin'
build='x86_64-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host='mips-openwrt-linux'
host_alias='mips-openwrt-linux'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/info'
install_sh=''
libdir='${exec_prefix}/lib'
libexecdir='/usr/lib'
libext=''
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/man'
mkdir_p=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='/etc'
target_alias='mips-openwrt-linux'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "curl"
#define PACKAGE_TARNAME "curl"
#define PACKAGE_VERSION "-"
#define PACKAGE_STRING "curl -"
#define PACKAGE_BUGREPORT "a suitable curl mailing list: http://curl.haxx.se/mail/"
#define PACKAGE_URL ""

configure: exit 77

Previously i succesfully compiled the nano package without problems!

Can someone help me to solve this issue?

Regards
rubiktubik

I have the same issue. OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2.tar.bz2 running on Ubuntu 12.04.2 LTS, Precise Pangolin, and on Fedora 20.

The following helped me:

grep -r ound ./build_dir/linux-ar71xx_generic/lirc-0.8.7/config.log
configure:2852: found /usr/bin/gawk
/home/user/OpenWrt-SDK-ar71xx-for-linux-i486-gcc-4.6-linaro_uClibc-0.9.33.2/staging_dir/host/bin/ccache_cc: 2: exec: ccache: not found

Hence I had to install ccache. This is just an example.

(Last edited by probono on 28 Dec 2013, 22:59)

The discussion might have continued from here.