cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl-library Digest, Vol 14, Issue 55

From: Trinh Van Tai <trinhvantai_at_gmail.com>
Date: Fri, 3 Nov 2006 09:12:02 +0700

Thank for Repply!!
I tried as you say, But It have error:

        [matai_at_dhcp-100a-003 curl-7.15.5]$ ./configure --host=m68k-elf
        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... /bin/sed
        checking for m68k-elf-ar... m68k-elf-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 m68k-elf-strip... m68k-elf-strip
        checking curl version... 7.15.5
        checking build system type... i686-pc-linux-gnu
        checking host system type... m68k-unknown-elf
        checking for style of include used by make... GNU
        checking for m68k-elf-gcc... m68k-elf-gcc
        checking for C compiler default output file name... configure:
        error: C compiler cannot create executables
        See `config.log' for more details.

And config.log file contain:

        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.59e. Invocation command line was

          $ ./configure --host=m68k-elf

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

        hostname = dhcp-100a-003.mobile.uci.edu
        uname -m = i686
        uname -r = 2.6.11-1.1369_FC4
        uname -s = Linux
        uname -v = #1 Thu Jun 2 22:55:56 EDT 2005

        /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/kerberos/bin
        PATH: /usr/local/bin
        PATH: /usr/bin
        PATH: /bin
        PATH: /usr/X11R6/bin
        PATH: /home/matai/bin

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

        configure:2046: checking whether to enable maintainer-specific
        portions of Makefiles
        configure:2055: result: no
        configure:2073: checking for sed
        configure:2092: found /bin/sed
        configure:2105: result: /bin/sed
        configure:2123: checking for m68k-elf-ar
        configure:2140: found /usr/local/bin/m68k-elf-ar
        configure:2151: result: m68k-elf-ar
        configure:2270: checking for a BSD-compatible install
        configure:2326: result: /usr/bin/install -c
        configure:2337: checking whether build environment is sane
        configure:2380: result: yes
        configure:2445: checking for gawk
        configure:2461: found /usr/bin/gawk
        configure:2472: result: gawk
        configure:2483: checking whether make sets $(MAKE)
        configure:2504: result: yes
        configure:2580: checking for m68k-elf-strip
        configure:2596: found /usr/local/bin/m68k-elf-strip
        configure:2607: result: m68k-elf-strip
        configure:2688: checking curl version
        configure:2690: result: 7.15.5
        configure:2722: checking build system type
        configure:2740: result: i686-pc-linux-gnu
        configure:2762: checking host system type
        configure:2777: result: m68k-unknown-elf
        configure:2817: checking for style of include used by make
        configure:2845: result: GNU
        configure:2878: checking for m68k-elf-gcc
        configure:2894: found /usr/local/bin/m68k-elf-gcc
        configure:2905: result: m68k-elf-gcc
        configure:3183: checking for C compiler version
        configure:3190: m68k-elf-gcc --version >&5
        2.95.3
        configure:3193: $? = 0
        configure:3200: m68k-elf-gcc -v >&5
        Reading specs from /usr/local/lib/gcc-lib/m68k-elf/2.95.3/specs
        gcc version 2.95.3 20010315 (release)(ColdFire patches -
        20010318 from http://fiddes.net/coldfire/)(uClinux XIP and
        shared lib patches from http://www.snapgear.com/)
        configure:3203: $? = 0
        configure:3210: m68k-elf-gcc -V >&5
        m68k-elf-gcc: argument to `-V' is missing
        configure:3213: $? = 1
        configure:3236: checking for C compiler default output file name
        configure:3263: m68k-elf-gcc conftest.c >&5
        /usr/local/m68k-elf/bin/ld.real: cannot open crt0.o: No such
        file or directory
        collect2: ld returned 1 exit status
        configure:3266: $? = 1
        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 "curl"
        | #define VERSION "7.15.5"
        | #define OS "m68k-unknown-elf"
        | /* end confdefs.h. */
        |
        | int
        | main ()
        | {
        |
        | ;
        | return 0;
        | }
        configure:3305: error: C compiler cannot create executables
        See `config.log' for more details.

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

        ac_cv_build=i686-pc-linux-gnu
        ac_cv_env_CCC_set=
        ac_cv_env_CCC_value=
        ac_cv_env_CC_set=
        ac_cv_env_CC_value=
        ac_cv_env_CFLAGS_set=
        ac_cv_env_CFLAGS_value=
        ac_cv_env_CPPFLAGS_set=
        ac_cv_env_CPPFLAGS_value=
        ac_cv_env_CPP_set=
        ac_cv_env_CPP_value=
        ac_cv_env_CXXCPP_set=
        ac_cv_env_CXXCPP_value=
        ac_cv_env_CXXFLAGS_set=
        ac_cv_env_CXXFLAGS_value=
        ac_cv_env_CXX_set=
        ac_cv_env_CXX_value=
        ac_cv_env_F77_set=
        ac_cv_env_F77_value=
        ac_cv_env_FFLAGS_set=
        ac_cv_env_FFLAGS_value=
        ac_cv_env_LDFLAGS_set=
        ac_cv_env_LDFLAGS_value=
        ac_cv_env_build_alias_set=
        ac_cv_env_build_alias_value=
        ac_cv_env_host_alias_set=set
        ac_cv_env_host_alias_value=m68k-elf
        ac_cv_env_target_alias_set=
        ac_cv_env_target_alias_value=
        ac_cv_host=m68k-unknown-elf
        ac_cv_path_SED=/bin/sed
        ac_cv_path_install='/usr/bin/install -c'
        ac_cv_prog_AR=m68k-elf-ar
        ac_cv_prog_AWK=gawk
        ac_cv_prog_CC=m68k-elf-gcc
        ac_cv_prog_STRIP=m68k-elf-strip
        ac_cv_prog_make_make_set=yes

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

        ACLOCAL='${SHELL} "/home/matai/curl-7.15.5/missing" --run
        aclocal-1.9'
        AMDEPBACKSLASH='\'
        AMDEP_FALSE='#'
        AMDEP_TRUE=''
        AMTAR='${SHELL} "/home/matai/curl-7.15.5/missing" --run tar'
        AR='m68k-elf-ar'
        AS=''
        AUTOCONF='${SHELL} "/home/matai/curl-7.15.5/missing" --run
        autoconf'
        AUTOHEADER='${SHELL} "/home/matai/curl-7.15.5/missing" --run
        autoheader'
        AUTOMAKE='${SHELL} "/home/matai/curl-7.15.5/missing" --run
        automake-1.9'
        AWK='gawk'
        CABUNDLE_FALSE=''
        CABUNDLE_TRUE=''
        CC='m68k-elf-gcc'
        CCDEPMODE=''
        CFLAGS=''
        CPP=''
        CPPFLAGS=''
        CROSSCOMPILING_FALSE=''
        CROSSCOMPILING_TRUE=''
        CURL_CA_BUNDLE=''
        CURL_DISABLE_COOKIES=''
        CURL_DISABLE_CRYPTO_AUTH=''
        CURL_DISABLE_DICT=''
        CURL_DISABLE_FILE=''
        CURL_DISABLE_FTP=''
        CURL_DISABLE_HTTP=''
        CURL_DISABLE_LDAP=''
        CURL_DISABLE_TELNET=''
        CURL_DISABLE_TFTP=''
        CURL_DISABLE_VERBOSE_STRINGS=''
        CURL_EXTERN_SYMBOL=''
        CURL_HIDDEN_SYMBOLS=''
        CXX=''
        CXXCPP=''
        CXXDEPMODE=''
        CXXFLAGS=''
        CYGPATH_W='echo'
        DEFS=''
        DEPDIR='.deps'
        DLLTOOL=''
        ECHO='echo'
        ECHO_C=''
        ECHO_N='-n'
        ECHO_T=''
        EGREP=''
        EXEEXT=''
        F77=''
        FFLAGS=''
        GREP=''
        HAVE_ARES=''
        HAVE_LIBZ=''
        HAVE_LIBZ_FALSE=''
        HAVE_LIBZ_TRUE=''
        IDN_ENABLED=''
        INSTALL_DATA='${INSTALL} -m 644'
        INSTALL_PROGRAM='${INSTALL}'
        INSTALL_SCRIPT='${INSTALL}'
        INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
        IPV6_ENABLED=''
        KRB4_ENABLED=''
        LDFLAGS=''
        LIBOBJS=''
        LIBS=''
        LIBTOOL=''
        LN_S=''
        LTLIBOBJS=''
        MAINT='#'
        MAINTAINER_MODE_FALSE=''
        MAINTAINER_MODE_TRUE='#'
        MAKEINFO='${SHELL} "/home/matai/curl-7.15.5/missing" --run
        makeinfo'
        MANOPT=''
        MIMPURE_FALSE=''
        MIMPURE_TRUE=''
        NO_UNDEFINED_FALSE=''
        NO_UNDEFINED_TRUE=''
        NROFF=''
        OBJDUMP=''
        OBJEXT=''
        PACKAGE='curl'
        PACKAGE_BUGREPORT='a suitable curl mailing list =>
        http://curl.haxx.se/mail/'
        PACKAGE_NAME='curl'
        PACKAGE_STRING='curl -'
        PACKAGE_TARNAME='curl'
        PACKAGE_VERSION='-'
        PATH_SEPARATOR=':'
        PERL=''
        PKGADD_NAME='cURL - a client that groks URLs'
        PKGADD_PKG='HAXXcurl'
        PKGADD_VENDOR='curl.haxx.se'
        PKGCONFIG=''
        RANDOM_FILE=''
        RANLIB=''
        SED='/bin/sed'
        SET_MAKE=''
        SHELL='/bin/sh'
        STRIP='m68k-elf-strip'
        USE_GNUTLS=''
        USE_MANUAL_FALSE=''
        USE_MANUAL_TRUE=''
        USE_SSLEAY=''
        USE_WINDOWS_SSPI=''
        VERSION='7.15.5'
        VERSIONNUM='070f05'
        ac_ct_CC=''
        ac_ct_CXX=''
        ac_ct_F77=''
        am__fastdepCC_FALSE=''
        am__fastdepCC_TRUE=''
        am__fastdepCXX_FALSE=''
        am__fastdepCXX_TRUE=''
        am__include='include'
        am__leading_dot='.'
        am__quote=''
        am__tar='${AMTAR} chof - "$$tardir"'
        am__untar='${AMTAR} xf -'
        bindir='${exec_prefix}/bin'
        build='i686-pc-linux-gnu'
        build_alias=''
        build_cpu='i686'
        build_os='linux-gnu'
        build_vendor='pc'
        datadir='${datarootdir}'
        datarootdir='${prefix}/share'
        docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
        dvidir='${docdir}'
        exec_prefix='NONE'
        host='m68k-unknown-elf'
        host_alias='m68k-elf'
        host_cpu='m68k'
        host_os='elf'
        host_vendor='unknown'
        htmldir='${docdir}'
        includedir='${prefix}/include'
        infodir='${datarootdir}/info'
        install_sh='/home/matai/curl-7.15.5/install-sh'
        libdir='${exec_prefix}/lib'
        libexecdir='${exec_prefix}/libexec'
        localedir='${datarootdir}/locale'
        localstatedir='${prefix}/var'
        mandir='${datarootdir}/man'
        mkdir_p='mkdir -p --'
        oldincludedir='/usr/include'
        pdfdir='${docdir}'
        prefix='NONE'
        program_transform_name='s,x,x,'
        psdir='${docdir}'
        sbindir='${exec_prefix}/sbin'
        sharedstatedir='${prefix}/com'
        subdirs=''
        sysconfdir='${prefix}/etc'
        target_alias=''

        ## ----------- ##
        ## 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 "curl"
        #define VERSION "7.15.5"
        #define OS "m68k-unknown-elf"

        configure: exit 77

On 10/27/06, curl-library-request_at_cool.haxx.se <
curl-library-request_at_cool.haxx.se> wrote:
>
> Send curl-library mailing list submissions to
> curl-library_at_cool.haxx.se
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
> or, via email, send a message with subject or body 'help' to
> curl-library-request_at_cool.haxx.se
>
> You can reach the person managing the list at
> curl-library-owner_at_cool.haxx.se
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of curl-library digest..."
>
>
> Today's Topics:
>
> 1. How to across-compile libcurl for my flatform (Tai)
> 2. Re: How to across-compile libcurl for my flatform (Dan Fandrich)
> 3. Re: libssh2 patch 10/26 (Daniel Stenberg)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 27 Oct 2006 09:40:28 +0700
> From: "Tai" <trinhvantai_at_gmail.com>
> Subject: How to across-compile libcurl for my flatform
> To: <curl-library_at_cool.haxx.se>
> Message-ID: <000c01c6f971$459e22d0$8564c880_at_TVTai>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I want compile libcurl on my platform (uClinux on Motorola
> ColdFire - compiler m68k-elf-gcc). I read INSTALL file
> (cross-compiling) but I dont sure what I have to set for
> host,build, target ... options.
> Pls help me to do it.
>
> Thanks
>
> trinhvantai_at_gmail.com
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://cool.haxx.se/pipermail/curl-library/attachments/20061027/cbe254fe/attachment-0001.htm
>
> ------------------------------
>
> Message: 2
> Date: Thu, 26 Oct 2006 20:52:13 -0700
> From: Dan Fandrich <dan_at_coneharvesters.com>
> Subject: Re: How to across-compile libcurl for my flatform
> To: curl-library_at_cool.haxx.se
> Message-ID: <20061027035212.GA32764_at_coneharvesters.com>
> Content-Type: text/plain; charset=us-ascii
>
> On Fri, Oct 27, 2006 at 09:40:28AM +0700, Tai wrote:
> > I want compile libcurl on my platform (uClinux on Motorola
> ColdFire -
> > compiler m68k-elf-gcc). I read INSTALL file (cross-compiling) but I
> dont sure
> > what I have to set for host,build, target ... options.
>
> Have you tried ./configure --host=m68k-elf ?
>
> >>> Dan
> --
> http://www.MoveAnnouncer.com The web change of address
> service
> Let webmasters know that your web site has moved
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 27 Oct 2006 09:18:01 +0200 (CEST)
> From: Daniel Stenberg <daniel_at_haxx.se>
> Subject: Re: libssh2 patch 10/26
> To: libcurl development <curl-library_at_cool.haxx.se>
> Message-ID: <Pine.LNX.4.64.0610270909290.16275_at_yvahk3.pbagnpgbe.fr>
> Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
>
> On Thu, 26 Oct 2006, James Housley wrote:
>
> > My most recent patch.
>
> Thanks, but this version doesn't build on my box (Linux 2.6.17, glibc
> 2.3.6,
> gcc 4.1.2 20061020 (Debian 4.1.1-17)) box:
>
> gcc -DHAVE_CONFIG_H -I../include -I../lib -I../lib -DCURLDEBUG -g -g -W
> -Wall
> -Wwrite-strings -pedantic -Wpointer-arith -Wnested-externs -Winline
> -Wmissing-prototypes -Wmissing-declarations -Wundef -Wno-long-long
> -Wsign-compare -Wfloat-equal -Wno-format-nonliteral -Wendif-labels
> -Wstrict-prototypes -Wdeclaration-after-statement -MT sftp.lo -MD -MP -MF
> .deps/sftp.Tpo -c sftp.c -o sftp.o
> sftp.c:167: warning: ignoring #pragma mark
> sftp.c:168: warning: ignoring #pragma mark LIBSSH2
> sftp.c:202: warning: ignoring #pragma mark
> sftp.c:203: warning: ignoring #pragma mark SCP
> sftp.c: In function 'Curl_scp_do':
> sftp.c:422: error: 'struct stat' has no member named 'st_atimespec'
> sftp.c:423: error: 'struct stat' has no member named 'st_mtimespec'
>
> The #pragmas shouldn't be present like that, and 'st_atimespec' and
> 'st_mtimespec' don't seem to be POSIX
> (http://www.opengroup.org/onlinepubs/007908799/xsh/sysstat.h.html).
>
> But other than so, I seem to be able to scp files just fine!
>
> If you clean this up and turn the fprintf() calls into infof() calls, I'll
> be
> read to commit it to allow more people to join in and help - only after
> I've
> released 7.16.0.
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
>
>
> ------------------------------
>
> _______________________________________________
> curl-library mailing list
> curl-library_at_cool.haxx.se
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-library
>
>
> End of curl-library Digest, Vol 14, Issue 55
> ********************************************
>

-- 
Trinh Van Tai
YM: trinhvantai
Email: trinhvantai_at_gmail.com
          trinhvantai_at_yahoo.com
Received on 2006-11-03