Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old November 27, 2013, 00:55   #1
gangli
Rookie
 
Join Date: Nov 2013
Posts: 4
gangli is on a distinguished road
Compiling 3.4.1 fails on Debian Wheezy

This is the first time i'm poking around in Angband caverns since the olden days of the menacing presence of Thangorodrim.... and I'd love to elaborate on the countless hours wasted dungeon crawling through Zangband and Angband, but more urgent matters prompted me to have a look here. So, I'm not happy with the official Debian Wheezy package of Angband (I believe it's 3.3 something) . That's why I'm trying to compile it myself from the source ver 3.4.1

I've both ncurses and ncursesw (and both bin and dev pkgs) installed on the system (as mentioned before : Debian Wheezy, 64bit).

The "./configure" line is as follows:
Code:
CFLAGS="-O3 -mtune=native" ./configure --prefix=$HOME/local/ --with-x --with-ncurses-prefix="/lib/x86_64-linux-gnu" --with-ncurses-exec-prefix="/usr"
The make fails _after_ building main-gcu.c with the following type of error messages:

Code:
...
main-gcu.c:(.text+0x628): undefined reference to `stdscr'
main-gcu.c:(.text+0x630): undefined reference to `wgetch'
main-gcu.c:(.text+0x641): undefined reference to `cbreak'
main-gcu.c:(.text+0x667): undefined reference to `stdscr'
main-gcu.c:(.text+0x674): undefined reference to `nodelay'
main-gcu.c:(.text+0x67b): undefined reference to `stdscr'
main-gcu.c:(.text+0x683): undefined reference to `wgetch'
main-gcu.c:(.text+0x6a2): undefined reference to `stdscr'
main-gcu.c:(.text+0x6aa): undefined reference to `wgetch'
main-gcu.c:(.text+0x751): undefined reference to `ungetch'
...
Obviously some library is either missing, or its link path is missing/wrong. I hope you people can point to a solution.
gangli is offline   Reply With Quote
 

Tags
compilation, ncurses, problem


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any good browsers on Debian Squeeze? Mikko Lehtinen Idle chatter 12 April 6, 2013 08:39
3.3.2 fails to mark saves as dead when it ought to Therem Harth Vanilla 7 May 4, 2012 22:27
[3.3.2] Compiling fails under Ubuntu 11.10 raycluster Vanilla 18 February 13, 2012 10:13
3.3.2 now in Debian & Ubuntu Magnate Vanilla 2 November 27, 2011 12:45
Angband 3.1.1 available in Debian Magnate Vanilla 5 August 26, 2009 15:50


All times are GMT +1. The time now is 19:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.