robertdavidgraham / masscan

TCP port scanner, spews SYN packets asynchronously, scanning entire Internet in under 5 minutes.
GNU Affero General Public License v3.0
23k stars 3.02k forks source link

help #725

Open max2007killer opened 1 year ago

max2007killer commented 1 year ago

masscan-master>make process_begin: CreateProcess(NULL, cc -dumpmachine, ...) failed. Makefile:16: pipe: No error fatal: not a git repository (or any of the parent directories): .git cc -g -ggdb -Wall -O2 -c src/crypto-base64.c -o tmp/crypto-base64.o process_begin: CreateProcess(NULL, cc -g -ggdb -Wall -O2 -c src/crypto-base64.c -o tmp/crypto-base64.o, ...) failed. make (e=2): ═х єфрхЄё эрщЄш єърчрээ√щ Їрщы. make: *** [Makefile:109: tmp/crypto-base64.o] Error 2

AliYar-Khan commented 9 months ago

facing same issue on window 10

masscan> make
process_begin: CreateProcess(NULL, cc -dumpmachine, ...) failed.
Makefile:16: pipe: No error
cc -g -ggdb    -Wall -O2 -c src/crypto-base64.c -o tmp/crypto-base64.o
process_begin: CreateProcess(NULL, cc -g -ggdb -Wall -O2 -c src/crypto-base64.c -o tmp/crypto-base64.o, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:109: tmp/crypto-base64.o] Error 2
mzpqnxow commented 7 months ago

Seems like you don't have a compiler installed and/or in your PATH. It's failing trying to execute "cc"

I can't tell you how to fix it bt I can tell you it's not something that has anything to do with masscan

If you can't run "cc" on the commamdline, make will fail. And I suspect if you try to run "cc" you will get a command not found error