Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
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
Users Online
CommonCrawl, Yandex, Bing

Members: 0
Guests: 13
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
614
BenitoVirg
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Afkmud wont compile, please h...
Forum Rules | Mark all | Recent Posts

Afkmud wont compile, please help
< Newer Topic :: Older Topic > Afkmud

Pages:<< prev 1 next >>
Post is unread #1 Nov 4, 2002, 3:18 pm
Go to the top of the page
Go to the bottom of the page

Necrucian

GroupMembers
Posts2
JoinedNov 4, 2002

Here is the compile Errors I am getting: I am useing a Linux base Server.

make -s smaug
Compiling o/afk.o....
cc1: Invalid option `cpu=athlon'
cc1: Invalid option `arch=athlon'
In file included from afk.c:26:
mud.h:34: bfd.h: No such file or directory
mud.h:35: libiberty.h: No such file or directory
In file included from afk.c:26:
mud.h:3498: parse error before `*'
mud.h:3498: warning: data definition has no type or storage class
mud.h:3499: parse error before `*'
mud.h:3499: warning: data definition has no type or storage class
afk.c: In function `do_listdos':
afk.c:1387: `asection' undeclared (first use this function)
afk.c:1387: (Each undeclared identifier is reported only once
afk.c:1387: for each function it appears in.)
afk.c:1387: `s' undeclared (first use this function)
afk.c:1387: warning: statement with no effect
afk.c:1389: warning: implicit declaration of function `bfd_get_section_by_name'
afk.c:1392: request for member `section' in something not a structure or union
afk.c:1392: request for member `flags' in something not a structure or union
afk.c:1392: `BSF_FUNCTION' undeclared (first use this function)
afk.c:1394: request for member `name' in something not a structure or union
afk.c:1394: request for member `value' in something not a structure or union
afk.c:1394: request for member `section' in something not a structure or union
afk.c: In function `do_listspecs':
afk.c:1403: `asection' undeclared (first use this function)
afk.c:1403: `s' undeclared (first use this function)
afk.c:1403: warning: statement with no effect
afk.c:1408: request for member `section' in something not a structure or union
afk.c:1408: request for member `flags' in something not a structure or union
afk.c:1408: `BSF_FUNCTION' undeclared (first use this function)
afk.c:1410: request for member `name' in something not a structure or union
afk.c:1410: request for member `value' in something not a structure or union
afk.c:1410: request for member `section' in something not a structure or union
afk.c: In function `do_listspells':
afk.c:1419: `asection' undeclared (first use this function)
afk.c:1419: `s' undeclared (first use this function)
afk.c:1419: warning: statement with no effect
afk.c:1424: request for member `section' in something not a structure or union
afk.c:1424: request for member `flags' in something not a structure or union
afk.c:1424: `BSF_FUNCTION' undeclared (first use this function)
afk.c:1426: request for member `name' in something not a structure or union
afk.c:1426: request for member `value' in something not a structure or union
afk.c:1426: request for member `section' in something not a structure or union
make[1]: *** [o/afk.o] Error 1
make: *** [all] Error 2

any help would be appreciated, thanks.

Necrucian
       
Post is unread #2 Nov 5, 2002, 2:21 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002


cc1: Invalid option `cpu=athlon'
cc1: Invalid option `arch=athlon'


Easily solved - go to the top end of the Makefile and comment out the MACHINE line by placing a # in front of the word MACHINE.


mud.h:34: bfd.h: No such file or directory
mud.h:35: libiberty.h: No such file or directory


Not so easily solved. Your system administrator needs to setup binutils. The codebase required BFD to operate, check your readme files for more details on that.
       
Pages:<< prev 1 next >>