[CF-Devel] compile error
crossfire-devel-admin at archives.real-time.com
crossfire-devel-admin at archives.real-time.com
Thu May 29 09:24:41 CDT 2003
Trying to compile crossfire from crossfire-1.3.0.tar.gz (from the
real-time ftp site), I got the error that follows. I included a few
lines before and after, but it you need more info I can send you the
whole shebang.
I also got errors in the 'make depend' stage .. I'll include those after
this section.
I'm running RedHat 7.3 with whatever updates I've found using the Ximian
Red Carpet updater.
--------------------------------------------
gcc -g -O2 -I../include -I./../include -c time.c
gcc -g -O2 -I../include -I./../include -c timers.c
gcc -g -O2 -I../include -I./../include -c weather.c
/bin/rm -f crossfire
gcc -o crossfire alchemy.o apply.o attack.o ban.o c_chat.o c_misc.o
c_move.o c_new.o c_object.o c_party.o c_range.o c_wiz.o commands.o
daemon.o disease.o egoitem.o hiscore.o gods.o init.o login.o main.o
monster.o move.o pets.o player.o plugins.o resurrection.o rune.o shop.o
skills.o skill_util.o spell_effect.o spell_util.o swamp.o swap.o time.o
timers.o weather.o ../common/libcross.a ../random_maps/random_map.a
../socket/socket.a -ldl -ldmalloclp -lcrypt -lm -lnsl
../socket/socket.a(metaserver.o): In function `metaserver_update':
/home/bunky/crossfire-1.3.0/socket/metaserver.c:131: undefined reference
to `cst_tot'
/home/bunky/crossfire-1.3.0/socket/metaserver.c:131: undefined reference
to `cst_tot'
/home/bunky/crossfire-1.3.0/socket/metaserver.c:131: undefined reference
to `cst_tot'
collect2: ld returned 1 exit status
make[1]: *** [crossfire] Error 1
make[1]: Leaving directory `/home/bunky/crossfire-1.3.0/server'
making all in include...
make[1]: Entering directory `/home/bunky/crossfire-1.3.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/bunky/crossfire-1.3.0/include'
making all in lib...
make[1]: Entering directory `/home/bunky/crossfire-1.3.0/lib'
make[1]: Nothing to be done for `all'.
----------------------------------------------
Ok, now, in the 'make depend'. I seem to be missing plugin-python.h,
but since it was only a warning I wasn't very concerned. This did
bother me, but it seems to be unrelated since it's in crossedit.
Anyway, figured you might want to know:
make[1]: Entering directory `/home/bunky/crossfire-1.3.0/plugin'
/usr/bin/X11/makedepend -- -g -O2 -I../include -I./../include
-I./include -I../include -- plugin_python.c
/usr/bin/X11/makedepend: warning: plugin_python.c, line 32: cannot find
include file "plugin_python.h"
not in ../include/plugin_python.h
not in ./../include/plugin_python.h
not in ./include/plugin_python.h
not in ../include/plugin_python.h
not in /usr/local/lib/gcc-include/plugin_python.h
not in /usr/include/plugin_python.h
not in /usr/lib/gcc-lib/i386-redhat-linux/2.96/include/plugin_python.h
make[1]: Leaving directory `/home/bunky/crossfire-1.3.0/plugin'
making depend in crossedit...
make[1]: Entering directory `/home/bunky/crossfire-1.3.0/crossedit'
makedepend -- -g -O2 -I/usr/X11R6/include/ -I../include -I. -Iinclude
-I./../include -I. -I./include -ICnv -I./Cnv -I../include -Iinclude
-ICnv -I. -- crossedit.c Attr.c CrFace.c CrEdit.c CrList.c CrUtil.c
Edit.c App.c Bitmaps.c Str.c xutil.c
"/usr/include/assert.h":104: defined __cplusplus ? __GNUC_PREREQ (2, 6)
:
__GNUC_PREREQ (2, 4)
^---
expecting :
(cd Cnv; make depend)
make[2]: Entering directory `/home/bunky/crossfire-1.3.0/crossedit/Cnv'
/usr/bin/X11/makedepend -- -I/usr/X11R6/include -I../include -I.
-I../../include -- test.c CnvUtil.c CnvBrowse.c CnvNotify.c CnvMenu.c
CnvFiles.c CnvPath.c CnvPrompt.c
"/usr/include/assert.h":104: defined __cplusplus ? __GNUC_PREREQ (2, 6)
:
__GNUC_PREREQ (2, 4)
^---
expecting :
make[2]: Leaving directory `/home/bunky/crossfire-1.3.0/crossedit/Cnv'
make[1]: Leaving directory `/home/bunky/crossfire-1.3.0/crossedit'
_______________________________________________
crossfire-devel mailing list
crossfire-devel at lists.real-time.com
https://mailman.real-time.com/mailman/listinfo/crossfire-devel
More information about the crossfire
mailing list