|
From: Marcel S. <m.s...@si...> - 2007-12-04 07:55:18
|
Hi Matt, I just googled your error message and it seems, that this bug is related to some compilers in 64-Bit machine distributions. Although on my Gentoo 64-Bit machine, everything compiles smoothly, there might be some incompatibilities with other distros... Please try the following fix I found on the net: --- grub-0.97-bkp/configure.ac 2005-11-05 16:53:00.419491832 -0200 +++ grub-0.97/configure.ac 2005-11-05 16:53:13.777461112 -0200 @@ -47,7 +47,7 @@ fi if test "x$host_cpu" = xx86_64; then - CFLAGS="-m32 $CFLAGS" + CFLAGS="-m64 $CFLAGS" fi Best regards, Marcel Matt Anderson schrieb: > Marcel Selhorst wrote: >> oh... never heard of that error message before ;) > > Heh.. why do I get the feeling I should have looked harder for an FAQ :) > >> My binutils-version is 2.18, but I'm pretty sure, that 2.17 should >> work as well... Which version of aclocal, autoconf, automake etc. are >> you using? Can you post the complete log of ./configure? > > [mra@orb TrustedGRUB-1.1.3]$ rpm -q automake > automake-1.10-6 > [mra@orb TrustedGRUB-1.1.3]$ rpm -q autoconf > autoconf-2.61-9.fc8 > [mra@orb TrustedGRUB-1.1.3]$ which aclocal > /usr/bin/aclocal > [mra@orb TrustedGRUB-1.1.3]$ rpm -qf /usr/bin/aclocal > automake-1.10-6 > [mra@orb TrustedGRUB-1.1.3]$ rpm -q binutils > binutils-2.17.50.0.18-1 > [mra@orb TrustedGRUB-1.1.3]$ ./configure > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... /bin/mkdir -p > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking whether to enable maintainer-specific portions of Makefiles... no > checking for gcc... gcc > checking for gcc... (cached) gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ISO C89... none needed > checking for style of include used by make... GNU > checking dependency style of gcc... gcc3 > checking dependency style of gcc... (cached) gcc3 > checking for ranlib... ranlib > checking whether optimization for size works... yes > checking whether gcc has -fno-stack-protector... yes > checking whether -Wundef works... yes > checking whether -falign-loops works... yes > checking for objcopy... objcopy > checking if C symbols get an underscore after compilation... no > checking whether objcopy works for absolute addresses... no > configure: error: GRUB requires a working absolute objcopy; upgrade your > binutils > >> I have successfully build TrustedGRUB on Gentoo, Debian, Ubuntu and >> SuSE. > > Hmm.. okay, I've also gotten it to build on SuSE using their srpms, but > from the sound of it no one has made it work on RH/Fedora... yet. I > have a couple other versions of automake on my system, next I'll try to > mess with my environment in order to use an alternate version and see > what that gets me. > > -matt > >> Matt Anderson schrieb: >>> I tried to build TrustedGRUB-1.1.3 on my Fedora 8 system, but I get an >>> error at ./configure time: >>> GRUB requires a working absolute objcopy; upgrade your binutils >>> >>> I have Fedora's binutils-2.17.50.0.18-1 from October 27th 2007, and with >>> something like binutils I'm hesitant to roll my own instead of using a >>> distro packaged version. I checked gnu.org and they have a >>> binutils-2.18 from August of 2007, but for whatever reason that hasn't >>> been sucked into Fedora yet. >>> >>> Does anyone know if TrustedGRUB will build with 2.18, or is there >>> something else missing/wrong with my setup and the ./configure error >>> message is just stale? What distros have others been successful at >>> building TrustedGrub on? >>> >>> thanks >>> -matt >>> >>> ------------------------------------------------------------------------- >>> SF.Net email is sponsored by: The Future of Linux Business White Paper >>> from Novell. From the desktop to the data center, Linux is going >>> mainstream. Let it simplify your IT future. >>> http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 >>> _______________________________________________ >>> Trustedgrub-users mailing list >>> Tru...@li... >>> https://lists.sourceforge.net/lists/listinfo/trustedgrub-users >>> > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Trustedgrub-users mailing list > Tru...@li... > https://lists.sourceforge.net/lists/listinfo/trustedgrub-users > -- Sirrix AG security technologies - http://www.sirrix.com Marcel Selhorst eMail: m.s...@si... Tel +49(234) 61 0071-199 Fax +49(234) 61 0071-599 get public key from keyserver Fingerprint 8A44 E5CA E2B4 2E4C 2059 26AC 0F71 7459 2C1C FD87 Vorstand: Ammar Alkassar (Vors.), Ahmad-Reza Sadeghi, Christian Stüble Vorsitzender des Aufsichtsrates: Prof. Dr. Kai Rannenberg Sitz der Gesellschaft: Homburg/Saar, HRB 3857 Amtsgericht Saarbrücken 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. |