7/28/2023 0 Comments Macports nmap![]() Where is this 'upstream' I should be reporting this to? I doubt I'll be able to write a Portfile, but I'm open to testing. scriptldap-brute,ldap-get-baseobject,ldap-search 192.168.0.190 -p ldap -PN -n -d Initiating NSE at 11:00 NSE: NSE Script Threads (3) running: NSE: Starting ldap-search against 192.168.0.190:389. I suppose you should check whether 'off_t' is declared at the top of the file (how? does ifndef work for types?) and if not, include sys/types.h. Here's what I get, against OpenLDAP 2.3.35 installed from MacPorts. Works - that's the definition in /usr/include/sys/types.h - but that's not elegant nor 10.4 specific. Here you may learn about MacPorts usage, development, and support. Type off_t is apparently not native to apple_gcc 4.2, but the code assumes it is. If you can attach a patchfile with your change and a portfile diff (which applies the patch only on 10.4), I'm likely to get to updating the port sooner than if I have to generate it myself (and try to test it somehow). If you do, please note it here (including whatever fix that ends up being merged upstream). Replying to don't have a 10.4 system to test on, but one thing you might want to do is report this upstream. Would you consider patching the port accordingly? But this feels to me like a change for the better this file does use stuff in sys/types.h, so #include'ing it doesn't strike me as unreasonable. I realize that OS X 10.4 is probably not your top priority. To the top of liolib.c, the build succeeds. :info:build liolib.c:544: error: offset undeclared (first use in this function) :info:build liolib.c:543: error: parse error before offset ![]() :info:build liolib.c:543: error: for each function it appears in.) :info:build liolib.c:543: error: (Each undeclared identifier is reported only once Though it’s free (and open source) and ships along with many versions of linux, it doesn’t come standard with Mac OS X. :info:build liolib.c:543: error: off_t undeclared (first use in this function) Nmap is a powerful command line network discovery utility that lets you review network inventory, host response and uptime, and perform security auditing through port scans, OS and firewall detection, and more. :info:build liolib.c: In function f_seek: Nmap is also available through systems such as MacPorts and Fink which package Unix software for Mac OS X. :info:build /usr/bin/gcc-4.0 -O2 -Wall -no-cpp-precomp -pipe -O2 -arch ppc -Wall -fno-strict-aliasing -DLUA_USE_MACOSX -c -o liolib.o liolib.c The guiding philosophy for the creation of nmap was TMTOWTDI (There's More Than One Way To Do It). Nmap is a utility for port scanning large networks, although it works fine for single hosts. :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_release_ports_net_nmap/nmap/work nmap (net/nmap) Updated: 7 months, 3 weeks ago Add to my watchlist 8 Port scanning utility for large networks. ![]() When compiling, I get the following error:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |