assembler issue with sega.s
Closed this issue · 2 comments
Strugglemeat commented
m68k-elf-gcc -m68000 -Wall -Wextra -Wno-shift-negative-value -fno-builtin -Iinc -Isrc -Ires -I/opt/sgdk/inc -I/opt/sgdk/res -c src/boot/sega.s -o out/sega.o
src/boot/sega.s: Assembler messages:
src/boot/sega.s:256: Error: invalid operands (*UND* and *UND* sections) for `+'
make: *** [makefile:187: out/sega.o] Error 1
here's line 256 of sega.s
lea (task_regs + UTSK_REGS_LEN), %a0
someone else had the same problem, it was due to an outdated makefile
Stephane-D/SGDK#284
Strugglemeat commented
I can't figure out how to get a project to make. the makefile.gen that comes with SGDK 1.80 seems to not work for me in linux.
Strugglemeat commented
I had to modify /opt/sgdk/makefile.gen, adding this line
GDK := /opt/sgdk
so now using this from the project directory works
make -f /opt/sgdk/makefile.gen