What steps will reproduce the problem?
1. Follow the README(./nethack-3.4.3/sys/android/README) of building Nethack
for Android.
2. There is an compiling error as the following when 'make APP=NetHackNative'
is issued.
SharedLibrary :
libnethack.so./out/apps/NetHackNative/armeabi/objs/nethack/__/sys/share/unixtty.
o: In function `init_linux_cons':
./src/android_app_src/nethack-android-read-only/nethack-3.4.3/sys/android/NetHac
kNative/nethack/../sys/share/unixtty.c:429: undefined reference to `has_colors'
collect2: ld returned 1 exit status
make: *** [out/apps/NetHackNative/armeabi/libnethack.so] Error 1
The error is happened on both MacOSX 10.7.5 and Ubuntu 12.04
I add #undef TEXTCOLOR in unixtty.c, and the issue is fixed.
Is there any better solution for this issue?
Thank you.
Original issue reported on code.google.com by weilo...@gmail.com on 9 Nov 2012 at 4:19
Original issue reported on code.google.com by
weilo...@gmail.com
on 9 Nov 2012 at 4:19