Hi all,
I originally posted this on talk.maemo.org and haven't gotten any help. A friend suggested I post here.
In case you are not familiar, Maemo is the operating system for the Nokia Internet tablets (770, N800, N810 and N900). It is based on Debian, and the last version of the OS is called Diablo (Maemo 4).
That said, the version of Angband available was compiled for Chinook, wifh is Maemo version 3. Things have changed and one of the packages needed for the Chinook version of Angband is no longer available on Diablo. So, it doesn't quite install cleanly on Diablo. It installs, and is playable, but messes up the applicaiton manager
I am a Linux sysadmin, but unfortunately, my areas of specialty are security and cluster. I am not a developer...So mt C-foo is weak. I would really appreciate any advice anyone could provide.
I set up the SDK based on this page on an Ubuntu Jaunty x86 VM, and downloaded the deb-src files (.orig.tar.gz, .diff.gz and .dsc) Debian arm versions from unstable (3.1.1) and from stable (3.0.9). I untarred each directory in turn, and applied the diff file to Debianize the source. I then issued a sb2 dpkg-buildpackage -rfakeroot -d -b. Each compile failed. For 3.0.9, it gave me:
3.1.1 gave me a different error:
Could someone help me decipher the problems with this? I would be glad to provide the entire build, but didn't want to make enemies by spamming the list on my first post.
Thanks in advance,
--vr
I originally posted this on talk.maemo.org and haven't gotten any help. A friend suggested I post here.
In case you are not familiar, Maemo is the operating system for the Nokia Internet tablets (770, N800, N810 and N900). It is based on Debian, and the last version of the OS is called Diablo (Maemo 4).
That said, the version of Angband available was compiled for Chinook, wifh is Maemo version 3. Things have changed and one of the packages needed for the Chinook version of Angband is no longer available on Diablo. So, it doesn't quite install cleanly on Diablo. It installs, and is playable, but messes up the applicaiton manager
I am a Linux sysadmin, but unfortunately, my areas of specialty are security and cluster. I am not a developer...So mt C-foo is weak. I would really appreciate any advice anyone could provide.
I set up the SDK based on this page on an Ubuntu Jaunty x86 VM, and downloaded the deb-src files (.orig.tar.gz, .diff.gz and .dsc) Debian arm versions from unstable (3.1.1) and from stable (3.0.9). I untarred each directory in turn, and applied the diff file to Debianize the source. I then issued a sb2 dpkg-buildpackage -rfakeroot -d -b. Each compile failed. For 3.0.9, it gave me:
Code:
CC main-gcu.c In file included from main-gcu.c:63: /usr/include/ncurses.h:335: error: syntax error before "bool" /usr/include/ncurses.h:337: error: syntax error before "_leaveok" /usr/include/ncurses.h:338: error: syntax error before "_scroll" /usr/include/ncurses.h:339: error: syntax error before "_idlok" /usr/include/ncurses.h:340: error: syntax error before "_idcok" /usr/include/ncurses.h:341: error: syntax error before "_immed" /usr/include/ncurses.h:342: error: syntax error before "_sync" /usr/include/ncurses.h:343: error: syntax error before "_use_keypad" /usr/include/ncurses.h:370: error: syntax error before '}' token /usr/include/ncurses.h:391: error: syntax error before "is_term_resized" /usr/include/ncurses.h:397: error: syntax error before "bool" /usr/include/ncurses.h:519: error: syntax error before "can_change_color" /usr/include/ncurses.h:523: error: syntax error before "bool" /usr/include/ncurses.h:555: error: syntax error before "has_colors" /usr/include/ncurses.h:556: error: syntax error before "has_ic" /usr/include/ncurses.h:557: error: syntax error before "has_il" /usr/include/ncurses.h:559: error: syntax error before "bool" /usr/include/ncurses.h:560: error: syntax error before "bool" /usr/include/ncurses.h:561: error: syntax error before "bool" /usr/include/ncurses.h:575: error: syntax error before "bool" /usr/include/ncurses.h:576: error: syntax error before "isendwin" /usr/include/ncurses.h:577: error: syntax error before "is_linetouched" /usr/include/ncurses.h:578: error: syntax error before "is_wintouched" /usr/include/ncurses.h:580: error: syntax error before "bool" /usr/include/ncurses.h:582: error: syntax error before "bool" /usr/include/ncurses.h:584: error: syntax error before "bool" /usr/include/ncurses.h:643: error: syntax error before "bool" /usr/include/ncurses.h:648: error: syntax error before "bool" /usr/include/ncurses.h:675: error: syntax error before "bool" /usr/include/ncurses.h:701: error: syntax error before "bool" /usr/include/ncurses.h:1172: error: syntax error before "wenclose" /usr/include/ncurses.h:1174: error: syntax error before "wmouse_trafo" /usr/include/ncurses.h:1174: error: syntax error before "bool" /usr/include/ncurses.h:1175: error: syntax error before "mouse_trafo" /usr/include/ncurses.h:1175: error: syntax error before "bool" main-gcu.c: In function `Term_xtra_gcu_alive': main-gcu.c:290: error: dereferencing pointer to incomplete type main-gcu.c:290: error: dereferencing pointer to incomplete type main-gcu.c:290: warning: left-hand operand of comma expression has no effect main-gcu.c: In function `Term_nuke_gcu': main-gcu.c:383: error: dereferencing pointer to incomplete type main-gcu.c:383: error: dereferencing pointer to incomplete type main-gcu.c:383: warning: left-hand operand of comma expression has no effect main-gcu.c: In function `Term_xtra_gcu': main-gcu.c:505: error: dereferencing pointer to incomplete type main-gcu.c: In function `Term_text_gcu': main-gcu.c:616: error: dereferencing pointer to incomplete type main-gcu.c:630: error: dereferencing pointer to incomplete type main-gcu.c: In function `init_gcu': main-gcu.c:712: error: `bool' undeclared (first use in this function) main-gcu.c:712: error: (Each undeclared identifier is reported only once main-gcu.c:712: error: for each function it appears in.) main-gcu.c:712: error: syntax error before "use_big_screen" main-gcu.c:720: error: `use_big_screen' undeclared (first use in this function) main-gcu.c: In function `Term_nuke_gcu': main-gcu.c:383: warning: statement with no effect make[4]: *** [main-gcu.o] Error 1 make[4]: Leaving directory `/home/storm/angband-3.0.9b/src' make[3]: *** [build] Error 2 make[3]: Leaving directory `/home/storm/angband-3.0.9b/src' make[2]: *** [build] Error 2 make[2]: Leaving directory `/home/storm/angband-3.0.9b' make[1]: *** [debian/stamp/build/angband] Error 2 make[1]: Leaving directory `/home/storm/angband-3.0.9b' make: *** [debian/stamp/do-build-arch] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Code:
make[5]: Entering directory `/home/storm/angband-3.1.1.1626/src' cc1: error: unrecognized command line option "-Wno-missing-field-initializers" Failed to compile attack.c! make[5]: *** [attack.o] Error 1 make[5]: Leaving directory `/home/storm/angband-3.1.1.1626/src' make[4]: *** [all] Error 1 make[4]: Leaving directory `/home/storm/angband-3.1.1.1626/src' make[3]: *** [subdirs] Error 1 make[3]: Leaving directory `/home/storm/angband-3.1.1.1626' make[2]: *** [all] Error 1 make[2]: Leaving directory `/home/storm/angband-3.1.1.1626' make[1]: *** [debian/stamp/build/angband] Error 2 make[1]: Leaving directory `/home/storm/angband-3.1.1.1626' make: *** [debian/stamp/do-build-arch] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2
Thanks in advance,
--vr
Comment