Snort mailing list archives

install snort3-a4 with openssl1.1.0-pre6-dev


From: 卓 维翰 <nachtz () outlook com>
Date: Fri, 8 Jul 2016 00:56:59 +0000

When I try to install snort3-a4. I have installed many dependences includes the openssl. But I found that when I input 
"make -j 8". The shell showed me below.


service_plugins/service_ssl.cc: In function ‘int parse_certificates(ServiceSSLData*)’:

service_plugins/service_ssl.cc:514:32: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’

             start = strstr(cert->name, COMMON_NAME_STR);

                                ^

In file included from /usr/local/include/openssl/buffer.h:13:0,

                 from /usr/local/include/openssl/x509.h:22,

                 from service_plugins/service_ssl.cc:28:

/usr/local/include/openssl/ossl_typ.h:118:16: note: forward declaration of ‘X509 {aka struct x509_st}’

 typedef struct x509_st X509;

                ^

service_plugins/service_ssl.cc:530:32: error: invalid use of incomplete type ‘X509 {aka struct x509_st}’

             start = strstr(cert->name, ORG_NAME_STR);

                                ^

In file included from /usr/local/include/openssl/buffer.h:13:0,

                 from /usr/local/include/openssl/x509.h:22,

                 from service_plugins/service_ssl.cc:28:

/usr/local/include/openssl/ossl_typ.h:118:16: note: forward declaration of ‘X509 {aka struct x509_st}’

 typedef struct x509_st X509;

That must be somethings wrong happened. I don't know how to fix it.
I also tried to search the problem in Google. Someone said that's because the program do not support the latest api of 
Openssl.
So can someone help me plz?

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: