Package Details: grubinvaders 1.0.0-5

Git Clone URL: https://aur.archlinux.org/grubinvaders.git (read-only, click to copy)
Package Base: grubinvaders
Description: multi boot compliant game for i386 and compatible x86_64
Upstream URL: http://www.erikyyy.de/invaders/
Licenses: GPL2
Submitter: None
Maintainer: eworm
Last Packager: eworm
Votes: 8
Popularity: 0.000000
First Submitted: 2010-03-28 12:31
Last Updated: 2015-10-07 21:14

Latest Comments

dreieck commented on 2020-06-30 10:52

Fails to build for me:

==> Starting build()...

CFLAGS="-ffreestanding -m32 -nostdinc -nostdlib -I. -O2 -W -Wall"
LDFLAGS="-Wl,-N -Wl,-Ttext -Wl,100000 -Wl,--build-id=none"
gcc $CFLAGS -c keyboard.c
gcc $CFLAGS -c delay.c
gcc $CFLAGS -c common.c
gcc $CFLAGS -c sound.c
gcc $CFLAGS -c game.c
gcc $CFLAGS -c kernel.c
kernel.c: In function ‘cmain’:
kernel.c:5:27: warning: unused parameter ‘magic’ [-Wunused-parameter]
    5 | void cmain (unsigned long magic, unsigned long addr)
      |             ~~~~~~~~~~~~~~^~~~~
kernel.c:5:48: warning: unused parameter ‘addr’ [-Wunused-parameter]
    5 | void cmain (unsigned long magic, unsigned long addr)
      |                                  ~~~~~~~~~~~~~~^~~~
gcc $CFLAGS -c video.c
gcc $CFLAGS -c memory.c
gcc $CFLAGS -c boot.S
gcc $CFLAGS $LDFLAGS -o invaders.exec boot.o kernel.o keyboard.o video.o game.o sound.o delay.o common.o memory.o
/usr/bin/ld: invaders.exec: error: PHDR segment not covered by LOAD segment
collect2: error: ld returned 1 exit status
==> ERROR: A failure occurred in build().
    Aborting...

cokomoko commented on 2015-09-25 22:11

CFLAGS="-fno-builtin -fno-stack-protector -nostdinc -O2 -I. -Wall -Werror -m32"
LDFLAGS="-nostdlib -m32"
gcc $CFLAGS -c keyboard.c
gcc $CFLAGS -c delay.c
gcc $CFLAGS -c common.c
gcc $CFLAGS -c sound.c
gcc $CFLAGS -c game.c
gcc $CFLAGS -c kernel.c
gcc $CFLAGS -c video.c
gcc $CFLAGS -c memory.c
gcc $CFLAGS -c boot.S
ld $LDFLAGS -o invaders.exec boot.o kernel.o keyboard.o video.o game.o sound.o delay.o common.o memory.o
ld: bilinmeyen öykünüm kipi: 32
Desteklenen öykünümler: elf_x86_64 elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om
==> HATA: build() içinde bir hata oluştu.
Çıkılıyor...
==> HATA:makepkg grubinvaders'i inşa edemedi.
==> grubinvaders yeniden inşa edilsin mi ? [e/H]
==> --------------------------------------------
==>

what's problem?

eworm commented on 2013-08-30 07:39

I have some enhancements for this:

http://www.eworm.de/tmp/grubinvaders.patch

And you may want to update the install script given the fact the grub-mkconfig adds the configuration automatically.