[Snort-devel] Why does the sun studio compile fail to build snort?

Jason Zhao Jason.Zhao at ...2994...
Tue Mar 10 03:30:19 EDT 2009


Hi, Steven,

After pulling over snort-2.8.4.rc1, I still got errors using sun studio 
compiler.
The good news is the last errors are gone.

Please see following, thanks.
---------------------------------------------------------------------------------------------------------------------
# ./configure --prefix=/usr/share/jason --enable-static=no
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc accepts -g... yes
checking for /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc option to accept 
ISO C89... none needed
checking dependency style of /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc... none
checking for ranlib... ranlib
checking for bison... no
checking for yacc... yacc
checking for flex... no
checking for lex... lex
checking for gcc... (cached) /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc
checking whether we are using the GNU C compiler... (cached) no
checking whether /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc accepts -g... 
(cached) yes
checking for /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc option to accept 
ISO C89... (cached) none needed
checking dependency style of /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc... 
(cached) none
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking for a sed that does not truncate output... /usr/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking for non-GNU ld... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -p
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 262144
checking command to parse /usr/bin/nm -p output from 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc option to produce 
PIC... -KPIC
checking if /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc PIC flag -KPIC 
works... yes
checking if /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc static flag -Bstatic 
works... no
checking if /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc supports -c -o 
file.o... yes
checking whether the /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc linker 
(/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for g77 option to produce PIC... -KPIC
checking if g77 PIC flag -KPIC works... no
checking if g77 static flag -Bstatic works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... solaris2.11 ld.so
checking how to hardcode library paths into programs... immediate
checking whether byte ordering is bigendian... no
checking for sparc alignment... no
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking for inttypes.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for inet_ntoa in -lnsl... yes
checking for socket in -lsocket... yes
checking whether printf must be declared... no
checking whether fprintf must be declared... no
checking whether syslog must be declared... no
checking whether puts must be declared... no
checking whether fputs must be declared... no
checking whether fputc must be declared... no
checking whether fopen must be declared... no
checking whether fclose must be declared... no
checking whether fwrite must be declared... no
checking whether fflush must be declared... no
checking whether getopt must be declared... no
checking whether bzero must be declared... no
checking whether bcopy must be declared... no
checking whether memset must be declared... no
checking whether strtol must be declared... no
checking whether strcasecmp must be declared... no
checking whether strncasecmp must be declared... no
checking whether strerror must be declared... no
checking whether perror must be declared... no
checking whether socket must be declared... no
checking whether sendto must be declared... no
checking whether vsnprintf must be declared... no
checking whether snprintf must be declared... no
checking whether strtoul must be declared... no
checking for snprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strerror... yes
checking for vswprintf... yes
checking for wprintf... yes
checking for sizeof(unsigned long)... 32 bits
checking for __FUNCTION__... no
checking for __func__... yes
checking for floor in -lm... yes
checking for pcap_datalink in -lpcap... yes
checking for INADDR_NONE... yes
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking for pcre_compile in -lpcre... yes
checking for libpcre version 6.0 or greater... yes
checking for dlsym in -ldl... yes
checking for u_int8_t... no
checking for u_int16_t... no
checking for u_int32_t... no
./configure[27742]: test: argument expected
checking for a BSD-compatible install... /usr/bin/ginstall -c
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sfutil/Makefile
config.status: creating src/detection-plugins/Makefile
config.status: creating src/dynamic-plugins/Makefile
config.status: creating src/dynamic-plugins/sf_engine/Makefile
config.status: creating src/dynamic-plugins/sf_engine/examples/Makefile
config.status: creating src/dynamic-plugins/sf_preproc_example/Makefile
config.status: creating src/dynamic-preprocessors/Makefile
config.status: creating src/dynamic-preprocessors/libs/Makefile
config.status: creating src/dynamic-preprocessors/ftptelnet/Makefile
config.status: creating src/dynamic-preprocessors/smtp/Makefile
config.status: creating src/dynamic-preprocessors/ssh/Makefile
config.status: creating src/dynamic-preprocessors/dcerpc/Makefile
config.status: creating src/dynamic-preprocessors/dcerpc2/Makefile
config.status: creating src/dynamic-preprocessors/dns/Makefile
config.status: creating src/dynamic-examples/Makefile
config.status: creating src/dynamic-examples/dynamic-preprocessor/Makefile
config.status: creating src/dynamic-examples/dynamic-rule/Makefile
config.status: creating src/dynamic-preprocessors/ssl/Makefile
config.status: creating src/output-plugins/Makefile
config.status: creating src/preprocessors/Makefile
config.status: creating src/preprocessors/HttpInspect/Makefile
config.status: creating src/preprocessors/HttpInspect/include/Makefile
config.status: creating src/preprocessors/HttpInspect/utils/Makefile
config.status: creating 
src/preprocessors/HttpInspect/anomaly_detection/Makefile
config.status: creating src/preprocessors/HttpInspect/client/Makefile
config.status: creating src/preprocessors/HttpInspect/event_output/Makefile
config.status: creating 
src/preprocessors/HttpInspect/mode_inspection/Makefile
config.status: creating src/preprocessors/HttpInspect/normalization/Makefile
config.status: creating src/preprocessors/HttpInspect/server/Makefile
config.status: creating 
src/preprocessors/HttpInspect/session_inspection/Makefile
config.status: creating 
src/preprocessors/HttpInspect/user_interface/Makefile
config.status: creating src/preprocessors/Stream5/Makefile
config.status: creating src/parser/Makefile
config.status: creating src/target-based/Makefile
config.status: creating doc/Makefile
config.status: creating contrib/Makefile
config.status: creating schemas/Makefile
config.status: creating rpm/Makefile
config.status: creating preproc_rules/Makefile
config.status: creating m4/Makefile
config.status: creating etc/Makefile
config.status: creating templates/Makefile
config.status: creating src/win32/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

# make
......
Making all in dcerpc2
cp ../include/sf_dynamic_preproc_lib.c sf_dynamic_preproc_lib.c
cp ../include/sf_ip.c sf_ip.c
cp ../include/sfrt.c sfrt.c
cp ../include/sfrt_dir.c sfrt_dir.c
make  all-am
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_debug.lo dce2_debug.c
mkdir .libs
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_debug.c  -KPIC -DPIC -o .libs/dce2_debug.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_utils.lo dce2_utils.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_utils.c  -KPIC -DPIC -o .libs/dce2_utils.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_list.lo dce2_list.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_list.c  -KPIC -DPIC -o .libs/dce2_list.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_memory.lo dce2_memory.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_memory.c  -KPIC -DPIC -o .libs/dce2_memory.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_stats.lo dce2_stats.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_stats.c  -KPIC -DPIC -o .libs/dce2_stats.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_event.lo dce2_event.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_event.c  -KPIC -DPIC -o .libs/dce2_event.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_config.lo dce2_config.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_config.c  -KPIC -DPIC -o .libs/dce2_config.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_roptions.lo dce2_roptions.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_roptions.c  -KPIC -DPIC -o .libs/dce2_roptions.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o spp_dce2.lo spp_dce2.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c spp_dce2.c  -KPIC -DPIC -o .libs/spp_dce2.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o snort_dce2.lo snort_dce2.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c snort_dce2.c  -KPIC -DPIC -o .libs/snort_dce2.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_smb.lo dce2_smb.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_smb.c  -KPIC -DPIC -o .libs/dce2_smb.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_tcp.lo dce2_tcp.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_tcp.c  -KPIC -DPIC -o .libs/dce2_tcp.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_co.lo dce2_co.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_co.c  -KPIC -DPIC -o .libs/dce2_co.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_udp.lo dce2_udp.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_udp.c  -KPIC -DPIC -o .libs/dce2_udp.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_cl.lo dce2_cl.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_cl.c  -KPIC -DPIC -o .libs/dce2_cl.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o dce2_http.lo dce2_http.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c dce2_http.c  -KPIC -DPIC -o .libs/dce2_http.o
"dce2_session.h", line 53: warning: enumerator value overflows INT_MAX 
(2147483647)
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o sf_dynamic_preproc_lib.lo sf_dynamic_preproc_lib.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sf_dynamic_preproc_lib.c  -KPIC -DPIC -o 
.libs/sf_dynamic_preproc_lib.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o sf_ip.lo sf_ip.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sf_ip.c  -KPIC -DPIC -o .libs/sf_ip.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o sfrt.lo sfrt.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sfrt.c  -KPIC -DPIC -o .libs/sfrt.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  
-g -DDYNAMIC_PLUGIN -c -o sfrt_dir.lo sfrt_dir.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -I./includes -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sfrt_dir.c  -KPIC -DPIC -o .libs/sfrt_dir.o
/bin/sh ../../../libtool --tag=CC    --mode=link 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc  -g -DDYNAMIC_PLUGIN  
-export-dynamic -L/usr/lib -R/usr/lib -lpcre -o libsf_dce2_preproc.la 
-rpath /usr/share/jason/lib/snort_dynamicpreprocessor dce2_debug.lo 
dce2_utils.lo  dce2_list.lo dce2_memory.lo dce2_stats.lo dce2_event.lo  
dce2_config.lo dce2_roptions.lo spp_dce2.lo snort_dce2.lo  dce2_smb.lo 
dce2_tcp.lo dce2_co.lo dce2_udp.lo dce2_cl.lo  dce2_http.lo  
sf_dynamic_preproc_lib.lo  sf_ip.lo sfrt.lo sfrt_dir.lo  -ldl -lpcre 
-lpcap -lm -lsocket -lnsl  -ldl
/usr/bin/ld -G -h libsf_dce2_preproc.so.0 -o 
.libs/libsf_dce2_preproc.so.0.0.0  .libs/dce2_debug.o .libs/dce2_utils.o 
.libs/dce2_list.o .libs/dce2_memory.o .libs/dce2_stats.o 
.libs/dce2_event.o .libs/dce2_config.o .libs/dce2_roptions.o 
.libs/spp_dce2.o .libs/snort_dce2.o .libs/dce2_smb.o .libs/dce2_tcp.o 
.libs/dce2_co.o .libs/dce2_udp.o .libs/dce2_cl.o .libs/dce2_http.o 
.libs/sf_dynamic_preproc_lib.o .libs/sf_ip.o .libs/sfrt.o 
.libs/sfrt_dir.o  -R/usr/lib -L/usr/lib -lpcre -lpcap -lm -lsocket -lnsl 
-ldl -lc
(cd .libs && rm -f libsf_dce2_preproc.so.0 && ln -s 
libsf_dce2_preproc.so.0.0.0 libsf_dce2_preproc.so.0)
(cd .libs && rm -f libsf_dce2_preproc.so && ln -s 
libsf_dce2_preproc.so.0.0.0 libsf_dce2_preproc.so)
creating libsf_dce2_preproc.la
(cd .libs && rm -f libsf_dce2_preproc.la && ln -s 
../libsf_dce2_preproc.la libsf_dce2_preproc.la)
make DESTDIR=`pwd`/../build install-libLTLIBRARIES
test -z "/usr/share/jason/lib/snort_dynamicpreprocessor" || 
../../.././install-sh -c -d 
"/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor"
 /bin/sh ../../../libtool --mode=install /usr/bin/ginstall -c  
'libsf_dce2_preproc.la' 
'/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor/libsf_dce2_preproc.la'
/usr/bin/ginstall -c .libs/libsf_dce2_preproc.so.0.0.0 
/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor/libsf_dce2_preproc.so.0.0.0
(cd 
/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor 
&& { ln -s -f libsf_dce2_preproc.so.0.0.0 libsf_dce2_preproc.so.0 || { 
rm -f libsf_dce2_preproc.so.0 && ln -s libsf_dce2_preproc.so.0.0.0 
libsf_dce2_preproc.so.0; }; })
(cd 
/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor 
&& { ln -s -f libsf_dce2_preproc.so.0.0.0 libsf_dce2_preproc.so || { rm 
-f libsf_dce2_preproc.so && ln -s libsf_dce2_preproc.so.0.0.0 
libsf_dce2_preproc.so; }; })
chmod +x 
/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor/libsf_dce2_preproc.so.0.0.0
/usr/bin/ginstall -c .libs/libsf_dce2_preproc.lai 
/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src/dynamic-preprocessors/dcerpc2/../build/usr/share/jason/lib/snort_dynamicpreprocessor/libsf_dce2_preproc.la
libtool: install: warning: remember to run `libtool --finish 
/usr/share/jason/lib/snort_dynamicpreprocessor'
Making all in target-based
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c sftarget_reader.c
"sftarget_reader.c", line 1155: warning: empty translation unit
rm -f libtarget_based.a
ar cru libtarget_based.a sftarget_reader.o  
ranlib libtarget_based.a
Making all in dynamic-examples
Updating  include/bounds.h
Updating  include/debug.h
Updating  include/preprocids.h
Updating  include/profiler.h
Updating  include/cpuclock.h
Updating  include/sf_dynamic_common.h
Updating  include/sf_dynamic_engine.h
Updating  include/sf_dynamic_define.h
Updating  include/sf_dynamic_meta.h
Updating  include/sf_dynamic_preprocessor.h
Updating  include/sf_dynamic_preproc_lib.c
Updating  include/sf_dynamic_preproc_lib.h
Updating  include/sfghash.h
Updating  include/sfhashfcn.h
Updating  include/bitop.h
Updating  include/sf_ip.h
Updating  include/sf_ip.c
Updating  include/sf_ipvar.h
Updating  include/sf_vartable.h
Updating  include/ipv6_port.h
Updating  include/sfsnort_dynamic_detection_lib.c
Updating  include/sfsnort_dynamic_detection_lib.h
Updating  include/sf_snort_packet.h
Updating  include/sf_snort_plugin_api.h
Updating  include/pcap_pkthdr32.h
Updating  include/stream_api.h
Updating  include/str_search.h
Updating  include/sf_types.h
make  all-recursive
Making all in dynamic-preprocessor
cp ../include/sf_dynamic_preproc_lib.c sf_dynamic_preproc_lib.c
make  all-am
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  -g 
-DDYNAMIC_PLUGIN -c -o sf_dynamic_preproc_lib.lo sf_dynamic_preproc_lib.c
mkdir .libs
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sf_dynamic_preproc_lib.c  -KPIC -DPIC -o 
.libs/sf_dynamic_preproc_lib.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  -g 
-DDYNAMIC_PLUGIN -c -o spp_example.lo spp_example.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c spp_example.c  -KPIC -DPIC -o .libs/spp_example.o
/bin/sh ../../../libtool --tag=CC    --mode=link 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc   -g -DDYNAMIC_PLUGIN  
-export-dynamic -L/usr/lib -R/usr/lib -lpcre -o  
lib_sfdynamic_preprocessor_example.la -rpath 
/usr/share/jason/lib/snort_dynamicpreprocessor sf_dynamic_preproc_lib.lo 
spp_example.lo  -ldl -lpcre -lpcap -lm -lsocket -lnsl  -ldl
/usr/bin/ld -G -h lib_sfdynamic_preprocessor_example.so.0 -o 
.libs/lib_sfdynamic_preprocessor_example.so.0.0.0  
.libs/sf_dynamic_preproc_lib.o .libs/spp_example.o  -R/usr/lib 
-L/usr/lib -lpcre -lpcap -lm -lsocket -lnsl -ldl -lc
(cd .libs && rm -f lib_sfdynamic_preprocessor_example.so.0 && ln -s 
lib_sfdynamic_preprocessor_example.so.0.0.0 
lib_sfdynamic_preprocessor_example.so.0)
(cd .libs && rm -f lib_sfdynamic_preprocessor_example.so && ln -s 
lib_sfdynamic_preprocessor_example.so.0.0.0 
lib_sfdynamic_preprocessor_example.so)
creating lib_sfdynamic_preprocessor_example.la
(cd .libs && rm -f lib_sfdynamic_preprocessor_example.la && ln -s 
../lib_sfdynamic_preprocessor_example.la 
lib_sfdynamic_preprocessor_example.la)
Making all in dynamic-rule
cp ../include/sfsnort_dynamic_detection_lib.c 
sfsnort_dynamic_detection_lib.c
cp ../include/sfsnort_dynamic_detection_lib.h 
sfsnort_dynamic_detection_lib.h
make  all-am
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  -g 
-DDYNAMIC_PLUGIN -c -o sfsnort_dynamic_detection_lib.lo 
sfsnort_dynamic_detection_lib.c
mkdir .libs
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sfsnort_dynamic_detection_lib.c  -KPIC -DPIC -o 
.libs/sfsnort_dynamic_detection_lib.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  -g 
-DDYNAMIC_PLUGIN -c -o rules.lo rules.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c rules.c  -KPIC -DPIC -o .libs/rules.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  -g 
-DDYNAMIC_PLUGIN -c -o sid109.lo sid109.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sid109.c  -KPIC -DPIC -o .libs/sid109.o
/bin/sh ../../../libtool --tag=CC    --mode=compile 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include   -DBSD_COMP -D_REENTRANT -I/usr/include/pcre  -g 
-DDYNAMIC_PLUGIN -c -o sid637.lo sid637.c
 /ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -DHAVE_CONFIG_H -I. -I../../.. 
-I../include -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g 
-DDYNAMIC_PLUGIN -c sid637.c  -KPIC -DPIC -o .libs/sid637.o
/bin/sh ../../../libtool --tag=CC    --mode=link 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc   -g -DDYNAMIC_PLUGIN  
-export-dynamic -L/usr/lib -R/usr/lib -lpcre -o 
lib_sfdynamic_example_rule.la -rpath 
/usr/share/jason/lib/snort_dynamicrules sfsnort_dynamic_detection_lib.lo 
rules.lo sid109.lo sid637.lo  -ldl -lpcre -lpcap -lm -lsocket -lnsl  -ldl
/usr/bin/ld -G -h lib_sfdynamic_example_rule.so.0 -o 
.libs/lib_sfdynamic_example_rule.so.0.0.0  
.libs/sfsnort_dynamic_detection_lib.o .libs/rules.o .libs/sid109.o 
.libs/sid637.o  -R/usr/lib -L/usr/lib -lpcre -lpcap -lm -lsocket -lnsl 
-ldl -lc
(cd .libs && rm -f lib_sfdynamic_example_rule.so.0 && ln -s 
lib_sfdynamic_example_rule.so.0.0.0 lib_sfdynamic_example_rule.so.0)
(cd .libs && rm -f lib_sfdynamic_example_rule.so && ln -s 
lib_sfdynamic_example_rule.so.0.0.0 lib_sfdynamic_example_rule.so)
creating lib_sfdynamic_example_rule.la
(cd .libs && rm -f lib_sfdynamic_example_rule.la && ln -s 
../lib_sfdynamic_example_rule.la lib_sfdynamic_example_rule.la)
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c codes.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c debug.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c decode.c
"decode.c", line 282: warning: statement not reached
"decode.c", line 1426: warning: statement not reached
"decode.c", line 1599: warning: statement not reached
"decode.c", line 1717: warning: statement not reached
"decode.c", line 1803: warning: statement not reached
"decode.c", line 1921: warning: statement not reached
"decode.c", line 2235: warning: statement not reached
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c log.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c mstring.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c parser.c
"parser.c", line 3813: warning: assignment type mismatch:
    pointer to function(pointer to char, pointer to char, pointer to 
pointer to void) returning int "=" pointer to void
"parser.c", line 3814: warning: assignment type mismatch:
    pointer to function(pointer to void, pointer to pointer to const 
unsigned char, pointer to void) returning int "=" pointer to void
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c profiler.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c plugbase.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c snort.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c snprintf.c
"snprintf.c", line 510: warning: empty translation unit
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c strlcatu.c
"strlcatu.c", line 76: warning: empty translation unit
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c strlcpyu.c
"strlcpyu.c", line 72: warning: empty translation unit
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c tag.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c util.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c detect.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c signature.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c mempool.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c sf_sdlist.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c fpcreate.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c fpdetect.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c pcrm.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c byte_extract.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c sfthreshold.c
"sfthreshold.c", line 470: warning: integer overflow detected: op "<<"
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c packet_time.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c event_wrapper.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c event_queue.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c inline.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c ppm.c
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -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/Stream5 -I../src/target-based   -DBSD_COMP 
-D_REENTRANT -I/usr/include/pcre  -g -DDYNAMIC_PLUGIN -c log_text.c
/bin/sh ../libtool --tag=CC    --mode=link 
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc  -g -DDYNAMIC_PLUGIN   
-L/usr/lib -R/usr/lib -lpcre -o snort codes.o debug.o decode.o  log.o 
mstring.o parser.o  profiler.o plugbase.o snort.o  snprintf.o strlcatu.o 
strlcpyu.o  tag.o util.o detect.o  signature.o mempool.o sf_sdlist.o  
fpcreate.o fpdetect.o pcrm.o  byte_extract.o sfthreshold.o  
packet_time.o event_wrapper.o  event_queue.o inline.o ppm.o  log_text.o 
output-plugins/libspo.a  detection-plugins/libspd.a             
dynamic-plugins/libdynamic.a             
preprocessors/libspp.a                 parser/libparser.a  
target-based/libtarget_based.a  
preprocessors/HttpInspect/libhttp_inspect.a  
preprocessors/Stream5/libstream5.a  sfutil/libsfutil.a -ldl -lpcre 
-lpcap -lm -lsocket -lnsl  -ldl
mkdir .libs
/ws/onnv-tools-prc/SUNWspro/SS12/bin/cc -g -DDYNAMIC_PLUGIN -o snort 
codes.o debug.o decode.o log.o mstring.o parser.o profiler.o plugbase.o 
snort.o snprintf.o strlcatu.o strlcpyu.o tag.o util.o detect.o 
signature.o mempool.o sf_sdlist.o fpcreate.o fpdetect.o pcrm.o 
byte_extract.o sfthreshold.o packet_time.o event_wrapper.o event_queue.o 
inline.o ppm.o log_text.o  -L/usr/lib output-plugins/libspo.a 
detection-plugins/libspd.a dynamic-plugins/libdynamic.a 
preprocessors/libspp.a parser/libparser.a target-based/libtarget_based.a 
preprocessors/HttpInspect/libhttp_inspect.a 
preprocessors/Stream5/libstream5.a sfutil/libsfutil.a -lpcre -lpcap -lm 
-lsocket -lnsl -ldl   -R/usr/lib
Undefined            first referenced
 symbol                  in file
CalcJiffies                         
preprocessors/Stream5/libstream5.a(stream5_common.o)
protocolRuleList                    
preprocessors/Stream5/libstream5.a(stream5_common.o)
SparseGetNextStateDFA               sfutil/libsfutil.a(acsmx2.o)
SparseGetNextStateNFA               sfutil/libsfutil.a(acsmx2.o)
ld: fatal: symbol referencing errors. No output written to snort
*** Error code 1
make: Fatal error: Command failed for target `snort'
Current working directory 
/export/home/Jason/work/pkgport/snort/snort-2.8.4.rc1/src
......
---------------------------------------------------------------------------------------------------------------------

When I checked the libsfutil.a, I found the symbols like 
SparseGetNextStateDFA are undefined.
It is to say, the "acsmx2.o" could not be compiled well enough by sun 
studio compiler.

# nm libsfutil.a | grep SparseGetNextStateDFA
[82]    |         0|         0|NOTY |GLOB |0    |UNDEF  
|SparseGetNextStateDFA

# nm acsmx2.o | grep SparseGEtNextStateDFA
#

Great Thanks
Jason
Steven Sturges wrote:
> Hi Jason--
>
> From what I can see in the code I'm looking at, those
> issues are fixed in Snort 2.8.4 RC, which is available
> on snort.org.
>
> Namely the inline functions are now static inline.
> You should be able to change the code to make the
> function's that call Stream5SeglistDeleteNode,
> FlushStream, and DeleteSeglist static inline.
>
> Cheers.
> -steve
>
> Jason Zhao wrote:
>   
>> Hi, All
>>
>> When I tried to build snort under Solaris with sun studio compile cc
>> /opt/SUNWspro/bin/cc to build snort-2.8.3.1, I got following errors.
>> ##################################
>> <snip>
>> cc -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/flow
>> -I../../../src/preprocessors/portscan
>> -I../../../src/preprocessors/flow/int-snort
>> -I../../../src/preprocessors/HttpInspect/include
>> -I../../../src/preprocessors/Stream5 -I../../../src/target-based
>> -DBSD_COMP -D_REENTRANT -I/usr/include/pcre -g -DDYNAMIC_PLUGIN
>> -DDETECTION_OPTION_TREE -c snort_stream5_tcp.c
>> "../../../src/rules.h", line 53: warning: macro redefined: INADDR_NONE
>> "snort_stream5_tcp.c", line 2528: reference to static identifier
>> "Stream5SeglistDeleteNode" in extern inline function
>> "snort_stream5_tcp.c", line 3068: reference to static identifier
>> "FlushStream" in extern inline function
>> "snort_stream5_tcp.c", line 3080: reference to static identifier
>> "DeleteSeglist" in extern inline function
>> cc: acomp failed for snort_stream5_tcp.c
>> *** Error code 2
>> make: Fatal error: Command failed for target `snort_stream5_tcp.o'
>> Current working directory
>> /export/home/Jason/work/pkgport/snort-2.8.3.1/src/preprocessors/Stream5
>> *** Error code 1
>> </snip>
>> ##################################
>>
>> However "gcc" could work for me. Why does the cc compiler fail?
>>
>> Great Thanks
>> Jason
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open source participation
>> -Receive a $600 discount off the registration fee with the source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> Snort-devel mailing list
>> Snort-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/snort-devel
>>
>>     





More information about the Snort-devel mailing list