[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  Compiling the server
. . -> [Subject]  Anyone ever seen this
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Anyone ever seen this

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Pages: 1 2  

Posted by Scoop187   (19 posts)  [Biography] bio
Date Thu 01 Dec 2005 04:10 AM (UTC)
Message
...Ok this is a new one.. I'm a builder not a coder, wanting to get this setup to learn to code.. did i miss something ? I did the "uncomment" for cygwing thing,.. I guess it was uncommented.. I just removed the # sign..
been trying for hours, help..im out of coffee too...

imc.c:8089: error: dereferencing pointer to incomplete type
imc.c:8092: error: dereferencing pointer to incomplete type
imc.c:8119: error: dereferencing pointer to incomplete type
imc.c:744: warning: redundant redeclaration of 'strcasecmp'
imc.c:744: warning: previous implicit declaration of 'strcasecmp' was here
imc.c:8136: error: dereferencing pointer to incomplete type
imc.c:368: warning: redundant redeclaration of 'isspace'
imc.c:368: warning: previous implicit declaration of 'isspace' was here
imc.c:8152: error: dereferencing pointer to incomplete type
imc.c:8164: error: dereferencing pointer to incomplete type
imc.c:8167: error: dereferencing pointer to incomplete type
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2

User@Cooper ~/smaugfuss/src
$
[Go to top] top

Posted by Scoop187   (19 posts)  [Biography] bio
Date Reply #1 on Thu 01 Dec 2005 04:11 AM (UTC)
Message
that was just a pinch of it, that thing fly so fast you cant read it and it's super long, everything it tries to do pull back an error just like what you see in the example above.
[Go to top] top

Posted by Scoop187   (19 posts)  [Biography] bio
Date Reply #2 on Thu 01 Dec 2005 08:24 AM (UTC)
Message
Im gonna take up this spot talking to myself just to help my other self decide what all that mess means... I'm thinking Im missing someone crucial in cygwin... I could be wrong, but I could also be right... anyone have any coffee?? ..piss now i'm almost out of smokes... someone email me some smokes..
[Go to top] top

Posted by Scoop187   (19 posts)  [Biography] bio
Date Reply #3 on Thu 01 Dec 2005 10:24 AM (UTC)
Message
ok.. I have tried about 7 different codebases and all of them are doing the sam thing.. please help.
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Thu 01 Dec 2005 11:14 AM (UTC)
Message
Must be something strange with your setup, like you haven't got the latest Cygwin, or you haven't installed everything. I did it a minute ago under Cygwin with no problems.

I used this file:

http://www.gammon.com.au/files/smaug/smaug16fuss.tgz

Under Cygwin:


tar xzf smaug16fuss.tgz
cd SmaugFUSS/src


Edited line 5 of the Makefile to read:


CYGWIN = -DCYGWIN


(In other words, removed the #).

Typed "make":


$ make
make -s smaug
  Compiling o/imc.o....
  Compiling o/act_comm.o....
  Compiling o/act_info.o....
  Compiling o/act_move.o....
  Compiling o/act_obj.o....
  Compiling o/act_wiz.o....
  Compiling o/ban.o....
  Compiling o/boards.o....
  Compiling o/build.o....
  Compiling o/clans.o....
  Compiling o/color.o....
  Compiling o/comm.o....
  Compiling o/comments.o....
  Compiling o/const.o....
  Compiling o/db.o....
  Compiling o/deity.o....
  Compiling o/fight.o....
  Compiling o/handler.o....
  Compiling o/hashstr.o....
  Compiling o/hotboot.o....
  Compiling o/imm_host.o....
  Compiling o/interp.o....
  Compiling o/magic.o....
  Compiling o/makeobjs.o....
  Compiling o/mapout.o....
  Compiling o/mccp.o....
  Compiling o/md5.o....
  Compiling o/misc.o....
  Compiling o/mpxset.o....
  Compiling o/mud_comm.o....
  Compiling o/mud_prog.o....
  Compiling o/planes.o....
  Compiling o/player.o....
  Compiling o/polymorph.o....
  Compiling o/reset.o....
  Compiling o/save.o....
  Compiling o/services.o....
  Compiling o/shops.o....
  Compiling o/skills.o....
  Compiling o/special.o....
  Compiling o/tables.o....
  Compiling o/track.o....
  Compiling o/update.o....
Done compiling mud.


Ran MUD:


$ cd ../area
$ ../src/smaug


All worked perfectly. If the same thing happened for "about 7 different codebases" then clearly something is setup wrongly for you. Hard to say what. See what version of gcc you have:

This is what I get:


$ gcc --version
gcc (GCC) 3.3.1 (cygming special)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Cash   USA  (626 posts)  [Biography] bio
Date Reply #5 on Thu 01 Dec 2005 03:26 PM (UTC)
Message
You could also try turning off IMC and see what errors you get since the ones you posted are related to IMC. There should be a spot in the Makefile for it.

~Nick Cash
http://www.nick-cash.com
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #6 on Thu 01 Dec 2005 07:03 PM (UTC)
Message
He could try, but as imc.c was the first file to be compiled, I think that is why we have those errors first.

Quote:

I'm a builder not a coder, wanting to get this setup to learn to code ...


In that case, why not just download the precompiled version? Then you don't need to compile anything:

http://www.gammon.com.au/files/smaug/smaug1.4a.zip

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Scoop187   (19 posts)  [Biography] bio
Date Reply #7 on Thu 01 Dec 2005 11:01 PM (UTC)
Message
Thanks for the input and suggestions mates, I believe my problems fell into downloading just the default files with cygwin. Therefore I have completely removed it from my system and started with a fresh copy, I'm downloading the WHOLE thing and all files available with it.. crikes that's a big download!

I was 99.999% I was using the correct commands and such because I had managed to get 2 DBZ codebases up and run earlier, but that's what im not wanting to start with and I know what I want to build and how I want it build. I had even done as Whiteknight suggested, and disabled the IMC and was still getting the same problem. I'll post a reply as of how it went with a great praise to you each for your help and suggestions.

However on another note, I have began learning to code recently thus, being deemed "NOOB" I have another question that perhaps you could help me with:

I have been editing the files and playing with the codes just to get familiar with everything from the codesbase after it compiles. I have used cygwin to compile/start the codebase/mud and use my preferred client (MUSHclient) to connect to local host and usually use port 4000.
I want to be able to get this setup on my server, and work on the code and such from my laptop from anywhere and I also know you have to be able to access the shell in order to do so. I use SSHSecure and Bloodshed c++ (If you know of better programs just leave a link,I'll happily try them out).. so...
my question is:
How do I allow access to the shell? Set up a password and such so that I have the ability to access it from my laptop with any interenet connection?
I have tried google searching for an answer but all i manage to pull up is information about host that grant you shell access if you buy a certain "package deal" from them or information about some hacking sites.. not what i'm looking for..

once again , any feedback is greatly appreciated and thank you all for helping =)
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #8 on Thu 01 Dec 2005 11:07 PM (UTC)
Message
You want to connect to the "host" which is running Cygwin through SSH or the sort? I do not believe that is possible.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #9 on Fri 02 Dec 2005 02:36 AM (UTC)
Message
If there is an ssh server package in Cygwin and it runs, then I see no reason why being able to connect to it wouldn't work. Provided port 22 isn't blocked by the system's firewall.


SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #10 on Fri 02 Dec 2005 05:50 AM (UTC)
Message
I haven't seen this done, having an incoming ssh connection for a Windows PC, but as Samson says, it may be possible.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Scoop187   (19 posts)  [Biography] bio
Date Reply #11 on Fri 02 Dec 2005 06:23 AM (UTC)
Message
unfortunatley guys, I'm back at square one. I have completely removed cygwin and reinstalled it, but this time with the works, everything that I could get for it.
I unzip the smaugfuss codebase and do the usual routine...

open cygwin
cd smaugfuss
cd src
make
..........
but nNOOooOOoo doesnt work that well..
soon as it start to open the imc file EVERY thing it try to compile get errors and warnings out the wazooo and i cant figure it out... Just 2 days ago I could open it.. I have not changed anything in cygwin nor the codebase itself..

All I want to do is this: open the codesbase on my couputer.. practice editing and apply the code to the mud itself.. I dont use ssh he to connect to my own cpu, it's the same cpu I use.. I been opening cygwin file c:/cygwin/home/user/codebase .. playing with the files there and then saving and hotbooting.. but now I cant even do that because cygwin is not acting right.. use your noggins mates, I up a certain creek here and without a paddle, I cant figure it out for the life of me..
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #12 on Fri 02 Dec 2005 11:25 AM (UTC)
Message
Can you type in "gcc -v" on the Cygwin command line and tell us what version it says it's using?

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Scoop187   (19 posts)  [Biography] bio
Date Reply #13 on Fri 02 Dec 2005 08:59 PM (UTC)
Message
gcc ver 3.4.4 (cygming special)(gdc 0.12, using dmd 0.125)
[Go to top] top

Posted by Nick Gammon   Australia  (21,322 posts)  [Biography] bio   Forum Administrator
Date Reply #14 on Fri 02 Dec 2005 11:52 PM (UTC)
Message
You haven't said what the problem is with using a precompiled version. You only really need to compile if you are planning to change the C code.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


17,407 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]