Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
help fighting
Apr 16, 2015, 5:38 pm
By dbna2
The future of MUDs?
Apr 14, 2015, 8:48 pm
By Quixadhal
a "pcrename" equivalent in SWFOTE FUSS?
Mar 27, 2015, 6:48 pm
By ayuri
help problem
Mar 18, 2015, 3:11 am
By Remcon
world builders
Feb 1, 2015, 4:00 am
By ardentcrest
6D Tradeskills sounds
Author: Vladaar
Submitted by: Vladaar
6D Communication sounds
Author: Vladaar
Submitted by: Vladaar
6D Battle sounds
Author: Vladaar
Submitted by: Vladaar
6D Music sounds
Author: Vladaar
Submitted by: Vladaar
6D Sound Pack
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yahoo!, Exalead

Members: 0
Guests: 16
Stats
Files
Topics
Posts
Members
Newest Member
462
3,661
19,099
570
Dracmas
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » 2.14 Compile problems
Forum Rules | Mark all | Recent Posts

2.14 Compile problems
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jan 25, 2011, 6:01 pm
Go to the top of the page
Go to the bottom of the page

parricc
Fledgling
GroupMembers
Posts1
JoinedJan 25, 2011

Would anyone be able to help me out? Whenever I try to compile, I get the following errors:

Building AFKMud....
make -j2 -s afkmud
Compiling o/imc.o....
Compiling o/act_comm.o....
Compiling o/act_info.o....
{standard input}: Assembler messages:
{standard input}:76281: Warning: end of file not at end of a line; newline inserted
{standard input}:76659: Error: unknown pseudo-op: `.ule'
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[1]: *** [o/act_info.o] Error 1
make[1]: *** Waiting for unfinished jobs....
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2

The server I am using runs Ubuntu and has g++ version 4.4.3. I'm not sure what's going wrong. Thanks to anyone who can help! :lol:
       
Post is unread #2 Jan 25, 2011, 7:42 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,628
JoinedJan 1, 2002

Got me, that looks pretty serious. Maybe you should follow the advice the compiler is giving you and file a bug report with the GCC guys? It's very clearly something internal to the compiler that likely has nothing to do with the codebase.
       
Post is unread #3 Jan 26, 2011, 10:28 pm   Last edited Jan 26, 2011, 10:30 pm by ayuri
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts237
JoinedJun 13, 2008

Just tried to build 2.1.4 on Ubuntu 10.04.1 gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) with no problems other than a few warnings.

Could be your gcc install is messed up.

Make log:
Building AFKMud....
make -j2 -s afkmud
  Compiling o/imc.o....
  Compiling o/act_comm.o....
  Compiling o/act_info.o....
  Compiling o/act_move.o....
  Compiling o/act_obj.o....
  Compiling o/act_wiz.o....
  Compiling o/archery.o....
  Compiling o/area.o....
  Compiling o/areaconvert.o....
  Compiling o/auction.o....
  Compiling o/ban.o....
  Compiling o/bits.o....
  Compiling o/boards.o....
boards.cpp: In function "void load_boards()":
boards.cpp:1132: warning: ignoring return value of "int system(const char*)", de           clared with attribute warn_unused_result
  Compiling o/build.o....
  Compiling o/calendar.o....
  Compiling o/channels.o....
  Compiling o/character.o....
  Compiling o/chess.o....
  Compiling o/clans.o....
  Compiling o/color.o....
  Compiling o/comm.o....
comm.cpp: In function "void directory_check()":
comm.cpp:234: warning: ignoring return value of "int chdir(const char*)", declar           ed with attribute warn_unused_result
comm.cpp:241: warning: ignoring return value of "int chdir(const char*)", declar           ed with attribute warn_unused_result
comm.cpp:242: warning: ignoring return value of "int system(const char*)", decla           red with attribute warn_unused_result
  Compiling o/commands.o....
  Compiling o/comments.o....
  Compiling o/connhist.o....
  Compiling o/const.o....
  Compiling o/db.o....
  Compiling o/deity.o....
  Compiling o/descriptor.o....
  Compiling o/editor.o....
  Compiling o/environment.o....
  Compiling o/event.o....
  Compiling o/event_handler.o....
  Compiling o/features.o....
  Compiling o/fight.o....
  Compiling o/finger.o....
  Compiling o/handler.o....
  Compiling o/hashstr.o....
  Compiling o/help.o....
  Compiling o/hotboot.o....
hotboot.cpp: In function "void hotboot_recover()":
hotboot.cpp:792: warning: ignoring return value of "int fscanf(FILE*, const char           *, ...)", declared with attribute warn_unused_result
  Compiling o/imm_host.o....
  Compiling o/liquids.o....
  Compiling o/magic.o....
  Compiling o/mapout.o....
  Compiling o/mapper.o....
  Compiling o/md5.o....
  Compiling o/misc.o....
  Compiling o/mobindex.o....
  Compiling o/modules.o....
  Compiling o/mspecial.o....
  Compiling o/mssp.o....
  Compiling o/mudcfg.o....
  Compiling o/mud_comm.o....
  Compiling o/mud_prog.o....
  Compiling o/new_auth.o....
  Compiling o/object.o....
new_auth.cpp: In function "void name_generator(std::string&)":
new_auth.cpp:76: warning: ignoring return value of "char* fgets(char*, int, FILE           *)", declared with attribute warn_unused_result
new_auth.cpp:80: warning: ignoring return value of "char* fgets(char*, int, FILE           *)", declared with attribute warn_unused_result
new_auth.cpp:86: warning: ignoring return value of "char* fgets(char*, int, FILE           *)", declared with attribute warn_unused_result
new_auth.cpp:93: warning: ignoring return value of "char* fgets(char*, int, FILE           *)", declared with attribute warn_unused_result
new_auth.cpp:100: warning: ignoring return value of "char* fgets(char*, int, FIL           E*)", declared with attribute warn_unused_result
new_auth.cpp: In function "void pick_name(std::string&, const char*)":
new_auth.cpp:146: warning: ignoring return value of "char* fgets(char*, int, FIL           E*)", declared with attribute warn_unused_result
new_auth.cpp:150: warning: ignoring return value of "char* fgets(char*, int, FIL           E*)", declared with attribute warn_unused_result
new_auth.cpp:155: warning: ignoring return value of "char* fgets(char*, int, FIL           E*)", declared with attribute warn_unused_result
  Compiling o/objindex.o....
  Compiling o/olcmob.o....
  Compiling o/olcobj.o....
  Compiling o/olcroom.o....
  Compiling o/overland.o....
overland.cpp:31:16: error: gd.h: No such file or directory
  Compiling o/pfiles.o....
overland.cpp:1419: error: "gdImagePtr" was not declared in this scope
overland.cpp:1419: error: expected primary-expression before "int"
overland.cpp:1419: error: expected primary-expression before "short"
overland.cpp:1419: error: expected primary-expression before "short"
overland.cpp:1419: error: expected primary-expression before "short"
overland.cpp:1419: error: initializer expression list treated as compound expres           sion
overland.cpp:1420: error: expected "," or ";" before "{" token
overland.cpp:1426: error: "gdImagePtr" was not declared in this scope
overland.cpp:1426: error: expected primary-expression before "int"
overland.cpp:1426: error: initializer expression list treated as compound expres           sion
overland.cpp:1427: error: expected "," or ";" before "{" token
make[1]: *** [o/overland.o] Error 1
make[1]: *** Waiting for unfinished jobs....
pfiles.cpp: In function "void do_pfiles(char_data*, std::string)":
pfiles.cpp:854: warning: ignoring return value of "int system(const char*)", dec           lared with attribute warn_unused_result
pfiles.cpp: In function "void check_pfiles(time_t)":
pfiles.cpp:907: warning: ignoring return value of "int system(const char*)", dec           lared with attribute warn_unused_result
make: *** [all] Error 2


Lots of other errors (granted I'm not actually trying to build it), but try reinstalling gcc.

~ayuri
       
Pages:<< prev 1 next >>