[Buildroot] [patch] sfdisk: seek error

Robert Carter r.carter at cs.auckland.ac.nz
Tue Oct 31 04:01:06 UTC 2006

This patch to fix the error which appears with sfdisk when compiled  
with gcc 3.4.6.

seek error: wanted 0x0000000000000000, got 0x0000000000000000

Solution from this article:


Index: package/sfdisk/sfdisk.mk
--- package/sfdisk/sfdisk.mk    (revision 16401)
+++ package/sfdisk/sfdisk.mk    (working copy)
@@ -15,7 +15,7 @@

  $(SFDISK_DIR)/sfdisk: $(SFDISK_DIR)
         $(MAKE) \
-               CROSS=$(TARGET_CROSS) DEBUG=false  OPTIMIZATION="$ 
+               CROSS=$(TARGET_CROSS) DEBUG=false OPTIMIZATION="$ 
(TARGET_CFLAGS) -fno-unit-at-a-time" \
                 -C $(SFDISK_DIR)
         -$(STRIP) $(SFDISK_DIR)/sfdisk;
         touch -c $(SFDISK_DIR)/sfdisk

More information about the buildroot mailing list