Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
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
Bug in get_exp_worth( )
Oct 10, 2017, 1:26 am
By GatewaySysop
Bug in do_drag( )
Oct 8, 2017, 12:40 am
By GatewaySysop
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
Beastmaster 6D sound files
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Google, Bing, Yahoo!

Members: 0
Guests: 11
Stats
Files
Topics
Posts
Members
Newest Member
476
3,704
19,231
608
LAntorcha
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » I am trying to compile smaugf...
Forum Rules | Mark all | Recent Posts

I am trying to compile smaugfuss1.8
< Newer Topic :: Older Topic > HElp

Pages:<< prev 1 next >>
Post is unread #1 May 18, 2013, 11:05 am
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

I have gotten back into muds after a few years off and always liked to run a small mud for myself and friends as a learning experience and for the gaming and social aspects.

I am running Ubuntu 10.4 on a netbook. I try to compile using g++ 4.4.3 and I get this mess.
By The way thanks for being here and keeping muds alive.

************************************************************************************************************************************
mike@ubuntu:~/smaugfuss/src$ make
make -s smaug
Compiling o/imc.o....
imc.c:106: warning: deprecated conversion from string constant to ‘char*’
imc.c:106: warning: deprecated conversion from string constant to ‘char*’
imc.c:106: warning: deprecated conversion from string constant to ‘char*’
imc.c:106: warning: deprecated conversion from string constant to ‘char*’
imc.c:106: warning: deprecated conversion from string constant to ‘char*’
imc.c:106: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* color_itom(const char*, CHAR_DATA*)’:
imc.c:393: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* color_mtoi(const char*)’:
imc.c:414: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* imccapitalize(const char*)’:
imc.c:525: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:527: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imc_mudof(const char*)’:
imc.c:597: error: invalid conversion from ‘const char*’ to ‘char*’
imc.c: In function ‘void imc_new_channel(const char*, const char*, const char*, const char*, const char*, bool, int, const char*)’:
imc.c:1089: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c: In function ‘int imcfread_number(FILE*)’:
imc.c:1113: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1121: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1125: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1142: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imcfread_line(FILE*)’:
imc.c:1182: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1196: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1209: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imcfread_word(FILE*)’:
imc.c:1242: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1265: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘void imcfread_to_eol(FILE*)’:
imc.c:1292: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:1298: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char imcfread_letter(FILE*)’:
imc.c:1320: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘void imc_recv_broadcast(IMC_PACKET*, char*)’:
imc.c:1901: warning: the address of ‘sender’ will always evaluate as ‘true’
imc.c: In function ‘void imc_recv_chanwho(IMC_PACKET*, char*)’:
imc.c:2028: warning: the address of ‘cwho’ will always evaluate as ‘true’
imc.c: In function ‘void imc_process_finger(char*, char*)’:
imc.c:2423: warning: deprecated conversion from string constant to ‘char*’
imc.c:2429: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_recv_isalive(IMC_PACKET*, char*)’:
imc.c:2640: warning: the address of ‘url’ will always evaluate as ‘true’
imc.c:2646: warning: the address of ‘version’ will always evaluate as ‘true’
imc.c:2652: warning: the address of ‘netname’ will always evaluate as ‘true’
imc.c:2664: warning: the address of ‘host’ will always evaluate as ‘true’
imc.c:2670: warning: the address of ‘iport’ will always evaluate as ‘true’
imc.c: In function ‘void imc_request_keepalive()’:
imc.c:2702: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_recv_iceupdate(IMC_PACKET*, char*)’:
imc.c:2747: warning: the address of ‘chan’ will always evaluate as ‘true’
imc.c:2766: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c: In function ‘void imc_process_authentication(char*)’:
imc.c:3231: warning: the address of ‘rname’ will always evaluate as ‘true’
imc.c:3244: warning: the address of ‘pw’ will always evaluate as ‘true’
imc.c:3287: warning: the address of ‘encrypt’ will always evaluate as ‘true’
imc.c: In function ‘void imc_readchannel(IMC_CHANNEL*, FILE*)’:
imc.c:4000: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c: In function ‘void imc_readhelp(IMC_HELP_DATA*, FILE*)’:
imc.c:4355: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘void imcfread_config_file(FILE*)’:
imc.c:4786: warning: conversion to ‘short unsigned int’ from ‘int’ may alter its value
imc.c:4792: warning: conversion to ‘short unsigned int’ from ‘int’ may alter its value
imc.c: In function ‘void imc_load_who_template()’:
imc.c:4998: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:5005: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:5012: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:5019: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:5026: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:5033: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c:5040: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘void imcsetup(CHAR_DATA*, char*)’:
imc.c:5600: warning: the address of ‘imccmd’ will always evaluate as ‘true’
imc.c:5600: warning: the address of ‘chan’ will always evaluate as ‘true’
imc.c:5668: warning: the address of ‘arg1’ will always evaluate as ‘true’
imc.c:5843: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c:5849: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcwho(CHAR_DATA*, char*)’:
imc.c:6193: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcfinger(CHAR_DATA*, char*)’:
imc.c:6223: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c:6338: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcinfo(CHAR_DATA*, char*)’:
imc.c:6354: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcconfig(CHAR_DATA*, char*)’:
imc.c:6582: warning: the address of ‘arg1’ will always evaluate as ‘true’
imc.c:6676: warning: deprecated conversion from string constant to ‘char*’
imc.c:6761: warning: deprecated conversion from string constant to ‘char*’
imc.c:6777: warning: deprecated conversion from string constant to ‘char*’
imc.c:6807: warning: conversion to ‘short unsigned int’ from ‘int’ may alter its value
imc.c:6840: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcignore(CHAR_DATA*, char*)’:
imc.c:6853: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c:6908: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imcban(CHAR_DATA*, char*)’:
imc.c:6921: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c:6968: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imc_deny_channel(CHAR_DATA*, char*)’:
imc.c:6980: warning: the address of ‘vic_name’ will always evaluate as ‘true’
imc.c: In function ‘void imcpermset(CHAR_DATA*, char*)’:
imc.c:7096: warning: the address of ‘arg’ will always evaluate as ‘true’
imc.c: In function ‘void imcremoteadmin(CHAR_DATA*, char*)’:
imc.c:7255: warning: the address of ‘server’ will always evaluate as ‘true’
imc.c:7255: warning: the address of ‘cmd’ will always evaluate as ‘true’
imc.c: In function ‘void imccedit(CHAR_DATA*, char*)’:
imc.c:7408: warning: the address of ‘name’ will always evaluate as ‘true’
imc.c:7408: warning: the address of ‘option’ will always evaluate as ‘true’
imc.c:7575: warning: deprecated conversion from string constant to ‘char*’
imc.c:7612: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘void imchedit(CHAR_DATA*, char*)’:
imc.c:7625: warning: the address of ‘name’ will always evaluate as ‘true’
imc.c:7625: warning: the address of ‘cmd’ will always evaluate as ‘true’
imc.c:7668: warning: deprecated conversion from string constant to ‘char*’
imc.c: In function ‘char* imc_find_social(CHAR_DATA*, char*, char*, char*, int)’:
imc.c:7769: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imc_act_string(const char*, CHAR_DATA*, CHAR_DATA*)’:
imc.c:7929: warning: deprecated conversion from string constant to ‘char*’
imc.c:7929: warning: deprecated conversion from string constant to ‘char*’
imc.c:7929: warning: deprecated conversion from string constant to ‘char*’
imc.c:7930: warning: deprecated conversion from string constant to ‘char*’
imc.c:7930: warning: deprecated conversion from string constant to ‘char*’
imc.c:7930: warning: deprecated conversion from string constant to ‘char*’
imc.c:7931: warning: deprecated conversion from string constant to ‘char*’
imc.c:7931: warning: deprecated conversion from string constant to ‘char*’
imc.c:7931: warning: deprecated conversion from string constant to ‘char*’
imc.c:8021: warning: conversion to ‘char’ from ‘int’ may alter its value
imc.c: In function ‘char* imc_send_social(CHAR_DATA*, char*, int)’:
imc.c:8085: warning: deprecated conversion from string constant to ‘char*’
imc.c:8105: warning: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:8106: warning: deprecated conversion from string constant to ‘char*’
imc.c:8112: warning: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:8113: warning: deprecated conversion from string constant to ‘char*’
imc.c:8119: warning: the address of ‘socbuf’ will always evaluate as ‘true’
imc.c:8120: warning: deprecated conversion from string constant to ‘char*’
imc.c:8138: warning: conversion to ‘short int’ from ‘int’ may alter its value
imc.c: In function ‘char* imc_funcname(void (*)(CHAR_DATA*, char*))’:
imc.c:8151: warning: deprecated conversion from string constant to ‘char*’
imc.c:8153: warning: deprecated conversion from string constant to ‘char*’
imc.c:8155: warning: deprecated conversion from string constant to ‘char*’
imc.c:8157: warning: deprecated conversion from string constant to ‘char*’
imc.c:8159: warning: deprecated conversion from string constant to ‘char*’
imc.c:8161: warning: deprecated conversion from string constant to ‘char*’
imc.c:8163: warning: deprecated conversion from string constant to ‘char*’
imc.c:8165: warning: deprecated conversion from string constant to ‘char*’
imc.c:8167: warning: deprecated conversion from string constant to ‘char*’
imc.c:8169: warning: deprecated conversion from string constant to ‘char*’
imc.c:8171: warning: deprecated conversion from string constant to ‘char*’
imc.c:8173: warning: deprecated conversion from string constant to ‘char*’
imc.c:8175: warning: deprecated conversion from string constant to ‘char*’
imc.c:8177: warning: deprecated conversion from string constant to ‘char*’
imc.c:8179: warning: deprecated conversion from string constant to ‘char*’
imc.c:8181: warning: deprecated conversion from string constant to ‘char*’
imc.c:8183: warning: deprecated conversion from string constant to ‘char*’
imc.c:8185: warning: deprecated conversion from string constant to ‘char*’
imc.c:8187: warning: deprecated conversion from string constant to ‘char*’
imc.c:8189: warning: deprecated conversion from string constant to ‘char*’
imc.c:8191: warning: deprecated conversion from string constant to ‘char*’
imc.c:8193: warning: deprecated conversion from string constant to ‘char*’
imc.c:8195: warning: deprecated conversion from string constant to ‘char*’
imc.c:8197: warning: deprecated conversion from string constant to ‘char*’
imc.c:8199: warning: deprecated conversion from string constant to ‘char*’
imc.c:8201: warning: deprecated conversion from string constant to ‘char*’
imc.c:8203: warning: deprecated conversion from string constant to ‘char*’
imc.c:8205: warning: deprecated conversion from string constant to ‘char*’
imc.c:8207: warning: deprecated conversion from string constant to ‘char*’
imc.c:8209: warning: deprecated conversion from string constant to ‘char*’
imc.c:8211: warning: deprecated conversion from string constant to ‘char*’
imc.c:8213: warning: deprecated conversion from string constant to ‘char*’
imc.c:8215: warning: deprecated conversion from string constant to ‘char*’
imc.c:8217: warning: deprecated conversion from string constant to ‘char*’
imc.c:8219: warning: deprecated conversion from string constant to ‘char*’
imc.c:8220: warning: deprecated conversion from string constant to ‘char*’
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2
mike@ubuntu:~/smaugfuss/src$

       
Post is unread #2 May 18, 2013, 12:34 pm
Go to the top of the page
Go to the bottom of the page

