release - 0.8a79: compile problems

Vern Paxson vern at icir.org
Thu Mar 25 13:53:40 PST 2004


> Sessions.o(.text+0x41a4): undefined reference to
> `SSL_ConnectionProxy::SSL_ConnectionProxy(NetSessio
> ns *, HashKey *, double, ConnID const *, tcphdr const *)'
> collect2: ld returned 1 exit status
> make: *** [bro] Error 1
> 
> 
> Any ideas?
> 
> Same error happens if ssl is not disabled.

Oops.  Try the appended patch for use in the --disable-openssl case.

		Vern


--- Sessions.cc.ORIG	2004/03/21 17:23:25	1.97
+++ Sessions.cc	2004/03/25 21:53:03
@@ -944,6 +944,7 @@
 			c = new TCP_NetbiosSSN(this, k, t, id, tp);
 		break;
 
+#ifdef USE_OPENSSL
         case 443:	// https
         case 563:	// nntps
         case 585:	// imap4-ssl (old, use imaps)
@@ -959,6 +960,7 @@
 		     ssl_conn_attempt || ssl_conn_server_reply ||
 		     ssl_conn_established || ssl_conn_reused || ssl_conn_alert)
                         c = new SSL_ConnectionProxy(this, k, t, id, tp);
+#endif
 		break;
 
 	case 6346:
@@ -1045,6 +1047,7 @@
 	case 6346:
 	case 8436:
 
+#ifdef USE_OPENSSL
 	// SSL-relatd ports:
         case 443:
         case 563:
@@ -1057,6 +1060,7 @@
         case 993:
         case 994:
         case 995:
+#endif
 
 	// Not analyzed (yet), but give a hint which side the server is.
 	case 110:



More information about the Bro mailing list