Skip to content
New issue

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

sdlquake fails to build #6

Open
mozzwald opened this issue Sep 10, 2016 · 1 comment
Open

sdlquake fails to build #6

mozzwald opened this issue Sep 10, 2016 · 1 comment

Comments

@mozzwald
Copy link
Member

sdlquake fails to build:

menu.c: In function 'M_ScanSaves':
menu.c:469:2: error: unknown type name 'ulong'
ulong dummy,fsize;
^
menu.c:471:8: warning: unused variable 'line' [-Wunused-variable]
char line;
^
menu.c:469:14: warning: unused variable 'fsize' [-Wunused-variable]
ulong dummy,fsize;
^
menu.c:469:8: warning: unused variable 'dummy' [-Wunused-variable]
ulong dummy,fsize;
^
menu.c: In function 'M_Keys_Draw':
menu.c:1457:10: warning: variable 'l' set but not used [-Wunused-but-set-variable]
int i, l;
^
menu.c: In function 'M_SerialConfig_Key':
menu.c:2059:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (DirectConfig && (serialConfig_cursor == 3 || serialConfig_cursor == 4))
^
menu.c:2065:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (SerialConfig && StartingGame && serialConfig_cursor == 4)
^
menu.c: In function 'M_LanConfig_Key':
menu.c:2434:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if (StartingGame && lanConfig_cursor == 2)
^
Makefile:96: recipe for target 'menu.o' failed
make[3]: *
* [menu.o] Error 1
make[3]: Leaving directory '/home/mozzwald/zipit/openwrt-zipit-new/build_dir/target-arm_xscale_musl-1.1.14_eabi/sdlquake-0.1'
Makefile:48: recipe for target '/home/mozzwald/zipit/openwrt-zipit-new/build_dir/target-arm_xscale_musl-1.1.14_eabi/sdlquake-0.1/.built' failed
make[2]: *** [/home/mozzwald/zipit/openwrt-zipit-new/build_dir/target-arm_xscale_musl-1.1.14_eabi/sdlquake-0.1/.built] Error 2
make[2]: Leaving directory '/home/mozzwald/zipit/openwrt-zipit-new/feeds/zipit_packages/sdlquake'
package/Makefile:196: recipe for target 'package/feeds/zipit_packages/sdlquake/compile' failed
make[1]: *** [package/feeds/zipit_packages/sdlquake/compile] Error 2
make[1]: Leaving directory '/home/mozzwald/zipit/openwrt-zipit-new'
/home/mozzwald/zipit/openwrt-zipit-new/include/toplevel.mk:192: recipe for target 'package/sdlquake/compile' failed
make: *** [package/sdlquake/compile] Error 2

@mozzwald
Copy link
Member Author

sdlquake builds with 0083c76 but now crashes when running:

========Quake Initialized=========
execing quake.rc
[{WIFSIGNALED(s) && WTERMSIG(s) == SIGILL}], 0, NULL) = 8036
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=8036, si_uid=0, si_status=SIGILL, si_utime=11, si_stime=29} ---
writev(2, [{"", 0}, {"Illegal instruction\n", 20}], 2Illegal instruction
) = 20
read(10, "", 511) = 0
exit_group(132) = ?
+++ exited with 132 +++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant