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, Google, Bing, Yandex

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » AFKMud and Cygwin
Forum Rules | Mark all | Recent Posts

AFKMud and Cygwin
< Newer Topic :: Older Topic > Help

Pages:<< prev 1 next >>
Post is unread #1 Jan 6, 2003, 9:23 pm
Go to the top of the page
Go to the bottom of the page

Dial

GroupMembers
Posts4
JoinedJan 6, 2003

Heya,

I recently installed your AFKMud on my machine, and when i make clean i get:

$ make clean
rm -f o/*.o afkmud core resolver resolver.o
make all
make[1]: Entering directory `/cygdrive/c/afkmud/afkmud/src'
make -s afkmud
make[2]: Entering directory `/cygdrive/c/afkmud/afkmud/src'
Compiling o/shell.o....
Compiling o/i3.o....
Compiling o/websvr.o....
cc1: warnings being treated as errors
websvr.c: In function `check_web_pass':
websvr.c:855: warning: implicit declaration of function `crypt'
websvr.c:855: warning: passing arg 2 of `str_cmp' makes pointer from integer wit
hout a cast
websvr.c: In function `change_web_pass':
websvr.c:886: warning: passing arg 1 of `str_dup' makes pointer from integer wit
hout a cast
make[2]: *** [o/websvr.o] Error 1
make[2]: Leaving directory `/cygdrive/c/afkmud/afkmud/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/cygdrive/c/afkmud/afkmud/src'
make: *** [clean] Error 2

and i dont know why it does that. so anyhelp will be very helpful.

Thanks
Mike
       
Post is unread #2 Jan 19, 2003, 6:30 pm
Go to the top of the page
Go to the bottom of the page

Pharas

GroupMembers
Posts27
JoinedMay 22, 2002

I don't know if anyone has answered this question so I will. At the top of the websvr.c file with the rest of the includes add this #include , you have to manually add it to any file that you are getting these errors from. And make sure you have -lcrypt defined to so cygwin can link it right.
       
Post is unread #3 Jan 19, 2003, 6:31 pm
Go to the top of the page
Go to the bottom of the page

Pharas

GroupMembers
Posts27
JoinedMay 22, 2002

sorry thats #include crypt.h
       
Post is unread #4 Jan 19, 2003, 9:56 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002

It's already there. Check the Makefile. It should be come clear. Also, make sure you read the readme file in the distro. I can tell someone here hasn't
       
Post is unread #5 Jan 27, 2003, 4:01 pm
Go to the top of the page
Go to the bottom of the page

Pharas

GroupMembers
Posts27
JoinedMay 22, 2002

Your right I didn't. Good job on getting cygwin support in by the way. I had hit a brick wall with the bfd code. Cygwin is making leaps and bounds with what it supports now but there still isn't enough compatability with linux. I have to admit though it makes a pretty stable mud when it's compiled and run on an xp pro box.
       
Post is unread #6 Jan 30, 2003, 12:57 pm
Go to the top of the page
Go to the bottom of the page

Bajula

GroupMembers
Posts14
JoinedMay 28, 2002

yeah rock on with the cygwin thing. i am amazed as i tried everything i could think of before. but anyway bad timing for me as i went out and paid for space on a diff server (the one we ran 1.2 on well went away due to wife/gf problems heh) so i worked on fiddling with cygwin, then sorry guys went to another code base, but after the features in this one, bah had to get this one going instead. so i pay for space on a server, and NOW you have cygwin working with it??!?! heheh it is okay now i know if i lose thise space i can just compile at home and run it from there
-baj
       
Post is unread #7 Jan 30, 2003, 1:25 pm
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,639
JoinedJan 1, 2002


Good job on getting cygwin support in by the way. I had hit a brick wall with the bfd code.


Heh, thanks. But it's not using BFD anymore either, so Cygwin isn't out of the woods on that either. It supports the use of dlsym with some tweakage to the Makefile that Garil dug up for me. BFD was a lost cause, and besides, with dlsym you don't even need those annoying DECLARE_*_FUN statements :P
       
Pages:<< prev 1 next >>