Zeno
Sorcerer
GroupMembers
Posts723
JoinedMar 5, 2005

http://www.smaugmuds.org/index.php?a=topic&t=4112

When did you download SmaugFUSS btw?
       
Post is unread #3 May 18, 2013, 4:35 pm
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

I downloaded the file from this website today!
       
Post is unread #4 May 18, 2013, 4:37 pm
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

Do you guys have a link to a smaugfuss file that should compile with my version information. I'm not really a great programmer. I am better at admin and building. I will look into it tho.
       
Post is unread #5 May 18, 2013, 4:52 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

id suggest giving 1.9 a try instead of 1.8
       
Post is unread #6 May 19, 2013, 7:46 am
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

I downloaded smaugfuss 1.9 from this website yesterday and I get less errors but I get this can U guys help.
Thanks

**************************************************************************************************************************************mike@ubuntu:~/smaugfuss19/src$ make
make -s smaug
Compiling o/comm.o....
In file included from comm.c:30:
mccp.h:18:18: error: zlib.h: No such file or directory
In file included from comm.c:30:
mccp.h:33: error: ISO C++ forbids declaration of ‘z_stream’ with no type
mccp.h:33: error: expected ‘;’ before ‘*’ token
comm.c: In function ‘bool write_to_descriptor(DESCRIPTOR_DATA*, const char*, int)’:
comm.c:1657: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1659: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1660: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1662: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1664: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1665: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1667: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1669: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1669: error: ‘Z_SYNC_FLUSH’ was not declared in this scope
comm.c:1669: error: ‘deflate’ was not declared in this scope
comm.c:1671: error: ‘Z_OK’ was not declared in this scope
comm.c:1675: error: ‘struct mccp_data’ has no member named ‘out_compress’
comm.c:1713: error: ‘struct mccp_data’ has no member named ‘out_compress’
make[1]: *** [o/comm.o] Error 1
make: *** [all] Error 2
mike@ubuntu:~/smaugfuss19/src$
       
