[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building alpha images under i386?



[ cc: to the debian-cd list for posterity. ]

On Fri, Nov 28, 2003 at 09:26:18AM +0100, Jan Kesten wrote:
>
>Hallo Steve,
>
>it's been a while ago, but now I'm again trying to build isomarkboot -
>but I doesn't work.
>
>SM> Oh yes, this old chestnut. I remember this biting me a while
>SM> ago. You'll need to build your own version of isomarkboot from the
>SM> sources to aboot. IIRC it's quite easy, but it needs hand-building
>SM> because the rest of the aboot package won't build usefully on
>SM> non-Alpha. Shout if you need help with that...
>
>How did you build it by hand? I've tried it and after setting some
>paths gcc would compile - but I got a couple of undefined references
>errors. So if you have a solution at hand, it would be glad if you
>could let me know.

It's fairly easy. You don't need to build the entire aboot package,
just the isomarkboot binary. To do that, all I need to do is:

1. apt-get source aboot
2. apply the following patch to aboot-0.9/lib/isolib.c:

--- isolib.c    2003-12-01 00:08:05.000000000 +0000
+++ isolib.c.new        2003-12-01 00:04:31.000000000 +0000
@@ -18,7 +18,9 @@
 
 #include <iso.h>
 #include <isolib.h>
-#include <utils.h>
+#include <stdio.h>
+#include <string.h>
+/* #include <utils.h> */
 
 /* iso9660 support code */
 
3. cd aboot-0.9/tools
4. make isomarkboot

This will give a couple of warnings, but will do the job. Let me know
if you have any more trouble...

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
We don't need no education.
We don't need no thought control.

Attachment: signature.asc
Description: Digital signature


Reply to: