Thread: Nethack
View Single Post
Posts: 66 | Thanked: 3 times | Joined on Dec 2005
#9
Anyone tried compiling under the newly released maemo 1.1? did it/would it make any difference?

I did, although I am NOT a linux C guru, I know just enough to mess everything up royaly. I got an error on the compile (after about 5 minutes)

cc -O -I../include -c ../win/tty/wintty.c
cc -O -I../include `pkg-config gtk+-2.0 --cflags` `pkg-config hildon-libs --cflags` `pkg-config libosso --cflags` `pkg-config dbus-1 --cflags` -c ../win/gtk2/g2bind.c
cc -O -I../include `pkg-config gtk+-2.0 --cflags` `pkg-config hildon-libs --cflags` `pkg-config libosso --cflags` `pkg-config dbus-1 --cflags` -c ../win/gtk2/g2main.c
In file included from /usr/include/gtk-2.0/gdk/gdkx.h:33,
from /usr/include/hildon-lgpl/hildon-widgets/hildon-appview.h:34,
from /usr/include/hildon-lgpl/hildon-widgets/hildon-app.h:29,
from ../win/gtk2/g2main.c:24:
/usr/X11R6/include/X11/Xlib.h:82: error: conflicting types for `wchar_t'
/scratchbox/compilers/i686-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/lib/gcc-lib/i686-linux/3.3.4/include/stddef.h:325: error: previous declaration of `wchar_t'
make[3]: *** [g2main.o] Error 1
make[3]: Leaving directory `/targets/SDK_PC/usr/src/nethack_osso/nethack-3.4.3/src'
make[2]: *** [nethack] Error 2
make[2]: Leaving directory `/targets/SDK_PC/usr/src/nethack_osso/nethack-3.4.3'
make[1]: *** [nethack-3.4.3/src/nethack] Error 2
make[1]: Leaving directory `/targets/SDK_PC/usr/src/nethack_osso'
make: *** [build-stamp] Error 2
Ideas? Would it even mater if I did get it compiled?

-Jason