[eSlack] error en compilacion
locani at gmail.com
locani at gmail.com
Mon Feb 25 14:44:03 CET 2008
A mí me pasó lo mismo hace poco y, no estoy seguro de esto, pero lo
que concluí, ya que se solucióno al instalar un compilador para c++ es
que gcc compila c y los programas que estaba tratando de compilar
estaban hechos en c++.
En cuanto a una solución podrías probar eso, en cuanto a una
respuesta, esperaría una de alguien que sepa mas. Un abrazo.
2008/2/24, Lucas Comerci <lucasenbahia en gmail.com>:
> hola a todos: ultimamente tengo un problema al intentar compilar programas.
> Me sale este error: "configure: error: C compiler cannot create executables"
>
> los log de los configure dicen en la parte de gcc:
>
> gcc (GCC) 4.1.2
> Copyright (C) 2006 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:3457: $? = 0
> configure:3464: gcc -v >&5
> Reading specs from
> /usr/lib/gcc/i486-slackware-linux/4.1.2/specs
> Target: i486-slackware-linux
> Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared
> --enable-languages=ada,c,c++,fortran,java,objc
> --enable-threads=posix --enable-__cxa_atexit --disable-checking
> --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux
> --host=i486-slackware-linux
> Thread model: posix
> gcc version 4.1.2
> configure:3467: $? = 0
> configure:3474: gcc -V >&5
> gcc: '-V' option must have argument
> configure:3477: $? = 1
> configure:3500: checking for C compiler default output file name
> configure:3527: gcc conftest.c >&5
> /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libc.so:
> file format not recognized; treating as linker script
> /usr/lib/gcc/i486-slackware-linux/4.1.2/../../../../i486-slackware-linux/bin/ld:/usr/lib/gcc/i486-slackware-linux/4.1.2/../../../libc.so:5:
> syntax error
> collect2: ld returned 1 exit status
> configure:3530: $? = 1
> configure:3568: result:
> configure: failed program was:
> | /* confdefs.h. */
> | #define PACKAGE_NAME ""
> | #define PACKAGE_TARNAME ""
> | #define PACKAGE_VERSION ""
> | #define PACKAGE_STRING ""
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "kdebluetooth-1.0_beta8"
> | #define VERSION "1.0_beta8"
> | /* end confdefs.h. */
> |
> | int
> | main ()
> | {
> |
> | ;
> | return 0;
> | }
> configure:3575: error: C compiler cannot create executables
> See `config.log' for more details.
>
> alguna sugerencia?? gracias de antemano
>
> _______________________________________________
> eSlack mailing list
> eSlack en lists.eslack.org
> http://lists.eslack.org/mailman/listinfo/eslack
>
>
More information about the eSlack mailing list