File tree Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -51,17 +51,22 @@ clang-*/NetBSD-*)
5151 LIBPCAP_TAINTED=yes
5252 ;;
5353clang-* /SunOS-5.11)
54+ # (Solaris 11 and OpenIndiana)
5455 # pcap-bpf.c:1044:18: warning: implicit conversion loses integer precision:
5556 # 'uint64_t' (aka 'unsigned long') to 'u_int' (aka 'unsigned int')
5657 # [-Wshorten-64-to-32]
5758 # pcap-bpf.c:1045:18: warning: implicit conversion loses integer precision:
5859 # 'uint64_t' (aka 'unsigned long') to 'u_int' (aka 'unsigned int')
5960 # [-Wshorten-64-to-32]
60- # pcap-bpf.c:1843:22: warning: implicit conversion loses integer precision:
61- # 'long' to 'int' [-Wshorten-64-to-32]
6261 # fad-getad.c:266:52: warning: implicit conversion loses integer precision:
6362 # 'uint64_t'(aka 'unsigned long') to 'bpf_u_int32' (aka 'unsigned int')
6463 # [-Wshorten-64-to-32]
64+ # (Solaris 11)
65+ # pcap-bpf.c:1843:22: warning: implicit conversion loses integer precision:
66+ # 'long' to 'int' [-Wshorten-64-to-32]
67+ # (OpenIndiana)
68+ # rpcapd.c:393:18: warning: this function declaration is not a prototype
69+ # [-Wstrict-prototypes]
6570 [ " ` uname -p` " = i386 ] && LIBPCAP_TAINTED=yes
6671 ;;
6772suncc-5.1[45]/SunOS-5.11)
Original file line number Diff line number Diff line change 1- # Compiling libpcap on Solaris
1+ # Compiling libpcap on Solaris and related OSes
22
33* Autoconf works everywhere.
44* Neither Solaris lex nor Solaris yacc are suitable.
5+ * Neither OpenIndiana lex nor OpenIndiana yacc are suitable.
6+ * Solaris m4 and OpenIndiana m4 are suitable.
7+
8+ ## OpenIndiana 2021.04/AMD64
9+
10+ * flex 2.6.4 and GNU Bison 3.7.6 work.
11+ * CMake 3.21.1 works.
12+ * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
13+
14+ For reference, the tests were done using a system installed from
15+ ` OI-hipster-text-20210430.iso ` plus the following packages:
16+ ``` shell
17+ xargs -L1 pkg install << ENDOFTEXT
18+ developer/build/autoconf
19+ developer/parser/bison
20+ developer/lexer/flex
21+ developer/build/cmake
22+ developer/gcc-10
23+ developer/clang-90
24+ ENDOFTEXT
25+ ```
526
627## Solaris 11/SPARC
728
You can’t perform that action at this time.
0 commit comments