From: Josh B. <jos...@li...> - 2003-12-02 17:53:17
|
When I compile Snort-Inline normally it works fine (./configure <options> && make), but when I compile Snort-Inline statically (editing: snort_inline_LDFLAGS = -static, in /src/Makefile) I get complaints: .... .... /usr/lib/libssl.a(kssl.o)(.text+0x1d0f): In function `kssl_validate_times`: : undefined reference to `krb5_timeofday` /usr/lib/libssl.a(kssl.o)(.text+0x1d23): In function `kssl_validate_times`: : undefined reference to `krb5_free_context` Collect2: ld returned 1 exit status make[3]: *** [snort_inline] Error 1 make[3]: Leaving directory `/usr/local/snort/src` make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/snort/src` make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/snort` make: *** [all] Error 2 I am using Snort-2.0.2, I applied the SnortSNMP 2.0.2 Patch to the Snort-2.0.2 source, and then applied the Snort-Inline-2.0.2 Patch to the Snort-2.0.2 source. I ran configure with this: ./configure --with-enable --with-mysql --with-snmp --with-openssl (I have to use --with-openssl in order to get Snort to compile with snmp support I don't know if it is something I am doing wrong or what). Then I just type make. This is on a Redhat 9.0 box running a custom kernel 2.4.21 kernel with the NSA SELinux patch (a long with many netfilter patch's). Thanks, Josh |