We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Я просто пишу sudo make qemu-x86 и компилятор выдаёт ошибку:
as -g --32 ./lib/syscall.s -o ./bin/syscall.s.o as -g --32 ./kernel/arch/x86/entry.s -o ./bin/entry.s.o as -g --32 ./kernel/arch/x86/reg.s -o ./bin/reg.s.o as -g --32 ./kernel/arch/x86/port.s -o ./bin/port.s.o as -g --32 ./kernel/arch/x86/ih.s -o ./bin/ih.s.o as -g --32 ./kernel/arch/x86/dt.s -o ./bin/dt.s.o as -g --32 ./kernel/arch/x86/mmu.s -o ./bin/mmu.s.o ./kernel/arch/x86/mmu.s: Сообщения ассемблера: ./kernel/arch/x86/mmu.s: Предупреждение: конец файла не в конце строки; вставлен символ новой строки gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/arch/x86/pic.c -o ./bin/pic.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/arch/x86/dt.c -o ./bin/dt.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/arch/x86/ih.c -o ./bin/ih.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/arch/x86/mmu.c -o ./bin/mmu.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/arch/x86/video.c -o ./bin/video.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/assert.c -o ./bin/assert.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/time.c -o ./bin/time.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/string.c -o ./bin/string.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/math.c -o ./bin/math.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/stdio.c -o ./bin/stdio.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/sys.c -o ./bin/sys.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/data/slist.c -o ./bin/slist.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/data/clist.c -o ./bin/clist.c.o gcc -g -m32 -isystem ./include -I include -fno-stack-protector -Wall -Werror -fno-pie -c ./initrd/sh.c -o ./bin/sh.rd.c.o gcc -g -m32 -isystem ./include -I include -fno-stack-protector -Wall -Werror -fno-pie -c ./lib/data/clist.c -o ./bin/uclist.c.o ld -m elf_i386 -T ./config/link-task.ld -o ./bin/sh.elf ./bin/sh.rd.c.o \ ./bin/assert.c.o ./bin/time.c.o ./bin/math.c.o ./bin/string.c.o ./bin/stdio.c.o \ ./bin/sys.c.o ./bin/uclist.c.o \ ./bin/syscall.s.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/utils/kprint.c -o ./bin/kprint.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/utils/kdump.c -o ./bin/kdump.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/utils/kpanic.c -o ./bin/kpanic.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/utils/kheap.c -o ./bin/kheap.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/utils/kassert.c -o ./bin/kassert.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/utils/lib.c -o ./bin/lib.c.o gcc -g -m32 -isystem ./include -I include -DKERNEL=1 -fno-stack-protector -Wall -Werror -fno-pie -c ./kernel/sched/task.c -o ./bin/task.c.o ./kernel/sched/task.c: В функции «task_extract_message»: ./kernel/sched/task.c:203:15: ошибка: taking address of packed member of «struct task_t» may result in an unaligned pointer value [-Werror=address-of-packed-member] 203 | cur_msg = &task->msg_buff[--task->msg_count_in]; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: все предупреждения считаются ошибками make: *** [Makefile:109: build-kernel-sched] Ошибка 1
Я его просто скачал и для теста решил сбилдить и оно даже так не сбилдилось
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Я просто пишу sudo make qemu-x86 и компилятор выдаёт ошибку:
Я его просто скачал и для теста решил сбилдить и оно даже так не сбилдилось
The text was updated successfully, but these errors were encountered: