Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
AFKMud 2.1.6 Released
Oct 29, 2014, 5:41 pm
By Quixadhal
IPv6
Oct 27, 2014, 4:40 pm
By GatewaySysop
Leak - do_skin
Oct 26, 2014, 1:22 am
By GatewaySysop
levels of skill/spell mastery
Oct 19, 2014, 8:52 am
By Remcon
key'd area format
Sep 7, 2014, 8:55 pm
By Remcon
AFKMud 2.1.6
Author: AFKMud Team
Submitted by: Samson
6D update
Author: Vladaar
Submitted by: Vladaar
Area_Version
Author: Rafermand
Submitted by: Vladaar
4 Liberty
Author: Vladaar
Submitted by: Vladaar
SWR 1.2 FUSS with Account System
Author: Amras
Submitted by: Amras
Users Online
CommonCrawl, AhrefsBot, Baiduspider, Google

Members: 0
Guests: 85
Stats
Files
Topics
Posts
Members
Newest Member
452
3,639
19,009
568
genlath
Today's Birthdays
There are no member birthdays today.
Related Links
Smaug Building Institute
» 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,598
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
Posts235
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 >>

 
Contact Us