Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
Bug in will_fall( )
Oct 23, 2017, 1:35 am
By GatewaySysop
Bug in do_zap( ), do_brandish( )
Oct 18, 2017, 1:52 pm
By GatewaySysop
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Memwatch
Author: Johan Lindh
Submitted by: Vladaar
Users Online
CommonCrawl, DotBot

Members: 0
Guests: 12
Stats
Files
Topics
Posts
Members
Newest Member
477
3,705
19,232
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Compile Problem
Forum Rules | Mark all | Recent Posts

Compile Problem
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Dec 4, 2008, 1:29 pm   Last edited Dec 4, 2008, 1:30 pm by tphegley
Go to the top of the page
Go to the bottom of the page

tphegley
Magician
GroupMembers
Posts176
JoinedMay 21, 2006

Zeno just switched his gcc to the new gcc and now afkmud doesn't compile correctly.

here are the errors:

Building AFKMud....
make -j2 -s afkmud
  Compiling o/imc.o....
  Compiling o/act_comm.o....
{standard input}: Assembler messages:
{standard input}:13527: Error: unknown pseudo-op: `.weakref'
{standard input}:13528: Error: unknown pseudo-op: `.weakref'
{standard input}:13529: Error: unknown pseudo-op: `.weakref'
{standard input}:13530: Error: unknown pseudo-op: `.weakref'
{standard input}:13531: Error: unknown pseudo-op: `.weakref'
{standard input}:13532: Error: unknown pseudo-op: `.weakref'
{standard input}:13533: Error: unknown pseudo-op: `.weakref'
{standard input}:13534: Error: unknown pseudo-op: `.weakref'
{standard input}:13535: Error: unknown pseudo-op: `.weakref'
{standard input}:13536: Error: unknown pseudo-op: `.weakref'
{standard input}:13537: Error: unknown pseudo-op: `.weakref'
{standard input}:13538: Error: unknown pseudo-op: `.weakref'
{standard input}:13539: Error: unknown pseudo-op: `.weakref'
{standard input}:13540: Error: unknown pseudo-op: `.weakref'
make[1]: *** [o/act_comm.o] Error 1
make[1]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:84385: Error: unknown pseudo-op: `.weakref'
{standard input}:84386: Error: unknown pseudo-op: `.weakref'
{standard input}:84387: Error: unknown pseudo-op: `.weakref'
{standard input}:84388: Error: unknown pseudo-op: `.weakref'
{standard input}:84389: Error: unknown pseudo-op: `.weakref'
{standard input}:84390: Error: unknown pseudo-op: `.weakref'
{standard input}:84391: Error: unknown pseudo-op: `.weakref'
{standard input}:84392: Error: unknown pseudo-op: `.weakref'
{standard input}:84393: Error: unknown pseudo-op: `.weakref'
{standard input}:84394: Error: unknown pseudo-op: `.weakref'
{standard input}:84395: Error: unknown pseudo-op: `.weakref'
{standard input}:84396: Error: unknown pseudo-op: `.weakref'
{standard input}:84397: Error: unknown pseudo-op: `.weakref'
{standard input}:84398: Error: unknown pseudo-op: `.weakref'
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2


Here's what he has on his machine:
gcc         gcc-3.3.6   gcc-4.2.3   gccbug      gccmakedep
afkmud/src$ g++
g++            g++-gcc-3.3.6  g++-gcc-4.2.3


Any thoughts?

The new Smaugfuss version compiles fine.
       
Post is unread #2 Dec 4, 2008, 2:13 pm
Go to the top of the page
Go to the bottom of the page

David Haley
Sorcerer
GroupMembers
Posts903
JoinedJan 29, 2007

How bizarre that the error is in the assembler. There's no inline assembly in that file is there? And I'm assuming you did a make clean first? What does the compiler command look like? If you grep for ".weakref", does it appear anywhere in the source or makefile?
       
Post is unread #3 Dec 4, 2008, 5:26 pm   Last edited Dec 4, 2008, 5:27 pm by tphegley
Go to the top of the page
Go to the bottom of the page

tphegley
Magician
GroupMembers
Posts176
JoinedMay 21, 2006

Here's when I do make clean

*@zeno:~/*/afkmud/src$ make clean
make all
make[1]: Entering directory `/home/*/*/afkmud/src'
Building AFKMud....
make -j2 -s afkmud
make[2]: Entering directory `/home/*/*/afkmud/src'
  Compiling o/imc.o....
  Compiling o/act_comm.o....
{standard input}: Assembler messages:


weakref doesn't appear anywhere in the source of Makefile.
       
Post is unread #4 Dec 4, 2008, 6:25 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

Source or Makefile. :)

Have you looked in the source?
       
Post is unread #5 Dec 4, 2008, 6:59 pm
Go to the top of the page
Go to the bottom of the page

tphegley
Magician
GroupMembers
Posts176
JoinedMay 21, 2006


Zeno said:

Source or Makefile. :)

Have you looked in the source?


I grepped in the src folder for weakref and found nothing.
       
Post is unread #6 Dec 4, 2008, 8:46 pm
Go to the top of the page
Go to the bottom of the page

Keberus
Conjurer
GroupFUSS Project Team
Posts341
JoinedJun 4, 2005

Not sure if this will help but I did some googling for you and found this link.

It along with one or two other sites I saw seems to suggest updating binutils.

Hope it helps fix your problem,
KeB
       
Post is unread #7 Dec 4, 2008, 8:59 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

Server has never even had binutils. Unless I'm missing something. The server has ld and as...
       
Post is unread #8 Dec 12, 2008, 2:57 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Certainly a new one on me. My servers have had the latest gcc now for awhile and that hasn't come up before. Then again, binutils was installed already and has been getting whatever updates come down the pipeline.
       
Post is unread #9 Dec 20, 2008, 12:11 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

SmaugFUSS compiles just fine on this server, so... I have no idea.
       
Pages:<< prev 1 next >>