Nmap Development mailing list archives
mmap source compile error on make for macosx 10.9
From: Brian Taylor <ontodevelop () me com>
Date: Wed, 04 Jun 2014 21:07:53 -0400
Applications/Xcode.app/Contents/Developer/usr/bin/make nmap build-zenmap build-ndiff build-nping g++ -c -I./liblinear -I./liblua -I./libdnet-stripped/include -I./libpcre -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"http://nmap.org\" -DNMAP_PLATFORM=\"x86_64-apple-darwin13.2.0\" -DNMAPDATADIR=\"/usr/local/share/nmap\" -D_FORTIFY_SOURCE=2 -no-cpp-precomp -g -O2 -Wall -fno-strict-aliasing nmap_tty.cc -o nmap_tty.o nmap_tty.cc:234:9: error: use of undeclared identifier 'sigfillset' sigfillset(&sa.sa_mask); /* block all signals during handler exe... ^ nmap_tty.cc:236:9: error: no matching constructor for initialization of 'sigaction' sigaction(signo, &sa, NULL); ^ ~~~~~~~~~~~~~~~~ /usr/include/sys/signal.h:283:8: note: candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 3 were provided struct sigaction { ^ /usr/include/sys/signal.h:283:8: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided nmap_tty.cc:248:9: error: use of undeclared identifier 'sigemptyset' sigemptyset(&set); ^ nmap_tty.cc:249:9: error: use of undeclared identifier 'sigaddset' sigaddset(&set, signo); ^ nmap_tty.cc:250:9: error: use of undeclared identifier 'sigprocmask' sigprocmask(SIG_UNBLOCK, &set, NULL); ^ nmap_tty.cc:251:9: error: use of undeclared identifier 'raise' raise(signo); /* This should kill us / ^ 6 errors generated. make[1]: ** [nmap_tty.o] Error 1 make: *** [all] Error 2 _______________________________________________ Sent through the dev mailing list http://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- mmap source compile error on make for macosx 10.9 Brian Taylor (Jun 04)
- Re: mmap source compile error on make for macosx 10.9 Daniel Miller (Jun 04)