[Snort-devel] Compile issue on Solaris 10 for version 2.9.11

Steven Christensen sunfreeware at gmail.com
Thu Oct 12 03:32:12 EDT 2017


In attempting to build 2.9.1 on Solaris 10, I am getting this.  Any
thoughts on correcting this?

Thanks.

Making all in sfutil

make[1]: Entering directory
'/export/home/steve/SOURCES/snort-2.9.11/src/sfutil'

/usr/local/bin/gcc  -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src
-I../../src/sfutil  -I../../src/output-plugins
-I../../src/detection-plugins -I../../src/dynamic-plugins
-I../../src/preprocessors -I../../src/preprocessors/portscan
-I../../src/preprocessors/HttpInspect/include
-I../../src/preprocessors/Session -I../../src/preprocessors/Stream6
-I../../src/target-based -I../../src/control -I../../src/file-process
-I../../src/file-process/libs -I../../src/side-channel
-I../../src/side-channel/plugins -I../../src/reload-adjust
-I/usr/local/include
-I/usr/local/ssl/include -I/usr/local/include/ncurses
-I/usr/openwin/include -I/usr/local/BerkeleyDB.5.3/include
-I/usr/local/include/freetype2 -I/usr/include/mps
-I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include
-DLZMA -DGRE -DMPLS -DPPM_MGR -DNDEBUG -DSOURCEFIRE -DPPM_MGR
-DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DBSD_COMP -D_REENTRANT
-DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DPERF_PROFILING -DSNORT_RELOAD
-DNO_NON_ETHER_DECODER -DNORMALIZER -DACTIVE_RESPONSE  -L/usr/local/lib
-R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib
-L/usr/openwin/lib -R/usr/openwin/lib -I/usr/local/BerkeleyDB.5.3/include
-I/usr/local/mysql/include -I/usr/local/ssl/include -Wall -c -o sfhashfcn.o
sfhashfcn.c

In file included from ../../src/ipv6_port.h:29,

                 from ../../src/decode.h:52,

                 from ../../src/spo_plugbase.h:31,

                 from ../../src/snort.h:36,

                 from sfhashfcn.c:43:

./sf_ip.h: In function `sfraw_is_set':

./sf_ip.h:273: error: structure has no member named `__u6_addr'

./sf_ip.h:273: error: structure has no member named `__u6_addr'

./sf_ip.h:273: error: structure has no member named `__u6_addr'

./sf_ip.h:273: error: structure has no member named `__u6_addr'

./sf_ip.h:274: error: structure has no member named `__u6_addr'

./sf_ip.h:274: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfaddr_is_set':

./sf_ip.h:279: error: structure has no member named `__u6_addr'

./sf_ip.h:281: error: structure has no member named `__u6_addr'

./sf_ip.h:281: error: structure has no member named `__u6_addr'

./sf_ip.h:281: error: structure has no member named `__u6_addr'

./sf_ip.h:281: error: structure has no member named `__u6_addr'

./sf_ip.h:282: error: structure has no member named `__u6_addr'

./sf_ip.h:282: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_ismapped':

./sf_ip.h:299: error: structure has no member named `__u6_addr'

./sf_ip.h:299: error: structure has no member named `__u6_addr'

./sf_ip.h:299: error: structure has no member named `__u6_addr'

./sf_ip.h:299: error: structure has no member named `__u6_addr'

./sf_ip.h:299: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `_ip6_cmp':

./sf_ip.h:322: error: structure has no member named `__u6_addr'

./sf_ip.h:323: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_compare':

./sf_ip.h:352: error: structure has no member named `__u6_addr'

./sf_ip.h:352: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_compare_unset':

./sf_ip.h:391: error: structure has no member named `__u6_addr'

./sf_ip.h:391: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_lt4':

./sf_ip.h:397: error: structure has no member named `__u6_addr'

./sf_ip.h:397: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_gt4':

./sf_ip.h:400: error: structure has no member named `__u6_addr'

./sf_ip.h:400: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_eq4':

./sf_ip.h:403: error: structure has no member named `__u6_addr'

./sf_ip.h:403: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_lt6':

./sf_ip.h:409: error: structure has no member named `__u6_addr'

./sf_ip.h:410: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_gt6':

./sf_ip.h:430: error: structure has no member named `__u6_addr'

./sf_ip.h:431: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_eq6':

./sf_ip.h:451: error: structure has no member named `__u6_addr'

./sf_ip.h:452: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_cont4':

./sf_ip.h:465: error: structure has no member named `__u6_addr'

./sf_ip.h:466: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_fast_cont6':

./sf_ip.h:485: error: structure has no member named `__u6_addr'

./sf_ip.h:485: error: structure has no member named `__u6_addr'

./sf_ip.h:491: error: structure has no member named `__u6_addr'

./sf_ip.h:496: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfip_is_private':

./sf_ip.h:547: error: structure has no member named `__u6_addr'

./sf_ip.h:547: error: structure has no member named `__u6_addr'

./sf_ip.h:547: error: structure has no member named `__u6_addr'

./sf_ip.h:549: error: structure has no member named `__u6_addr'

./sf_ip.h:562: error: structure has no member named `__u6_addr'

./sf_ip.h:568: error: structure has no member named `__u6_addr'

./sf_ip.h: In function `sfaddr_copy_to_raw':

./sf_ip.h:576: error: structure has no member named `__u6_addr'

./sf_ip.h:576: error: structure has no member named `__u6_addr'

./sf_ip.h:577: error: structure has no member named `__u6_addr'

./sf_ip.h:577: error: structure has no member named `__u6_addr'

./sf_ip.h:578: error: structure has no member named `__u6_addr'

./sf_ip.h:578: error: structure has no member named `__u6_addr'

./sf_ip.h:579: error: structure has no member named `__u6_addr'

./sf_ip.h:579: error: structure has no member named `__u6_addr'

In file included from ./sfPolicy.h:27,

                 from ./sfthd.h:35,

                 from ../../src/sfthreshold.h:26,

                 from ../../src/snort.h:54,

                 from sfhashfcn.c:43:

./sfrt.h: In function `sfrt_dir8x_lookup':

./sfrt.h:232: error: structure has no member named `__u6_addr'

make[1]: *** [Makefile:461: sfhashfcn.o] Error 1

make[1]: Leaving directory
'/export/home/steve/SOURCES/snort-2.9.11/src/sfutil'

make: *** [Makefile:558: all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20171012/53ccf72a/attachment.html>


More information about the Snort-devel mailing list