Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
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
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
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, Google, Yahoo!, Majestic-12

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

Compile errors of AFKMUD 2.1
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Jun 9, 2008, 11:24 am
Go to the top of the page
Go to the bottom of the page

John Smith
Fledgling
GroupMembers
Posts20
JoinedMay 8, 2008

Hi,


I get compilation errors when I try to compile AFKMUD 2.1 on both Red Hat Linux 4, and OpenBSD 4.3. Does anyone have any idea what might be going on here ?

OpenBSD 4.3 :

# gmake
Building AFKMud....
gmake -s afkmud
Compiling o/imc.o....
imc.cpp: In function `int ipv4_connect()':
imc.cpp:3875: error: aggregate `sockaddr_in sa' has incomplete type and cannot
be defined
gmake[1]: *** [o/imc.o] Error 1
gmake: *** [all] Error 2




Red Hat 4 :

# make
Building AFKMud....
make -s afkmud
Compiling o/imc.o....
Compiling o/act_comm.o....
act_comm.cpp: In function `std::string act_string(const std::string&, char_data*, char_data*, const void*, const void*, int)':
act_comm.cpp:1203: warning: cast from `const void*' to `char_data*' discards qualifiers from pointer target type
act_comm.cpp:1204: warning: cast from `const void*' to `obj_data*' discards qualifiers from pointer target type
act_comm.cpp:1205: warning: cast from `const void*' to `obj_data*' discards qualifiers from pointer target type
act_comm.cpp:1252: warning: cast from `const void*' to `char*' discards qualifiers from pointer target type
act_comm.cpp:1262: warning: cast from `const void*' to `char*' discards qualifiers from pointer target type
act_comm.cpp:1357: warning: cast from `const void*' to `char*' discards qualifiers from pointer target type
act_comm.cpp:1363: warning: cast from `const void*' to `char*' discards qualifiers from pointer target type
act_comm.cpp: In function `void act(short int, const std::string&, char_data*, const void*, const void*, int)':
act_comm.cpp:1405: warning: cast from `const void*' to `char_data*' discards qualifiers from pointer target type
act_comm.cpp:1406: warning: cast from `const void*' to `char_data*' discards qualifiers from pointer target type
act_comm.cpp:1407: warning: cast from `const void*' to `obj_data*' discards qualifiers from pointer target type
act_comm.cpp:1408: warning: cast from `const void*' to `obj_data*' discards qualifiers from pointer target type
make[1]: *** [o/act_comm.o] Error 1
make: *** [all] Error 2
       
Pages:<< prev 1 next >>