Em đang làm snort-inline. Em cài đặt snort-2.8.6.1 trên hệ điều hành centOS 6.3. Em đã cài đặt đấy đủ thư viện để hỗ trọ snort. Khi cấu hình là : ./configure --with-mysql --enable-dynamicplugin --enable-inline --with-mysql-libraries=/usr/lib64/mysql thì không có lỗi gì. Nhưng sau khi em dùng make thì báo lỗi như sau:
libtool: install: chmod 644 /usr/local/snort-2.8.6.1/src/dynamic-preprocessors/sdf/../build/usr/local/lib/snort_dynamicpreprocessor/libsf_sdf_preproc.a
libtool: install: ranlib /usr/local/snort-2.8.6.1/src/dynamic-preprocessors/sdf/../build/usr/local/lib/snort_dynamicpreprocessor/libsf_sdf_preproc.a
libtool: install: warning: remember to run `libtool --finish /usr/local/lib/snort_dynamicpreprocessor'
make[7]: Leaving directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors/sdf'
make[6]: Leaving directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors/sdf'
make[5]: Leaving directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors/sdf'
make[5]: Entering directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors'
make[4]: Leaving directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors'
make[3]: Leaving directory `/usr/local/snort-2.8.6.1/src/dynamic-preprocessors'
Making all in target-based
make[3]: Entering directory `/usr/local/snort-2.8.6.1/src/target-based'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/local/snort-2.8.6.1/src/target-based'
make[3]: Entering directory `/usr/local/snort-2.8.6.1/src'
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I../src/sfutil -I/usr/include/pcap -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 -I/usr/local/include -DDYNAMIC_PLUGIN -DGIDS -I/usr/include/mysql -DENABLE_MYSQL -g -O2 -fvisibility=hidden -DLIBNET_LIL_ENDIAN -fno-strict-aliasing -Wall -c inline.c
inline.c: In function ‘RejectLayer2’:
inline.c:592: error: dereferencing pointer to incomplete type
make[3]: *** [inline.o] Error 1
make[3]: Leaving directory `/usr/local/snort-2.8.6.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/snort-2.8.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/snort-2.8.6.1'
make: *** [all] Error 2
Anh chị ai gặp lỗi trên giúp em sửa với được không ah. Em cám ơn!