It's not working for me
gustavolinux opened this issue · 2 comments
gustavolinux commented
make GDK=/home/gustavo/apps/sgdk -f /home/gustavo/apps/sgdk/makefile_wine.gen
mkdir -p src/boot
mkdir -p out
/home/gustavo/apps/sgdk/bin/gcc -B/home/gustavo/apps/sgdk/bin -n -T /home/gustavo/apps/sgdk/md.ld -nostdlib out/sega.o @out/cmd_ /home/gustavo/apps/sgdk/lib/libmd.a /home/gustavo/apps/sgdk/lib/libgcc.a -o out/rom.out -Wl,--gc-sections
C:\users\gustavo\Temp\ccQoK8II.ltrans1.ltrans.o: In function `_reset_entry':
<artificial>:(.text+0x1b2): undefined reference to `main'
C:\users\gustavo\Temp\ccQoK8II.ltrans1.ltrans.o: In function `_start_entry':
<artificial>:(.text+0x177e): undefined reference to `main'
<artificial>:(.text+0x18cc): undefined reference to `main'
make: *** [/home/gustavo/apps/sgdk/makefile_wine.gen:146: out/rom.out] Erro 1
am I doing everything correctly?
Franticware commented
Additional info is needed.
-
What is your SGDK version?
-
What linux distro are you using? I have tested it only on Manjaro.
-
What is the output of:
cd /home/gustavo/apps/sgdk/bin
sh generate_wine.sh
?
- Have you tried building an existing sample, e.g.:
cd /home/gustavo/apps/sgdk/bin/sample/sprite
make GDK=/home/gustavo/apps/sgdk -f /home/gustavo/apps/sgdk/makefile_wine.gen
?
Franticware commented
Please try the new version.