[Scrymud] Compiling on Redhat 7

user mrtaylor at pcisys.net
Mon Jan 15 02:46:31 PST 2001


Hi, I been trying to compile using Redhat 7, gcc 2.96 and I received the
following errors.  What gcc version is the correct one to compile on?

I get the -fguiding-declls is no longer supported  on all the source
code.


g++       -g -D_GNU_SOURCE -fguiding-decls -fhuge-objects -Wall
-I/tmp/ScryMUD/m
ud/include -c code_gen.cc
cc1plus: warning: -fguiding-decls is no longer supported
In file included from code_gen.h:32,
                 from code_gen.cc:31:
/tmp/ScryMUD/mud/include/list2.h:582: warning: friend declaration `void
clear_pt
r_list (List<T> &)'
/tmp/ScryMUD/mud/include/list2.h:582: warning:   declares a non-template
functio
n
/tmp/ScryMUD/mud/include/list2.h:582: warning:   (if this is not what
you intend
ed, make sure the
function template has already been declared and add <> after the
function name h
ere)
/tmp/ScryMUD/mud/include/list2.h:584: warning: friend declaration `T Top
(const
List<T> &)'
/tmp/ScryMUD/mud/include/list2.h:584: warning:   declares a non-template
function
/tmp/ScryMUD/mud/include/list2.h:585: warning: friend declaration `int
IsEmpty (const List<T> &)'
/tmp/ScryMUD/mud/include/list2.h:585: warning:   declares a non-template
function
/tmp/ScryMUD/mud/include/list2.h:586: warning: friend declaration `int
HaveData
(const T &, const
List<T> &)'
/tmp/ScryMUD/mud/include/list2.h:586: warning:   declares a non-template
function
g++      -g -D_GNU_SOURCE -fguiding-decls -fhuge-objects -Wall
-I/tmp/ScryMUD/mud/include -L/tmp/ScryMUD/mud/lib  -o ./code_gen
code_gen.o -lm -lstring2 -lbitfield -lcrypt
code_gen.o: In function `LanguageEntry::clear(void)':
/tmp/ScryMUD/mud/grrmud/server/code_gen.cc:87: undefined reference to
`clear_ptr_list(List<LVPair *> &)'
collect2: ld returned 1 exit status
make: *** [code_gen] Error 1


Thank  Mark








More information about the ScryMUD mailing list