grub4dos icon indicating copy to clipboard operation
grub4dos copied to clipboard

grub4dos hotkey -A not working?

Open steve6375 opened this issue 2 years ago • 4 comments

image Is this latest version of hotkey for grub4dos? First letter press not working if first do hotkey global key command, e.g.

hotkey [Ctrl+F8] "@map --unhook ;; map --unmap=0:0xff ;; root (bd)/ ;; chainloader /grldr ;; boot" > nul
hotkey -A

Same bug that was already fixed in hotkey for grub4efi.

steve6375 avatar Sep 16 '21 09:09 steve6375

目前,只能写在一行.

yaya2007 avatar Sep 18 '21 08:09 yaya2007

is this fixed yet? Also please include \ext folder and all utilities in grub4dos zip file (similar to grub4efi). The old grub4dos utilities no longer work with latest grub4dos, so we need new utilities in zip file.

steve6375 avatar Oct 23 '21 12:10 steve6375

Also please include \ext folder and all utilities in grub4dos zip file (similar to grub4efi). The old grub4dos utilities no longer work with latest grub4dos, so we need new utilities in zip file.

https://github.com/chenall/grub4dos/runs/3901179919?check_suite_focus=true#step:5:538

似乎是编译grubutils有问题。@chenall

gcc -nostdlib -DASM_BUILD_DATE="".long 20211015"" -fno-reorder-functions -fno-strict-aliasing -fno-exceptions -fno-asynchronous-unwind-tables -fno-unwind-tables -fno-zero-initialized-in-bss -fno-function-cse -fno-jump-tables --entry main -Wl,-N -Wl,--build-id=none -m32 -mno-sse -Wl,-Ttext -Wl,0 -fPIE -I../include/ bios.c -o bios.o | ^~~~~~~~~~~~~ | GetModeInfo vbe.c:248:16: warning: assignment to ‘void ()(int)’ from incompatible pointer type ‘void ()(unsigned int)’ [-Wincompatible-pointer-types] 248 | vesa.PUTCHAR = vbe_putchar; | ^ vbe.c:255:17: warning: assignment to ‘void ()(long unsigned int, long long unsigned int )’ from incompatible pointer type ‘void ()(int, int, int, int)’ [-Wincompatible-pointer-types] 255 | vesa.SETCOLOR = vbe_setcolor; | ^ vbe.c:257:16: warning: assignment to ‘int ()(void)’ from incompatible pointer type ‘int (*)(int)’ [-Wincompatible-pointer-types] 257 | vesa.STARTUP = vbe_init; | ^ /usr/bin/ld: echo.o: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:28: echo.o] Error 1 make: *** Waiting for unfinished jobs.... /usr/bin/ld: diskid.o: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:28: diskid.o] Error 1 /usr/bin/ld: fontfile.o: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:28: fontfile.o] Error 1 /usr/bin/ld: unifont.o: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:28: unifont.o] Error 1 /usr/bin/ld: bios.o: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:28: bios.o] Error 1 /usr/bin/ld: vbe.o: error: PHDR segment not covered by LOAD segment collect2: error: ld returned 1 exit status make: *** [Makefile:28: vbe.o] Error 1 make: Leaving directory '/home/runner/work/grub4dos/grub4dos/grubutils/g4dext' make: Entering directory '/home/runner/work/grub4dos/grub4dos/grubutils/g4eext' /bin/sh: 1: gcc-4.8: not found expr: syntax error: unexpected argument ‘5’ mkdir -p bin gcc-4.8 -Wl,--build-id=none -m64 -mno-sse -nostdlib -fno-zero-initialized-in-bss -fno-function-cse -fshort-wchar -fno-jump-tables -Wl,-N -fPIE -Iinclude/ echo.c -o echo.o make: gcc-4.8: Command not found gcc-4.8 -Wl,--build-id=none -m64 -mno-sse -nostdlib -fno-zero-initialized-in-bss -fno-function-cse -fshort-wchar -fno-jump-tables -Wl,-N -fPIE -Iinclude/ time.c -o time.o make: gcc-4.8: Command not found make: Leaving directory '/home/runner/work/grub4dos/grub4dos/grubutils/g4eext' make: *** [Makefile:31: echo.o] Error 127 make: *** Waiting for unfinished jobs.... make: *** [Makefile:31: time.o] Error 127 ~/work/grub4dos/grub4dos ~/work/grub4dos/grub4dos ~/work/grub4dos/grub4dos

a1ive avatar Oct 23 '21 12:10 a1ive

已经修正

yaya2007 avatar Nov 15 '21 09:11 yaya2007