Nmap has issues building....

Scott Hannahs via Fink-users <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
This is on
Package manager version: 0.45.99.git
Distribution version: selfupdate-, 11.6, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 12.5.1
Xcode command-line tools: 12.5.1.0.1.1623191612
nmap-7.91-1 is set to build with only one job.

When building I get  a lot of errors all similar to this:
flag-sort -r g++ -c -I./liblinear -I./liblua -I./libdnet-stripped/include -I/opt/sw/include -I/opt/sw/include -I./libpcap -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_PLATFORM=\"x86_64-apple-darwin20.6.0\" -DNMAPDATADIR=\"/opt/sw/share/nmap\" -D_FORTIFY_SOURCE=2 -I/opt/sw/include -Os -Wall -fno-strict-aliasing   FingerPrintResults.cc -o FingerPrintResults.o
In file included from FingerPrintResults.cc:65:
In file included from ./FingerPrintResults.h:70:
In file included from ./FPEngine.h:70:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/vector:276:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__bit_reference:14:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/bit:58:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/limits:105:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/type_traits:417:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/cstddef:37:
./libpcap/version:1:1: error: expected unqualified-id
1.9.1
^

I am not sure what the error is.   The google seems to imply that there is a spurious semi-colon in the code, but I find that hard to believe.

Scott

_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.