Kilian <[EMAIL PROTECTED]> writes: > Goswin von Brederlow wrote: >> tag 330190 + patch >> thanks >> Kilian <[EMAIL PROTECTED]> writes: >> >>> Dear All, >>> >>> I'm trying to set up a software RAID 1 (two disks) with Debian on a >>> system with an AMD x86_64 Athlon processor. To install the MBR on both >>> discs, I need install-mbr (http://packages.debian.org/stable/base/mbr) >>> if I'm correct, but this package does not exist in the amd64 port... I >>> then tried to compile it myself, which fails, obviously, because the >>> package has not been ported to x86_64 yet as it seems (and I lack the >>> knowledge to do so...). >>> >>> I'm a bit stuck now.. what other tools can I use? >>> >>> Thanks for any hint! >>> >>> Greetz, >>> Kilian >> I went ahead and fixed mbr up for amd64. Apart from the obvious >> (Build-depends, gcc -m32) I also fixed up some of the more serious >> warnings and included running the testsuite as much as possible. >> The package compiles but someone has to risk his/her system and >> install the mbr now. > > Thanks a lot for your work! I'd be willing to do that, unfortunately > it doesn't compile on my box; I get: > > Making all in harness > make[1]: Entering directory `/usr/local/src/mbr-1.1.5.orig/harness' > gcc -DPACKAGE=\"mbr\" -DVERSION=\"1.1.5\" -I. -I. -Wall > -Wstrict-prototypes -Wmissing-prototypes -g -c bios.c
Did you apply the patch? This should be "gcc -m32" there. Without it it will create 64bit code which won't work. > In file included from bios.c:2: > vm86.h:4:22: asm/vm86.h: No such file or directory sh-3.1# cat /usr/include/asm/vm86.h /* All asm/ files are generated and point to the corresponding * file in asm-x86_64 or asm-i386. */ #ifdef __i386__ # include <asm-i386/vm86.h> #else # error This header is not available for x86_64 #endif sh-3.1# dpkg -S /usr/include/asm/vm86.h linux-kernel-headers: /usr/include/asm/vm86.h And you don't seem to be on sid. I don't have that file either on sarge so it won't work there. http://mrvn.homeip.net/mbr/mbr_1.1.5-2.1_amd64.deb MfG Goswin -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

