blechschmidt / massdns

A high-performance DNS stub resolver for bulk lookups and reconnaissance (subdomain enumeration)
GNU General Public License v3.0
3.05k stars 456 forks source link

massdns is not created on windows. #133

Closed freep0int closed 1 year ago

freep0int commented 1 year ago

Error:

cc -DMASSDNS_REVISION=\"v1.0.0-65-g2cee317\" -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns In file included from src/dns.h:12, from src/massdns.h:22, from src/main.c:9: src/string.h: In function ‘trim_start’: src/string.h:56:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 56 | if(!isspace(*str)) | ^~~~ src/string.h: In function ‘trim_end’: src/string.h:70:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] 70 | if(!isspace(*last)) | ^~~~~ src/string.h: In function ‘json_escape_str’: src/string.h:146:31: warning: array subscript has type ‘char’ [-Wchar-subscripts] 146 | if(isprint(src[i])) \ | ~~~^~~ src/string.h:168:5: note: in expansion of macro ‘json_escape_body’ 168 | json_escape_body(src[i] != 0);

error

blechschmidt commented 1 year ago

These were just warnings. MassDNS was still created in the bin directory. However, I have eliminated these warnings on Windows.

AliYar-Khan commented 10 months ago

I am having this issue when i ran the command make nolinux

mkdir -p bin
cc    -DMASSDNS_REVISION=\"v1.0.0-86-g6586950\" -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns
process_begin: CreateProcess(NULL, cc -DMASSDNS_REVISION=\"v1.0.0-86-g6586950\" -O3 -std=c11 -Wall -fstack-protector-strong src/main.c -o bin/massdns, ...) failed.
make (e=2): The system cannot find the file specified.
make: *** [Makefile:12: nolinux] Error 2