From: Marcel S. <m.s...@si...> - 2010-11-24 09:57:42
|
Hi Olga, can you try to remove the "-m32" parameter, and see if that works on your 64-Bit machine? This indeed looks like a multilib-issue, but I am not too familiar with Fedora, so I can't tell, whether there is a special multilib package for GCC. What is the output of: $ gcc -print-multi-lib Mine also shows "32;@m32" Cheers, Marcel Am 23.11.2010 19:07, schrieb Olga Gelbart: > Hello, > I am trying to compile TrustedGrub on a 64-bit Fedora 13 distribution > (2.6.32.25 kernel) > > I am getting the following error (excerpt from config.log): > ---------------------------------- > configure:3340: checking whether the C compiler works > configure:3362: gcc -m32 -DSHOW_SHA1 -fno-stack-protector conftest.c >&5 > /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgcc_s.so when searching for -lgcc_s > /usr/bin/ld: skipping incompatible > /usr/lib/gcc/x86_64-redhat-linux/4.4.4/libgcc_s.so when searching for -lgcc_s > /usr/bin/ld: cannot find -lgcc_s > collect2: ld returned 1 exit status > configure:3366: $? = 1 > configure:3404: result: no > configure: failed program was: > | /* confdefs.h */ > | #define PACKAGE_NAME "GRUB" > | #define PACKAGE_TARNAME "grub" > | #define PACKAGE_VERSION "1.1.5" > | #define PACKAGE_STRING "GRUB 1.1.5" > | #define PACKAGE_BUGREPORT "m.s...@si... > <mailto:m.s...@si...>" > | #define PACKAGE_URL "" > | #define PACKAGE "grub" > | #define VERSION "1.1.5" > | /* end confdefs.h. */ > | > | int > | main () > | { > | > | ; > | return 0; > | } > configure:3409: error: in `/root/TrustedGRUB-1.1.5/TrustedGRUB-1.1.5': > configure:3413: error: C compiler cannot create executables > ---------------------------------- > I've looked this up and it looks I need multilib in gcc. It's readily > available as a package (gcc-multilib) for Ubuntu or Debian. Does anyone > know if it's available for Fedora? Or is there another way to fix this problem? > Thanks in advance, > Olga -- Sirrix AG security technologies -- http://www.sirrix.com Dipl.-Ing. Marcel Selhorst eMail: m.s...@si... Tel: +49 (234) 610071-126 Fax: +49 (234) 610071-526 Tel: +49 (681) 95986-126 Fax: +49 (681) 95986-526 Get my public key from keyserver, KeyId: 0x7C9821CC Fingerprint 4138 E617 E62E 79D3 E663 BE5A 14E7 1CD8 7C98 21CC Vorstand: Ammar Alkassar (Vors.), Christian Stueble Vorsitzender des Aufsichtsrates: Prof. Dr. Kai Rannenberg Sitz der Gesellschaft: Homburg/Saar, HRB 3857 Amtsgericht Saarbruecken This message may contain confidential and/or privileged information. If you are not the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. |