Post is unread #7 May 19, 2013, 8:58 am
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,857
JoinedJul 26, 2005

you need to install the zlib files or just comment out the mccp define in the makefile
       
Post is unread #8 May 20, 2013, 8:37 am
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

I went to the software center in ubuntu and downloaded zlib I/O library. But still did not fix. Sorry to be having more problems but I did look in the makefile and mccp isn't really in there that I can see. I will post the makefile soon.
       
Post is unread #9 May 20, 2013, 9:11 am
Go to the top of the page
Go to the bottom of the page

ayuri
Magician
GroupMembers
Posts239
JoinedJun 13, 2008

It's been a while but I think the package you want is zlib-devel

Ayuri
       
Post is unread #10 May 20, 2013, 11:18 am
Go to the top of the page
Go to the bottom of the page

Tyro
Fledgling
GroupMembers
Posts8
JoinedMay 18, 2013

Thank You!
*************************************************************************************************************************************
mike@ubuntu:~/smaugfuss19/src$ make
make -s smaug
Generating dependency file ...
Done compiling mud.
make -s dns
Done compiling DNS resolver.
mike@ubuntu:~/smaugfuss19/src$ ls
act_comm.c calendar.h db.c hint.h liquids.h mpxset.c planes.h services.c tables.c
act_info.c chess.c deity.c hotboot.c magic.c mssp.c player.c sha256.c track.c
act_move.c chess.h dependencies.d hotboot.h Makefile mssp.h polymorph.c sha256.h update.c
act_obj.c clans.c dns.c imc.c makeobjs.c mud_comm.c qstart shops.c variables.c
act_wiz.c color.c dns.h imccfg.h mapout.c mud.h renumber.c shutdown.txt vg_suppress.supp
ban.c color.h fight.c imc.h mapper.c mud_prog.c reset.c skills.c weather.c
bet.h comm.c grind imm_host.c mapper.h news.c resolver smaug weather.h
boards.c comments.c handler.c interp.c mccp.c news.h resolver.c special.c zlib.h
build.c const.c hashstr.c lines mccp.h o resolver.o splint.txt
calendar.c count hint.c liquids.c misc.c planes.c save.c startup
mike@ubuntu:~/smaugfuss19/src$ ./startup 4000 &
[1] 2179
mike@ubuntu:~/smaugfuss19/src$ telnet localhost 4000
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.


/ _ _ _ _ _____
/ |\ /| /\ | | / \ ***************
/ | \ / | / \ | | | * \\._.// *
/ | \/ | / \ | | | * (0...0) *
/_______ | | |______| | | | * ).:.( *
/ | | | | | | | * {o o} *
/ | | | | | | | __ * / ' ' \ *
/ | | | | | | | | *-'^.VxvxV.^'-*
/ | | | | \____/ \_____/ ***************
/

SmaugFUSS 1.9 changes by Samson. Other bugfixes and changes provided by
various members of the SMAUG community. Their contributions are greatly
appreciated.
SMAUG 1.4 written by Thoric (Derek Snider) with Altrag, Blodkai, Haus, Narn,
Scryn, Swordbearer, Tricops, Gorog, Rennard, Grishnakh, Fireblade and Nivek.
Original MERC 2.1 code by Hatchet, Furey, and Kahn.
Original DikuMUD code by:
Hans Staerfeldt, Katja Nyboe, Tom Madsen, Michael Seifert & Sebastian Hammer

Enter your character's name, or type new:
       
Pages:<< prev 1 next >>