Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Compiling the server ➜ Compiling with your example

Compiling with your example

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


Posted by Polarus   Canada  (69 posts)  Bio
Date Sat 14 Sep 2002 12:20 PM (UTC)
Message
I tried to compile just like your example. Afetr i type make i get this error:
Error on line 69: Bad Syntax for implicit rule, should be .frm.to:

I tried changing that in Makefile, but it didn't help. anyone have any suggestions? I am REALLY new to cygwin

-=Flitting from Project to Project=-
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 14 Sep 2002 11:55 PM (UTC)

Amended on Sat 14 Sep 2002 11:56 PM (UTC) by Nick Gammon

Message
My lines 69-70 look like this, what do yours look like?


.c.o: mud.h
    $(CC) -c $(C_FLAGS) $(USE_IMC) $<


On the second line the gap is a tab character, not four spaces.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #2 on Sun 15 Sep 2002 04:15 AM (UTC)
Message
.c.o: mud.h
$(CC) -c $(C_FLAGS) $(USE_IMC) $<


That is pasted directly out of Makefile

-=Flitting from Project to Project=-
Top

Posted by Polarus   Canada  (69 posts)  Bio
Date Reply #3 on Sun 15 Sep 2002 04:27 AM (UTC)
Message
I even downloaded smaug1.4a_mxp.tgz again, and installed it in the cygwin/home/(mynamehere) dir, and unpacked it and everything following your instructions. Now, the lack of the exe isn't killing me, becuase I can get a smaug server executable, but I can't make clean anything when i install snippets becuase I get that same error.

-=Flitting from Project to Project=-
Top

Posted by Arsen   (44 posts)  Bio
Date Reply #4 on Sat 12 Oct 2002 02:02 AM (UTC)
Message
For some reason when I try to use Cygwin for editing my source code, the commands that you use in your example dont work, like with grep where you said to add the -n at the end so that it would show the line number, it will show me the search results, but without the number, and then after the search listing, it say that -n is not a known command. What I have been told is that there is a new version of cygwin since you wrote the example, is there any way I can get the old version?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Sat 12 Oct 2002 09:14 PM (UTC)
Message
The manual for grep actually says:

grep [options] PATTERN [FILE...]


Try using the options (eg. -n) before the files, eg.

grep -n 'Thoric' *.c


- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


21,828 views.

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

Go to topic:           Search the forum


[Go to top] top

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