+ Responder ao Tópico



  1. #1
    athalimar
    Visitante

    Padrão Erro no complilador C

    Salve lista. Estou com o seguinte problema e gostaria de um help de vocês.
    Tenho um cl8 e sempre que tento instalar algum programa usando o ./configure ele me apresenta o seguinte problema:
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.
    Alguem pode me dá uma luz?!
    Abaixo segue o arquivo config.log.

    Grato
    Athalimar


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

    $ ./configure

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

    hostname = linux.rifoles.com.br
    uname -m = i686
    uname -r = 2.4.18-2cl
    uname -s = Linux
    uname -v = #1 Mon Mar 11 01:53:17 BRT 2002

    /usr/bin/uname -p = unknown
    /bin/uname -X = unknown

    /bin/arch = i686
    /usr/bin/arch -k = unknown
    /usr/convex/getsysinfo = unknown
    hostinfo = unknown
    /bin/machine = unknown
    /usr/bin/oslevel = unknown
    /bin/universe = unknown

    PATH: /usr/lib/kde3/bin
    PATH: /usr/bin
    PATH: /bin
    PATH: /usr/sbin
    PATH: /sbin
    PATH: /usr/bin/X11
    PATH: /usr/games
    PATH: /usr/local/bin
    PATH: /home/thales/bin


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

    configure:1342: checking build system type
    configure:1360: result: i686-pc-linux-gnu
    configure:1368: checking host system type
    configure:1382: result: i686-pc-linux-gnu
    configure:1448: checking for gcc
    configure:1464: found /usr/bin/gcc
    configure:1474: result: gcc
    configure:1718: checking for C compiler version
    configure:1721: gcc --version </dev/null >&5
    2.95.3
    configure:1724: $? = 0
    configure:1726: gcc -v </dev/null >&5
    Reading specs from /usr/lib/gcc-lib/i386-conectiva-linux/2.95.3/specs
    gcc version 2.95.3 20010315 (release)
    configure:1729: $? = 0
    configure:1731: gcc -V </dev/null >&5
    gcc: argument to `-V' is missing
    configure:1734: $? = 1
    configure:1757: checking for C compiler default output file name
    configure:1760: gcc -g conftest.c >&5
    /usr/bin/ld: cannot open crt1.o: No such file or directory
    collect2: ld returned 1 exit status
    configure:1763: $? = 1
    configure: failed program was:
    | /* confdefs.h. */
    |
    | #define PACKAGE_NAME ""
    | #define PACKAGE_TARNAME ""
    | #define PACKAGE_VERSION ""
    | #define PACKAGE_STRING ""
    | #define PACKAGE_BUGREPORT ""
    | /* end confdefs.h. */
    |
    | int
    | main ()
    | {
    |
    | ;
    | return 0;
    | }
    configure:1802: error: C compiler cannot create executables
    See `config.log' for more details.

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

    ac_cv_build=i686-pc-linux-gnu
    ac_cv_build_alias=i686-pc-linux-gnu
    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_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=
    ac_cv_env_host_alias_value=
    ac_cv_env_target_alias_set=
    ac_cv_env_target_alias_value=
    ac_cv_host=i686-pc-linux-gnu
    ac_cv_host_alias=i686-pc-linux-gnu
    ac_cv_prog_ac_ct_CC=gcc

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

    BINDIR=''
    CC='gcc'
    CFLAGS=''
    CPP=''
    CPPFLAGS=''
    DEFS=''
    ECHO_C=''
    ECHO_N='-n'
    ECHO_T=''
    EGREP=''
    EXEEXT=''
    HTMLDIR=''
    LDFLAGS='-g'
    LIBOBJS=''
    LIBS=''
    LTLIBOBJS=''
    MANDIR=''
    OBJEXT=''
    PACKAGE_BUGREPORT=''
    PACKAGE_NAME=''
    PACKAGE_STRING=''
    PACKAGE_TARNAME=''
    PACKAGE_VERSION=''
    PATH_SEPARATOR=':'
    SHELL='/bin/sh'
    SYSCONFDIR=''
    ac_ct_CC='gcc'
    bindir='${exec_prefix}/bin'
    build='i686-pc-linux-gnu'
    build_alias=''
    build_cpu='i686'
    build_os='linux-gnu'
    build_vendor='pc'
    datadir='${prefix}/share'
    exec_prefix='NONE'
    host='i686-pc-linux-gnu'
    host_alias=''
    host_cpu='i686'
    host_os='linux-gnu'
    host_vendor='pc'
    includedir='${prefix}/include'
    infodir='${prefix}/info'
    libdir='${exec_prefix}/lib'
    libexecdir='${exec_prefix}/libexec'
    localstatedir='${prefix}/var'
    mandir='${prefix}/man'
    oldincludedir='/usr/include'
    prefix='NONE'
    program_transform_name='s,x,x,'
    sbindir='${exec_prefix}/sbin'
    sharedstatedir='${prefix}/com'
    sysconfdir='${prefix}/etc'
    target_alias=''

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

    #define PACKAGE_BUGREPORT ""
    #define PACKAGE_NAME ""
    #define PACKAGE_STRING ""
    #define PACKAGE_TARNAME ""
    #define PACKAGE_VERSION ""

    configure: exit 77

  2. #2

    Padrão Erro no complilador C

    vc tem o GCC instalado nessa maquina?

  3. #3

    Padrão Erro no complilador C

    parece que é erro de versão de gcc, mas fiquei um pouco confuso...

  4. #4
    athalimar
    Visitante

    Padrão gcc instalado

    tenho o gcc instalado sim. gcc.2.95.3-.36cl
    também tenho o glib-1.2.10-4cl

  5. #5

    Padrão Erro no complilador C

    pelo menos no Debian a versão é a 3.0

  6. #6

    Padrão Erro no complilador C

    Eu acho que ainda ta faltando alguma coisa !!!

  7. #7
    athalimar
    Visitante

    Padrão resolvido

    isso mesmo gatoseco. Estava faltando as bibliotecas task-c-devel
    task-c++-devel
    instalei e funcionou 100%

    muito grato e fiquem com Deus

  8. #8
    chakalt
    Visitante

    Padrão Erro no complilador C

    Cara tente atualiza suas bibliotes gcc ta desatualizada

  9. #9

    Padrão Erro no complilador C

    O problema ja foi resolvido !!!