|
Compiling with your example
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Polarus
Canada (69 posts) bio
|
| Date |
Sat 14 Sep 2002 12:20 PM (UTC) [ quote
] |
| 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 (18,800 posts) bio
Forum Administrator |
| Date |
Reply #1 on Sat 14 Sep 2002 11:55 PM (UTC) [ quote
] 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) [ quote
] |
| 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) [ quote
] |
| 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) [ quote
] |
| 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 (18,800 posts) bio
Forum Administrator |
| Date |
Reply #5 on Sat 12 Oct 2002 09:14 PM (UTC) [ quote
] |
| 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.
2,046 views.
Reply to this subject
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )