Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Majestic-12

Members: 0
Guests: 8
Stats
Files
Topics
Posts
Members
Newest Member
481
3,740
19,387
627
MargoThurb
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 >>