Login
User Name:

Password:



Register
Forgot your password?
LOP 1.39r1
Author: Remcon
Submitted by: Remcon
Yaeger areas
Author: Yaeger
Submitted by: Cyberthrope
The City of Anon
Author: Yaeger
Submitted by: Cyberthrope
The Walls of Anon - Smaug
Author: Yaeger
Submitted by: Cyberthrope
LOP 1.39
Author: Remcon
Submitted by: Remcon
CommonCrawl, Yandex, Bing, Yahoo!

Members: 0
Guests: 2
Stats
Files
Topics
Posts
Members
Newest Member
375
3,323
16,512
561
Aurin
Affiliates
Smaug Building Institute Arthmoor
» 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 bottom of the page Go to the top of the page


tphegley
Magician
GroupMembers
Posts172
JoinedMay 21, 2006
WWW AIM Yahoo

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. .........................
Owner/Coder

Legends of Old
Currently in Development
       
Post is unread #2 Dec 4, 2008, 2:13 pm
Go to the bottom of the page Go to the top of the page


David Haley
Sorcerer
GroupMembers
Posts902
JoinedJan 29, 2007
WWW

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? .........................
David Haley
Head Coder, Legends of the Darkstone
BabbleMUD Project
http://david.the-haleys.org
       
Post is unread #3 Dec 4, 2008, 5:26 pm   Last edited Dec 4, 2008, 5:27 pm by tphegley
Go to the bottom of the page Go to the top of the page


tphegley
Magician
GroupMembers
Posts172
JoinedMay 21, 2006
WWW AIM Yahoo

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. .........................
Owner/Coder

Legends of Old
Currently in Development
       
Post is unread #4 Dec 4, 2008, 6:25 pm
Go to the bottom of the page Go to the top of the page


Zeno
Sorcerer
GroupMembers
Posts640
JoinedMar 5, 2005
WWW AIM Yahoo MSN Skype

Source or Makefile. :)

Have you looked in the source? .........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy (BIYG)
Project CR: coming soon
Want to learn Smaug building? Smaug Institute
       
Post is unread #5 Dec 4, 2008, 6:59 pm
Go to the bottom of the page Go to the top of the page


tphegley
Magician
GroupMembers
Posts172
JoinedMay 21, 2006
WWW AIM Yahoo


Zeno said:

Source or Makefile. :)

Have you looked in the source?


I grepped in the src folder for weakref and found nothing. .........................
Owner/Coder

Legends of Old
Currently in Development
       
Post is unread #6 Dec 4, 2008, 8:46 pm
Go to the bottom of the page Go to the top of the page


Keberus
Conjurer
GroupFUSS Project Team
Posts341
JoinedJun 4, 2005
WWW AIM MSN

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 .........................
Co-Owner/ Coder
Star Wars: Infinite Galaxy
www.t-n-k-games.com
       
Post is unread #7 Dec 4, 2008, 8:59 pm
Go to the bottom of the page Go to the top of the page


Zeno
Sorcerer
GroupMembers
Posts640
JoinedMar 5, 2005
WWW AIM Yahoo MSN Skype

Server has never even had binutils. Unless I'm missing something. The server has ld and as... .........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy (BIYG)
Project CR: coming soon
Want to learn Smaug building? Smaug Institute
       
Post is unread #8 Dec 12, 2008, 2:57 am
Go to the bottom of the page Go to the top of the page


Samson
Scaly but Handsome
GroupAdministrators
Posts3,434
JoinedJan 1, 2002
WWW

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. .........................
PDNS-Admin | Sandbox | Arthmoor MUD Hosting Services | The Truth About Medievia: A Saga of Code Theft.

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
       
Post is unread #9 Dec 20, 2008, 12:11 pm
Go to the bottom of the page Go to the top of the page


Zeno
Sorcerer
GroupMembers
Posts640
JoinedMar 5, 2005
WWW AIM Yahoo MSN Skype

SmaugFUSS compiles just fine on this server, so... I have no idea. .........................
-Zeno McDohl,
Owner of Bleached InuYasha Galaxy (BIYG)
Project CR: coming soon
Want to learn Smaug building? Smaug Institute
       
Pages:<< prev 1 next >>

 
Contact Us