[CF-Devel] crossfire compilation errors

Orahood, J. Andrew jorahood at indiana.edu
Fri Feb 8 09:46:46 CST 2002


Crossfire version: 1.0.0
computer: Intel PIII
OS: Red Hat 7.1 2.96-85
Windowing system: XFree86
Compiler: gcc 2.96 20000731
flags: --prefix=/usr/local/

making all in common...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/common'
gcc -g -O2   -I../include -I./../include  -c anim.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from anim.c:31:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from anim.c:31:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
make[1]: *** [anim.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/common'
making all in random_maps...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/random_maps'
gcc -g -O2   -I../include -I. -c random_map.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from random_map.c:31:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from random_map.c:31:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
make[1]: *** [random_map.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/random_maps'
making all in socket...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/socket'
gcc -g -O2   -I../include -I./../include  -c info.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from info.c:10:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from info.c:10:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
make[1]: *** [info.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/socket'
making all in server...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/server'
gcc -g -O2   -I../include -I./../include -c alchemy.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from alchemy.c:4:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from alchemy.c:4:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
make[1]: *** [alchemy.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/server'
making all in include...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/include'
making all in lib...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/lib'
making all in utils...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/utils'
making all in doc...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/doc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/doc'
making all in crossedit...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/crossedit'
gcc -g -O2  -I/usr/X11R6/include/  -I../include -I. -Iinclude -I./../include
-I. -I./include -ICnv -I./Cnv   -I../include -I. -Iinclude -ICnv -c
crossedit.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from Defines.h:7,
                 from App.h:28,
                 from crossedit.c:23:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from Defines.h:7,
                 from App.h:28,
                 from crossedit.c:23:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
In file included from Cnv/Cnv.h:28,
                 from Edit.h:5,
                 from App.h:29,
                 from crossedit.c:23:
../include/config.h:114: parse error before `ALCHEMY'
In file included from Edit.h:5,
                 from App.h:29,
                 from crossedit.c:23:
Cnv/Cnv.h:43: parse error before `}'
Cnv/Cnv.h:43: warning: data definition has no type or storage class
Cnv/Cnv.h:44: parse error before `CnvMenuRec'
make[1]: *** [crossedit.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/crossedit'
make: *** [all] Error 2
[
     
     root at globbo
     
      crossfire-1.0.0]# make install
making install in common...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/common'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/common'
making install in random_maps...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/random_maps'
gcc -g -O2   -I../include -I. -c random_map.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from random_map.c:31:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from random_map.c:31:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
make[1]: *** [random_map.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/random_maps'
making install in socket...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/socket'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/socket'
making install in server...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/server'
gcc -g -O2   -I../include -I./../include -c alchemy.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from alchemy.c:4:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from alchemy.c:4:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
make[1]: *** [alchemy.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/server'
making install in include...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/include'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/include'
making install in lib...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/lib'
if [ ! -d /usr/local/crossfire/share/crossfire/help ]; then \
        echo "Creating directory /usr/local/crossfire/share/crossfire/help";
\
        /bin/mkdir -p /usr/local/crossfire/share/crossfire/help; \
fi;
Creating directory /usr/local/crossfire/share/crossfire/help
Installing ./help/apply
Installing ./help/bind
Installing ./help/cast
Installing ./help/golem
Installing ./help/invoke
Installing ./help/keys
Installing ./help/mark
Installing ./help/melee
Installing ./help/mouse
Installing ./help/move
Installing ./help/name
Installing ./help/output
Installing ./help/output-count
Installing ./help/output-sync
Installing ./help/party
Installing ./help/pickup
Installing ./help/quit
Installing ./help/range
Installing ./help/save
Installing ./help/sort_inventory
Installing ./help/spells
Installing ./help/statistics
Installing ./help/take
Installing ./help/traps
Installing ./help/unbind
Installing ./help/usekeys
Installing ./artifacts
Installing ./ban_file
Installing ./def_help
Installing ./dm_file
Installing ./forbid
Installing ./formulae
Installing ./messages
Installing ./motd
Installing ./races
Installing ./skill_params
Installing ./spell_params
Installing ./treasures
Installing ./animations
Installing ./archetypes
Installing ./bmaps
Installing ./bmaps.paths
Installing ./crossfire.xpm
Installing ./faces
Installing ./crossfire.xbm
Installing ./crossfire.png
Installing ./xpmtopix.pl
Installing ./collect.pl
Installing ./util.pl
touch /usr/local/crossfire/var/crossfire/highscore
touch /usr/local/crossfire/var/crossfire/bookarch
touch /usr/local/crossfire/var/crossfire/temp.maps
Creating directory /usr/local/crossfire/var/crossfire/players
Creating directory /usr/local/crossfire/var/crossfire/unique-items
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/lib'
making install in utils...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/utils'
/bin/mkdir: `/usr/local/crossfire/bin' exists but is not a directory
make[1]: *** [install] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/utils'
making install in doc...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/doc'
/usr/bin/install -c ./crossedit.man
/usr/local/crossfire/man/man6/crossedit.6
/usr/bin/install -c ./crossfire.man
/usr/local/crossfire/man/man6/crossfire.6
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/doc'
making install in crossedit...
make[1]: Entering directory `/usr/local/src/crossfire-1.0.0/crossedit'
gcc -g -O2  -I/usr/X11R6/include/  -I../include -I. -Iinclude -I./../include
-I. -I./include -ICnv -I./Cnv   -I../include -I. -Iinclude -ICnv -c
crossedit.c
In file included from ../include/includes.h:100,
                 from ../include/global.h:36,
                 from Defines.h:7,
                 from App.h:28,
                 from crossedit.c:23:
../include/config.h:114: parse error before `ALCHEMY'
In file included from ../include/includes.h:101,
                 from ../include/global.h:36,
                 from Defines.h:7,
                 from App.h:28,
                 from crossedit.c:23:
../include/define.h:620: `maxlen' undeclared here (not in a function)
../include/define.h:620: size of array `dest' has non-integer type
../include/define.h:620: invalid initializer
../include/define.h:620: warning: data definition has no type or storage
class
../include/define.h:621: parse error before `+='
In file included from Cnv/Cnv.h:28,
                 from Edit.h:5,
                 from App.h:29,
                 from crossedit.c:23:
../include/config.h:114: parse error before `ALCHEMY'
In file included from Edit.h:5,
                 from App.h:29,
                 from crossedit.c:23:
Cnv/Cnv.h:43: parse error before `}'
Cnv/Cnv.h:43: warning: data definition has no type or storage class
Cnv/Cnv.h:44: parse error before `CnvMenuRec'
make[1]: *** [crossedit.o] Error 1
make[1]: Leaving directory `/usr/local/src/crossfire-1.0.0/crossedit'
make: *** [install] Error 2


Thanks,
Andy
 

    
    


More information about the crossfire mailing list