Can anyone help with cygwin?

Posted by Oblisgr on Fri 06 Mar 2020 09:29 PM — 13 posts, 46,568 views.

#0
Can anyone write me a directions list on how to set up cygwin to compile and run the mud?

I m now working useing WSL and i need Cygwin to work in my tablet (win10 86x) that cannot run WSL.

Thanks
Australia Forum Administrator #1
It's quite old, but this is the general idea:

http://www.gammon.com.au/smaug/installingcygwin.htm
#2
Eh i know how to install it. I just ask to tell me if you know which packages i need to install in order to have it ready to compile and run the smaug.
Australia Forum Administrator #3
That link mentions a number of packages, such as gcc and make. Did you install those and it still doesn't work? If so, what error message do you get?
Australia Forum Administrator #4
If you wanted a list of packages, why didn't you ask that in the first place?
#5
make -s dns
g++: fatal error: -fuse-linker-plugin, but cyglto_plugin.dll not found
compilation terminated.
make[1]: *** [Makefile:87: dns] Error 1
make: *** [Makefile:47: all] Error 2
Amended on Tue 10 Mar 2020 06:31 PM by Oblisgr
Australia Forum Administrator #6

See Stack Overflow: Cygwin 64 G++ -fuse-linker-plugin Error

#7
Ye that was easy to be solved even with a reinstallation of packs. But the main problem, the problem some of my friends face too, it that with the makefile. Returns errors.

I have to admit that i couldnt find a install in cygwin the mktemp package.


$(MAKE) -s dns


and


$(CC) $(D_FLAGS) -o resolver resolver.o
Australia Forum Administrator #8
Oblisgr said:

But the main problem, the problem some of my friends face too, it that with the makefile. Returns errors.


The errors are a secret, right? Otherwise you would tell us what they are.
USA Global Moderator #9
Quote:
The errors are a secret, right? Otherwise you would tell us what they are.

rofl
#10
No need to be offensive.
I posted the errors in reply 5 and i will re-post here too
i fixed missing dll by adding packages

make -s dns
compilation terminated.
make[1]: *** [Makefile:87: dns] Error 1
make: *** [Makefile:47: all] Error 2
Amended on Mon 16 Mar 2020 06:08 PM by Oblisgr
Australia Forum Administrator #11

You said, in reply #7:

Ye that was easy to be solved even with a reinstallation of packs.

I took that to mean that the problem was solved, and that you now had a new one.

Try to be clear in your posts if you want help. We can’t read your mind, nor know what message you are staring at when you report a problem.

make[1]: *** [Makefile:87: dns] Error 1

So, what is on line 87 of Makefile?

What happens if you just type “make”?

#12
line:47
$(MAKE) -s dns

line:87
$(CC) $(D_FLAGS) -o resolver resolver.o