I donwloaded the github repository of SGDK (to make sure I have the latest version, I was still using version 1.00). I successfully built the libmd.a file, but when compiling my project (which was compiling fine with 1.00), I get :
Code: Select all
echo "out/src/camera.o out/src/collisions.o out/src/input.o out/src/ints.o out/src/main.o out/src/object.o out/src/stagemap.o out/src/tsprite.o out/src/maps/level1_map_data.o out/src/maps/level1_palettes.o out/src/maps/level1_patterns_data.o out/src/chars/gurin.o out/src/chars/gurin_data.o out/src/chars/gurin_states.o out/src/chars/items.o out/src/chars/items_data.o out/src/chars/malon.o out/src/chars/malon_data.o out/src/chars/malon_states.o" > out/cmd_
c:/sgdk100/bin/gcc -Bc:/sgdk100/bin -n -T c:/sgdk100/md.ld -nostdlib out/sega.o @out/cmd_ c:/sgdk100/lib/libmd.a c:/sgdk100/lib/libgcc.a -o out/rom.out
c:/sgdk100/lib/libmd.a(sys.o): In function `_vint_callback':
sys.c:(.text+0x726): undefined reference to `currentZ80Driver'
make: *** [out/rom.out] Error 1