Portál AbcLinuxu, 12. května 2025 08:18

Dotaz: Gentoo chyba při kompilaci wine

31.10.2009 14:14 filbar | skóre: 36 | blog: Denicek_programatora | Ostrava
Gentoo chyba při kompilaci wine
Přečteno: 207×
Odpovědět | Admin
Aktualizace minulou sobotu se snažím neuspěšně kompilovat v Gentoo Wine. Zkončí mí to na hlášce:
checking for C compiler default output file name... 
configure: error: in `/var/tmp/portage/app-emulation/wine-1.1.32/work/wine-1.1.32':
configure: error: C compiler cannot create executables
See `config.log' for more details.
A v config.logu mám:
configure:3202: checking for C compiler default output file name
configure:3224: x86_64-pc-linux-gnu-gcc -m32 -march=nocona -O2 -pipe  -Wl,-O1 conftest.c  >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libgcc.a when searching for -lgcc
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status
configure:3228: $? = 1
configure:3265: result:
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Wine"
| #define PACKAGE_TARNAME "wine"
| #define PACKAGE_VERSION "1.1.32"
| #define PACKAGE_STRING "Wine 1.1.32"
| #define PACKAGE_BUGREPORT "wine-devel@winehq.org"
| #define PACKAGE_URL "http://www.winehq.org"
| /* end confdefs.h.  */
| #include <stdio.h>
| int
| main ()
| {
| FILE *f = fopen ("conftest.out", "w");
|  return ferror (f) || fclose (f) != 0;
|
|   ;
|   return 0;
| }
configure:3271: error: in `/var/tmp/portage/app-emulation/wine-1.1.32/work/wine-1.1.32':
configure:3275: error: C compiler cannot create executables
See `config.log' for more details.
Nevíte někdo co mám špatně?
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

31.10.2009 16:41 Andrej Herceg | skóre: 43
Rozbalit Rozbalit vše Re: Gentoo chyba při kompilaci wine
Odpovědět | | Sbalit | Link | Blokovat | Admin
Nepotrebuje to 32 bitový kompilátor? (teda netuším, či pri 64b kompilátore existuje aj 32 bitová verzia libgcc.a, alebo či je kvôli nej potrebný celý 32 bitový kompilátor, prípadne, či netreba zmeniť názov z x86_64-pc... na niečo iné)
David Watzke avatar 31.10.2009 17:12 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: Gentoo chyba při kompilaci wine
Potřebuje to kompilátor schopnej generovat 32b binárky. K tomu slouží přepínač -m32, kterej kompilátor dostal, což je v pořádku. Zkontroloval bych USE=multilib u GCC.
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
31.10.2009 16:57 finn | skóre: 43 | blog: finnlandia | 49° 44´/13° 22´
Rozbalit Rozbalit vše Re: Gentoo chyba při kompilaci wine
Odpovědět | | Sbalit | Link | Blokovat | Admin
Hádám, že budeš potřebovat něco jako app-emulation/emul-linux-x86-compat.
Užívej dne – možná je tvůj poslední.

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.