Alex777
Still Fresh
- Joined
- Sep 2, 2008
- Messages
- 95
I'm trying to compile the newer version of Crawl, and I get the following strange link errors:
Crawl doesn't even use the mouse, why is it complaining about it? It looks like libncursesw is trying to use it, but why?
Code:
LINK crawl
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/libncursesw.a when searching for -lncursesw
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libncursesw.a(lib_mouse.o): In function `enable_gpm_mouse':
(.text+0x664): undefined reference to `Gpm_Close'
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libncursesw.a(lib_mouse.o): In function `enable_gpm_mouse':
(.text+0x6a8): undefined reference to `Gpm_Open'
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libncursesw.a(lib_mouse.o): In function `initialize_mousetype':
(.text+0x87c): undefined reference to `gpm_fd'
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libncursesw.a(lib_mouse.o): In function `mouse_activate':
(.text+0xa20): undefined reference to `gpm_fd'
/usr/local/angstrom/arm/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/lib/libncursesw.a(lib_mouse.o): In function `_nc_mouse_event':
(.text+0xd78): undefined reference to `Gpm_GetEvent'
collect2: ld returned 1 exit status
make: *** [crawl] Error 1
Crawl doesn't even use the mouse, why is it complaining about it? It looks like libncursesw is trying to use it, but why?