Menu

#1 Problem with plasmgen.c when compiling

open
nobody
5
2004-02-11
2004-02-11
No

Hi,

I unpacked the source, and following from the readme:

% make clean \\ no problem
% make
gcc -c -Wall -pedantic -O2 aff.c
gcc -c -Wall -pedantic -O2 alias.c
gcc -c -Wall -pedantic -O2 areagen.c
gcc -c -Wall -pedantic -O2 areagen2.c
gcc -c -Wall -pedantic -O2 auction.c
gcc -c -Wall -pedantic -O2 bank.c
gcc -c -Wall -pedantic -O2 battle.c
gcc -c -Wall -pedantic -O2 boot.c
gcc -c -Wall -pedantic -O2 cavegen.c
gcc -c -Wall -pedantic -O2 chan.c
gcc -c -Wall -pedantic -O2 citygen.c
gcc -c -Wall -pedantic -O2 citygen2.c
gcc -c -Wall -pedantic -O2 clan.c
gcc -c -Wall -pedantic -O2 consid.c
gcc -c -Wall -pedantic -O2 const.c
gcc -c -Wall -pedantic -O2 color.c
gcc -c -Wall -pedantic -O2 combatai.c
gcc -c -Wall -pedantic -O2 craft.c
gcc -c -Wall -pedantic -O2 create.c
gcc -c -Wall -pedantic -O2 dam.c
gcc -c -Wall -pedantic -O2 detailgen.c
gcc -c -Wall -pedantic -O2 disaster.c
gcc -c -Wall -pedantic -O2 edit.c
gcc -c -Wall -pedantic -O2 event.c
gcc -c -Wall -pedantic -O2 fight.c
gcc -c -Wall -pedantic -O2 fileio.c
gcc -c -Wall -pedantic -O2 follow.c
gcc -c -Wall -pedantic -O2 guild.c
gcc -c -Wall -pedantic -O2 help.c
gcc -c -Wall -pedantic -O2 historygen.c
gcc -c -Wall -pedantic -O2 implant.c
gcc -c -Wall -pedantic -O2 info.c
gcc -c -Wall -pedantic -O2 int.c
gcc -c -Wall -pedantic -O2 kde.c
gcc -c -Wall -pedantic -O2 look.c
gcc -c -Wall -pedantic -O2 magic.c
gcc -c -Wall -pedantic -O2 magicitem.c
gcc -c -Wall -pedantic -O2 map.c
gcc -c -Wall -pedantic -O2 mapgen.c
gcc -c -Wall -pedantic -O2 mobgen.c
gcc -c -Wall -pedantic -O2 money.c
gcc -c -Wall -pedantic -O2 move.c
gcc -c -Wall -pedantic -O2 myrand.c
gcc -c -Wall -pedantic -O2 note.c
gcc -c -Wall -pedantic -O2 objectgen.c
gcc -c -Wall -pedantic -O2 parse.c
gcc -c -Wall -pedantic -O2 pcio.c
gcc -c -Wall -pedantic -O2 pkdata.c
gcc -c -Wall -pedantic -O2 plasmgen.c
plasmgen.c: In function `plasmgen_export':
plasmgen.c:24: parse error before `const'
plasmgen.c:69: `colors' undeclared (first use in this
function)
plasmgen.c:69: (Each undeclared identifier is reported
only once
plasmgen.c:69: for each function it appears in.)
make: *** [plasmgen.o] Error 1

Not sure what problem is at this point. I'm nervous to
start playing with the source if I've never got the
system to compile.

Thanks,

John

Discussion


Log in to post a comment.