This is the mail archive of the xconq7@sources.redhat.com mailing list for the Xconq project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem compiling new version of ai_plan_research


Lincoln Peters wrote:

gcc -o xconq -g -O2 -ansi -pedantic -g   -DHAVE_ACDEFS_H -I. -I./.. -I./../kernel -I./../missing -I/usr/include/tcl8.4 -I/usr/include/tcl8.4/tk-private/generic    -I/usr/X11R6/include    -L/usr/X11R6/lib tkunix.o ./libtkui.a ./libtkimf.a  ../kernel/libconq.a ../kernel/libconqlow.a ../missing/libmissing.a -lXext -lXmu -lX11  -L/usr/lib -ltcl8.4 -L/usr/lib -ltk8.4  -L/usr/X11R6/lib -lX11 -ldl -lpthread -lieee -lm -ldl
../kernel/libconq.a(ai.o)(.text+0x47ad): In function `ai_plan_research':
/home/lincoln/Projects/xconq/xconq/kernel/ai.c:1811: undefined reference to `ua_multiply_production'
../kernel/libconq.a(ai.o)(.text+0x47bc):/home/lincoln/Projects/xconq/xconq/kernel/ai.c:1812: undefined reference to `ua_multiply_production'
../kernel/libconq.a(ai.o)(.text+0x47cb):/home/lincoln/Projects/xconq/xconq/kernel/ai.c:1817: undefined reference to `ua_add_production'
../kernel/libconq.a(ai.o)(.text+0x47f0):/home/lincoln/Projects/xconq/xconq/kernel/ai.c:1813: undefined reference to `ua_multiply_production'
../kernel/libconq.a(ai.o)(.text+0x4805):/home/lincoln/Projects/xconq/xconq/kernel/ai.c:1814: undefined reference to `ua_multiply_production'

These tables are not listed in 'kernel/table.def'. If you want to get a list of what is supported, then just search for "DEF_UA" and "DEF_AA" in that file.


One thing I do notice about the remaining errors is that they all
involve parts of the code that are (supposed to be) implemented but are
not used in any existing game modules.  Could that have something to do
with the errors?

Hmmm... They do appear in the documentation but not in the code. Looks like yet another occurance of inconsistent docs and code.


Eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]