Index: bootadm/usr/src/cmd/boot/installgrub/Makefile =================================================================== --- bootadm.orig/usr/src/cmd/boot/installgrub/Makefile 2012-10-08 04:25:23.000000000 +0400 +++ bootadm/usr/src/cmd/boot/installgrub/Makefile 2012-12-30 00:52:00.946467069 +0400 @@ -40,7 +40,7 @@ CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-uninitialized -LDLIBS += -lmd5 +LDLIBS += -lmd i386_CFLAGS += -D_LARGEFILE64_SOURCE i386_CFLAGS += -D_FILE_OFFSET_BITS=64