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


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Cygwin refuses to work...

Cygwin refuses to work...

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


Pages: 1 2  

Posted by Findecano   (18 posts)  [Biography] bio
Date Sun 21 Oct 2007 11:18 PM (UTC)
Message
Ok, so pretty much everything is installed on Cygwin, yet... it refuses to work? basically all im getting each time I type make is the following:


make
make -s smaug
   Compiling o/imc.o....
make[1]: *** [o/imc.o] Error 1
make: *** [all] Error 2


So basically i've tried a few things, installin all the Lib files, and devel files on Cygwin.

Played around with the makefile, commenting stuff out and recommenting them. And still have no luck.

commented out imc, still no luck.

I've pretty much tried everything I can think of, has anyone else had this problem? any suggestions guys?
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #1 on Sun 21 Oct 2007 11:21 PM (UTC)
Message
Is that the full error? It shouldn't be. You should be getting a message saying what line is getting an error.

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

Posted by Findecano   (18 posts)  [Biography] bio
Date Reply #2 on Sun 21 Oct 2007 11:27 PM (UTC)
Message
Yeh Zeno, thats the full error message.
Thats whats leaving me stumped too...

I'm trying to get cygwin to work for a mate, and this just keeps happening. Strange =/
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #3 on Sun 21 Oct 2007 11:40 PM (UTC)
Message
What happens when you try to compile manually (using gcc)?

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

Posted by Findecano   (18 posts)  [Biography] bio
Date Reply #4 on Sun 21 Oct 2007 11:52 PM (UTC)
Message
Bugger all too...
It just does the command, and then goes back to the prompt.

Maybe I'm doin something wrong? lol =/
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #5 on Sun 21 Oct 2007 11:58 PM (UTC)
Message
Can you show me the exact input and output?

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

Posted by Findecano   (18 posts)  [Biography] bio
Date Reply #6 on Mon 22 Oct 2007 12:06 AM (UTC)
Message

frankie@SKIPPY
gcc act_comm.c

frankie@SKIPPY


so I also tried, using -c and -S. such as, gcc -S act_comm.c
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #7 on Mon 22 Oct 2007 12:12 AM (UTC)
Message
And you don't get an .o file or a.out?

Might be something to bring to the Cygwin support mail list.

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

Posted by Findecano   (18 posts)  [Biography] bio
Date Reply #8 on Mon 22 Oct 2007 12:14 AM (UTC)
Message
nope, get nothing what so ever.
But yeh, I'll pop it on Cygwin's website. See if they come up with out.

Cheers Zeno.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #9 on Mon 22 Oct 2007 04:00 AM (UTC)
Message
Make sure the o directory exists. Winzip doesn't create empty directories during extraction, so if you unzipped using that it could be your problem. I don't remember if the makefile takes care of creating the appropriate directories.

Of course, this doesn't explain why a straight compile didn't work...

If you could, please do:

gcc -c act_comm.c -o act_comm.o

and then see if act_comm.o appears in the current directory.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Findecano   (18 posts)  [Biography] bio
Date Reply #10 on Mon 22 Oct 2007 08:38 PM (UTC)
Message
Nope. It doesn't... it just acts like Make isn't even working properly.

Which ever .c file is first, it just refuses to compile it, no matter which one it is.
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #11 on Mon 22 Oct 2007 11:12 PM (UTC)
Message
First let's isolate the problem; don't use make for now (that's why I asked about just compiling one file). We need to find out if it's a compiler problem before we start worrying about make.

Here's something to try: (in src)
ls -l
gcc -c act_comm.c -o act_comm.o
ls -ltr

please paste the exact output from that sequence.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Zeno   USA  (2,871 posts)  [Biography] bio
Date Reply #12 on Mon 22 Oct 2007 11:21 PM (UTC)
Message
Also if that doesn't work, perhaps start simple. Make your own .c file with a few lines of code and try that.

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

Posted by David Haley   USA  (3,881 posts)  [Biography] bio
Date Reply #13 on Mon 22 Oct 2007 11:46 PM (UTC)
Message
That's a really good idea, actually. Find something like a hello world program in c on the web (there's a bunch) and make sure that at least compiles. If it doesn't, we know that there's something wrong with your cygwin gcc installation.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Findecano   (18 posts)  [Biography] bio
Date Reply #14 on Fri 26 Oct 2007 10:20 PM (UTC)
Message
Sorry its taken a while...


User@COMPUTER /cygdrive/c/dod/smaugfuss/src
$ ls -l
total 5978
-rwxrwxr-x+ 1 User None   3241 Oct 21 19:08 Makefile
-rwxrwxr-x+ 1 User None  94378 Oct 19 12:58 act_comm.c
-rwxrwxr-x+ 1 User None  93397 Oct 18 15:44 act_comm.c.beep
-rwxrwxr-x+ 1 User None 179237 Oct 18 17:09 act_info.c
-rwxrwxr-x+ 1 User None  85358 Oct 18 11:10 act_move.c
-rwxrwxr-x+ 1 User None  85701 Jul 22 12:14 act_move.c.old
-rwxrwxr-x+ 1 User None  98712 Oct 18 11:10 act_obj.c
-rwxrwxr-x+ 1 User None 320308 Oct 19 13:05 act_wiz.c
-rwxrwxr-x+ 1 User None   5495 Oct 18 11:11 alias.c
-rwxrwxr-x+ 1 User None   2431 Oct 18 11:11 alias.h
-rwxrwxr-x+ 1 User None      0 Jul  9 22:04 author
-rwxrwxr-x+ 1 User None  39521 Oct 18 11:11 ban.c
-rwxrwxr-x+ 1 User None   5003 Oct 18 11:11 bet.h
-rwxrwxr-x+ 1 User None  19659 Oct 18 11:11 bits.c
-rwxrwxr-x+ 1 User None   1418 Oct 18 11:11 bits.h
-rwxrwxr-x+ 1 User None  59313 Oct 18 11:11 boards.c
-rwxrwxr-x+ 1 User None 296160 Oct 19 12:58 build.c
-rwxrwxr-x+ 1 User None 296152 Oct 18 15:29 build.c.beep
-rwxrwxr-x+ 1 User None 254006 Aug  4 14:58 build.c.old
-rwxrwxr-x+ 1 User None  38136 Oct 18 11:11 chess.c
-rwxrwxr-x+ 1 User None   2235 Oct 18 11:11 chess.h
-rwxrwxr-x+ 1 User None  81174 Oct 18 11:11 clans.c
-rwxrwxr-x+ 1 User None  50693 Oct 18 11:11 color.c
-rwxrwxr-x+ 1 User None   9847 Oct 18 11:11 color.h
-rwxrwxr-x+ 1 User None 105819 Oct 18 11:11 comm.c
-rwxrwxr-x+ 1 User None  12050 Oct 18 11:11 comments.c
-rwxrwxr-x+ 1 User None  14439 Oct 18 11:11 const.c
-rwxrwxr-x+ 1 User None     18 Oct 18 11:11 count
-rwxrwxr-x+ 1 User None 259322 Oct 19 18:34 db.c
-rwxrwxr-x+ 1 User None 191497 Jul 18 15:29 db.c.old
-rwxrwxr-x+ 1 User None  46719 Oct 18 11:11 deity.c
-rwxrwxr-x+ 1 User None   6067 Oct 18 11:11 dependencies.d
-rwxrwxr-x+ 1 User None  10611 Oct 18 11:11 dns.c
-rwxrwxr-x+ 1 User None   2076 Oct 18 11:11 dns.h
-rwxrwxr-x+ 1 User None 125718 Oct 18 11:11 fight.c
-rwxrwxr-x+ 1 User None    213 Oct 18 11:11 grind
-rwxrwxr-x+ 1 User None 137404 Oct 18 11:11 handler.c
-rwxrwxr-x+ 1 User None   7848 Oct 18 11:11 hashstr.c
-rwxrwxr-x+ 1 User None  10601 Oct 18 11:11 hint.c
-rwxrwxr-x+ 1 User None   1659 Oct 18 11:11 hint.h
-rwxrwxr-x+ 1 User None  24770 Oct 18 11:11 hotboot.c
-rwxrwxr-x+ 1 User None   2275 Oct 18 11:11 hotboot.h
-rwxrwxr-x+ 1 User None 228788 Oct 19 18:11 imc.c
-rwxrwxr-x+ 1 User None  15591 Oct 18 11:11 imc.h
-rwxrwxr-x+ 1 User None   3925 Oct 18 11:11 imccfg.h
-rwxrwxr-x+ 1 User None   9205 Oct 18 11:11 imm_host.c
-rwxrwxr-x+ 1 User None  30245 Oct 18 11:11 interp.c
-rwxrwxr-x+ 1 User None   2259 Oct 18 11:11 lines
-rwxrwxr-x+ 1 User None  62481 Oct 18 11:11 liquids.c
-rwxrwxr-x+ 1 User None   3190 Oct 18 11:11 liquids.h
-rwxrwxr-x+ 1 User None 200770 Oct 18 11:11 magic.c
-rwxrwxr-x+ 1 User None   7935 Oct 18 11:11 makeobjs.c
-rwxrwxr-x+ 1 User None  24491 Oct 18 11:11 mapout.c
-rwxrwxr-x+ 1 User None  20028 Oct 18 11:11 mapper.c
-rwxrwxr-x+ 1 User None   1911 Oct 18 11:11 mapper.h
-rwxrwxr-x+ 1 User None   5143 Oct 18 11:11 mccp.c
-rwxrwxr-x+ 1 User None   1614 Oct 18 11:11 mccp.h
-rwxrwxr-x+ 1 User None  42897 Oct 18 11:11 misc.c
-rwxrwxr-x+ 1 User None  35119 Oct 18 11:12 mpxset.c
-rwxrwxr-x+ 1 User None 165055 Oct 19 12:58 mud.h
-rwxrwxr-x+ 1 User None 164990 Oct 18 11:12 mud.h.beep
-rwxrwxr-x+ 1 User None 159222 Jul 25 17:57 mud.h.old
-rwxrwxr-x+ 1 User None  86935 Oct 18 11:12 mud_comm.c
-rwxrwxr-x+ 1 User None  85316 Jul 15 20:26 mud_comm.c.old
-rwxrwxr-x+ 1 User None 109245 Oct 18 11:12 mud_prog.c
-rwxrwxr-x+ 1 User None  99644 Jul 18 17:59 mud_prog.c.old
-rwxrwxr-x+ 1 User None  28636 Oct 18 11:12 new_auth.c
-rwxrwxr-x+ 1 User None   3138 Oct 18 11:12 new_auth.h
-rwxrwxr-x+ 1 User None  25310 Oct 18 11:12 news.c
-rwxrwxr-x+ 1 User None   3095 Oct 18 11:12 news.h
-rwxrwxr-x+ 1 User None    183 Oct 18 12:07 nohup.out
drwx------+ 2 User None      0 Oct 21 19:11 o
-rwxrwxr-x+ 1 User None  15350 Oct 18 11:12 pfiles.c
-rwxrwxr-x+ 1 User None   1992 Oct 18 11:12 pfiles.h
-rwxrwxr-x+ 1 User None   6853 Oct 18 11:12 planes.c
-rwxrwxr-x+ 1 User None   1477 Oct 18 11:12 planes.h
-rwxrwxr-x+ 1 User None  78609 Oct 18 11:12 player.c
-rwxrwxr-x+ 1 User None  79672 Oct 18 11:12 polymorph.c
-rwxrwxr-x+ 1 User None     30 Oct 18 11:12 qstart
-rwxrwxr-x+ 1 User None  27572 Oct 18 11:12 renumber.c
-rwxrwxr-x+ 1 User None  46283 Oct 18 11:12 reset.c
-rwxrwxr-x+ 1 User None   3431 Oct 18 11:12 resolver.c
-rwxrwxr-x+ 1 User None  88295 Oct 18 11:12 save.c
-rwxrwxr-x+ 1 User None  23367 Oct 18 11:12 services.c
-rwxrwxr-x+ 1 User None   9942 Oct 18 11:12 sha256.c
-rwxrwxr-x+ 1 User None   2035 Oct 18 11:12 sha256.h
-rwxrwxr-x+ 1 User None  45187 Oct 18 11:12 shops.c
-rwxrwxr-x+ 1 User None     50 Oct 18 11:19 shutdown.txt
-rwxrwxr-x+ 1 User None 180050 Oct 18 11:12 skills.c
-rwxrwxr-x+ 1 User None 133496 Oct 18 11:13 smaug.def
-rwxrwxr-x+ 1 User None 287179 Oct 18 11:13 smaug.exp
-rwxrwxr-x+ 1 User None  29115 Oct 18 11:13 special.c
-rwxrwxr-x+ 1 User None    988 Oct 18 11:24 startup
-rwxrwxr-x+ 1 User None    988 Sep  3  2005 startupB
-rwxrwxr-x+ 1 User None  54443 Oct 18 11:13 tables.c
-rwxrwxr-x+ 1 User None  11261 Oct 18 11:13 track.c
-rwxrwxr-x+ 1 User None  89001 Oct 18 11:13 update.c
-rwxrwxr-x+ 1 User None  16239 Oct 18 11:13 variables.c
-rwxrwxr-x+ 1 User None     70 Oct 18 11:13 vg_suppress.supp
[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.


34,349 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 HostDash]