Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
 parse description bug
Yesterday, 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, Bing, DotBot, Yandex

Members: 0
Guests: 8
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 error
Forum Rules | Mark all | Recent Posts

Compile error
< Newer Topic :: Older Topic >

Pages:<< prev 1 next >>
Post is unread #1 Oct 16, 2008, 1:05 pm
Go to the top of the page
Go to the bottom of the page

Eirinn
Fledgling
GroupMembers
Posts3
JoinedOct 16, 2008

I feel like I'm missing something horribly simple but for the life of me can't get past these errors:

imc.c:88: warning: deprecated conversion from string constant to ‘char*’
imc.c:88: warning: deprecated conversion from string constant to ‘char*’
imc.c:88: warning: deprecated conversion from string constant to ‘char*’
imc.c:88: warning: deprecated conversion from string constant to ‘char*’
imc.c:88: warning: deprecated conversion from string constant to ‘char*’
imc.c:88: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imclog(const char*, ...)’:
imc.c:128: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcbug(const char*, ...)’:
imc.c:148: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* color_itom(const char*, CHAR_DATA*)’:
imc.c:295: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* color_mtoi(const char*)’:
imc.c:316: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_recv_tell(IMC_PACKET*, char*)’:
imc.c:1474: warning: deprecated conversion from string constant to ‘char*’
imc.c:1485: warning: deprecated conversion from string constant to ‘char*’
imc.c:1495: warning: deprecated conversion from string constant to ‘char*’
imc.c:1505: warning: deprecated conversion from string constant to ‘char*’
imc.c:1515: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_process_finger(char*, char*)’:
imc.c:2237: warning: deprecated conversion from string constant to ‘char*’
imc.c:2243: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_recv_beep(IMC_PACKET*, char*)’:
imc.c:2375: warning: deprecated conversion from string constant to ‘char*’
imc.c:2384: warning: deprecated conversion from string constant to ‘char*’
imc.c:2394: warning: deprecated conversion from string constant to ‘char*’
imc.c:2404: warning: deprecated conversion from string constant to ‘char*’
imc.c:2414: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_request_keepalive()’:
imc.c:2516: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_register_default_packets()’:
imc.c:2822: warning: deprecated conversion from string constant to ‘char*’
imc.c:2823: warning: deprecated conversion from string constant to ‘char*’
imc.c:2824: warning: deprecated conversion from string constant to ‘char*’
imc.c:2825: warning: deprecated conversion from string constant to ‘char*’
imc.c:2826: warning: deprecated conversion from string constant to ‘char*’
imc.c:2827: warning: deprecated conversion from string constant to ‘char*’
imc.c:2828: warning: deprecated conversion from string constant to ‘char*’
imc.c:2829: warning: deprecated conversion from string constant to ‘char*’
imc.c:2830: warning: deprecated conversion from string constant to ‘char*’
imc.c:2831: warning: deprecated conversion from string constant to ‘char*’
imc.c:2832: warning: deprecated conversion from string constant to ‘char*’
imc.c:2833: warning: deprecated conversion from string constant to ‘char*’
imc.c:2834: warning: deprecated conversion from string constant to ‘char*’
imc.c:2835: warning: deprecated conversion from string constant to ‘char*’
imc.c:2836: warning: deprecated conversion from string constant to ‘char*’
imc.c:2837: warning: deprecated conversion from string constant to ‘char*’
imc.c:2838: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcsetup(CHAR_DATA*, char*)’:
imc.c:5487: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcwho(CHAR_DATA*, char*)’:
imc.c:5831: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcfinger(CHAR_DATA*, char*)’:
imc.c:5976: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcinfo(CHAR_DATA*, char*)’:
imc.c:5992: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcconfig(CHAR_DATA*, char*)’:
imc.c:6310: warning: deprecated conversion from string constant to ‘char*’
imc.c:6395: warning: deprecated conversion from string constant to ‘char*’
imc.c:6458: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcignore(CHAR_DATA*, char*)’:
imc.c:6526: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcban(CHAR_DATA*, char*)’:
imc.c:6586: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imccedit(CHAR_DATA*, char*)’:
imc.c:7191: warning: deprecated conversion from string constant to ‘char*’
imc.c:7228: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imchedit(CHAR_DATA*, char*)’:
imc.c:7284: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* imc_act_string(const char*, CHAR_DATA*, CHAR_DATA*)’:
imc.c:7450: warning: deprecated conversion from string constant to ‘char*’
imc.c:7450: warning: deprecated conversion from string constant to ‘char*’
imc.c:7450: warning: deprecated conversion from string constant to ‘char*’
imc.c:7451: warning: deprecated conversion from string constant to ‘char*’
imc.c:7451: warning: deprecated conversion from string constant to ‘char*’
imc.c:7451: warning: deprecated conversion from string constant to ‘char*’
imc.c:7452: warning: deprecated conversion from string constant to ‘char*’
imc.c:7452: warning: deprecated conversion from string constant to ‘char*’
imc.c:7452: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* imc_send_social(CHAR_DATA*, char*, int)’:
imc.c:7593: warning: deprecated conversion from string constant to ‘char*’
imc.c:7614: warning: deprecated conversion from string constant to ‘char*’
imc.c:7621: warning: deprecated conversion from string constant to ‘char*’
imc.c:7628: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* imc_funcname(void (*)(CHAR_DATA*, char*))’:
imc.c:7658: warning: deprecated conversion from string constant to ‘char*’
imc.c:7660: warning: deprecated conversion from string constant to ‘char*’
imc.c:7662: warning: deprecated conversion from string constant to ‘char*’
imc.c:7664: warning: deprecated conversion from string constant to ‘char*’
imc.c:7666: warning: deprecated conversion from string constant to ‘char*’
imc.c:7668: warning: deprecated conversion from string constant to ‘char*’
imc.c:7670: warning: deprecated conversion from string constant to ‘char*’
imc.c:7672: warning: deprecated conversion from string constant to ‘char*’
imc.c:7674: warning: deprecated conversion from string constant to ‘char*’
imc.c:7676: warning: deprecated conversion from string constant to ‘char*’
imc.c:7678: warning: deprecated conversion from string constant to ‘char*’
imc.c:7680: warning: deprecated conversion from string constant to ‘char*’
imc.c:7682: warning: deprecated conversion from string constant to ‘char*’
imc.c:7684: warning: deprecated conversion from string constant to ‘char*’
imc.c:7686: warning: deprecated conversion from string constant to ‘char*’
imc.c:7688: warning: deprecated conversion from string constant to ‘char*’
imc.c:7690: warning: deprecated conversion from string constant to ‘char*’
imc.c:7692: warning: deprecated conversion from string constant to ‘char*’
imc.c:7694: warning: deprecated conversion from string constant to ‘char*’
imc.c:7696: warning: deprecated conversion from string constant to ‘char*’
imc.c:7698: warning: deprecated conversion from string constant to ‘char*’
imc.c:7700: warning: deprecated conversion from string constant to ‘char*’
imc.c:7702: warning: deprecated conversion from string constant to ‘char*’
imc.c:7704: warning: deprecated conversion from string constant to ‘char*’
imc.c:7706: warning: deprecated conversion from string constant to ‘char*’
imc.c:7708: warning: deprecated conversion from string constant to ‘char*’
imc.c:7710: warning: deprecated conversion from string constant to ‘char*’
imc.c:7712: warning: deprecated conversion from string constant to ‘char*’
imc.c:7714: warning: deprecated conversion from string constant to ‘char*’
imc.c:7716: warning: deprecated conversion from string constant to ‘char*’
imc.c:7718: warning: deprecated conversion from string constant to ‘char*’
imc.c:7720: warning: deprecated conversion from string constant to ‘char*’
imc.c:7722: warning: deprecated conversion from string constant to ‘char*’
imc.c:7724: warning: deprecated conversion from string constant to ‘char*’
imc.c:7726: warning: deprecated conversion from string constant to ‘char*’
imc.c:7727: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [o/imc.o] Error 1
make[2]: Leaving directory `/home/warlock/afk/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/warlock/afk/src'
make: *** [clean] Error 2

I'm running Ubuntu 8.04 and would be very appreciative to any advice or direction. If I missed info or am just plain stupid don't hold back, I have my moments! LOL
       
Post is unread #2 Oct 16, 2008, 1:59 pm
Go to the top of the page
Go to the bottom of the page

Keberus
Conjurer
GroupFUSS Project Team
Posts341
JoinedJun 4, 2005

Try downloading the latest version of AFK, as I believe the above erors has since been fixed in the latest release. For more information you can look here. What to do about the const char* issue.
       
Post is unread #3 Oct 16, 2008, 2:41 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

Or wait a few minutes for me to package an updated release that not only fixes all that crap but fixes all of the warnings and errors brought on by gcc 4.3 as well.
       
Post is unread #4 Oct 16, 2008, 8:53 pm
Go to the top of the page
Go to the bottom of the page

Eirinn
Fledgling
GroupMembers
Posts3
JoinedOct 16, 2008

I will wait with baited breath! You have no idea how much I need to get this working! (if I let it win its the beginning of the end!) Lol
       
Post is unread #5 Oct 16, 2008, 9:01 pm
Go to the top of the page
Go to the bottom of the page

Davion
Fledgling
GroupMembers
Posts4
JoinedMar 2, 2008

He released it a few hours ago :). Just look for the latest release on this site ;)
       
Post is unread #6 Oct 17, 2008, 10:31 am   Last edited Oct 17, 2008, 10:33 am by Eirinn
Go to the top of the page
Go to the bottom of the page

Eirinn
Fledgling
GroupMembers
Posts3
JoinedOct 16, 2008

Ok now I feel like a complete wanker!

Compiling o/overland.o....
overland.cpp:31:16: error: gd.h: No such file or directory
Compiling o/pfiles.o....
overland.cpp:1419: error: ‘gdImagePtr’ was not declared in this scope
overland.cpp:1419: error: expected primary-expression before ‘int’
overland.cpp:1419: error: expected primary-expression before ‘short’
overland.cpp:1419: error: expected primary-expression before ‘short’
overland.cpp:1419: error: expected primary-expression before ‘short’
overland.cpp:1419: error: initializer expression list treated as compound expression
overland.cpp:1420: error: expected ‘,’ or ‘;’ before ‘{’ token
overland.cpp:1426: error: ‘gdImagePtr’ was not declared in this scope
overland.cpp:1426: error: expected primary-expression before ‘int’
overland.cpp:1426: error: initializer expression list treated as compound expression
overland.cpp:1427: error: expected ‘,’ or ‘;’ before ‘{’ token
make[2]: *** [o/overland.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/afk/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/afk/src'
make: *** [clean] Error 2


Please... save me from myself... :redface:
       
Post is unread #7 Oct 17, 2008, 3:02 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

You are missing the GD lib.
       
Post is unread #8 Oct 17, 2008, 3:49 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

       
Pages:<< prev 1 next >>