1 # Compiling libpcap on Solaris and related OSes
3 * Autoconf works everywhere.
4 * Neither Solaris lex nor Solaris yacc are suitable.
5 * Neither illumos lex nor illumos yacc are suitable.
6 * Solaris m4 and illumos m4 are suitable.
8 ## OmniOS r151042/AMD64
10 * flex 2.6.4 and GNU Bison 3.8.2 work.
12 * GCC 11.2.0 and Clang 14.0.3 work.
14 ## OpenIndiana 2021.04/AMD64
16 * flex 2.6.4 and GNU Bison 3.7.6 work.
18 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
20 For reference, the tests were done using a system installed from
21 `OI-hipster-text-20210430.iso` plus the following packages:
23 xargs -L1 pkg install <<ENDOFTEXT
24 developer/build/autoconf
25 developer/parser/bison
35 * flex 2.6.4 and GNU Bison 3.7.3 work.
36 * Clang 11.0 works, GCC 11.2 works.
38 For reference, the tests were done using Oracle Solaris 11.4.42.111.0.
42 * flex 2.6.4 and GNU Bison 3.7.1 work.
44 * Sun C 5.13, Sun C 5.14 and Sun C 5.15 work; GCC 5.5.0 and GCC 7.3.0 work.
48 * libpcap build fails with rpcapd enabled.
49 * flex 2.6.4 and GNU Bison 3.7.1 work.
51 * Sun C 5.13 works, GCC 5.5.0 works.
55 * flex 2.5.35 and GNU Bison 3.0.2 work.
56 * CMake 2.8.9 does not work.
57 * Neither Sun C 5.8 nor Sun C 5.9 work, GCC 4.6.4 works.