[Snort-devel] Re: [Snort-users] Libprelude working with snort 2.1.x

Martin Olsson elof at ...969...
Thu Jan 22 03:22:29 EST 2004


On Thu, 22 Jan 2004, Martin Olsson wrote:
> Has anyone got libprelude to work with snort v2.1.x?
> /usr/sentor-src/cvs/snort-2.1.1beta-build-17/src/output-plugins/spo_alert_prelude.c:739:
> undefined reference to `IPOptionCode'
> /usr/sentor-src/cvs/snort-2.1.1beta-build-17/src/output-plugins/spo_alert_prelude.c:740:
> undefined reference to `IPOptionValue'
> /usr/sentor-src/cvs/snort-2.1.1beta-build-17/src/output-plugins/spo_alert_prelude.c:806:
> undefined reference to `TCPOptionCode'
> /usr/sentor-src/cvs/snort-2.1.1beta-build-17/src/output-plugins/spo_alert_prelude.c:807:
> undefined reference to `TCPOptionValue'
> *** Error code 1

Ah! Found the problem.

Those four functions (IPOptionCode, IPOptionValue, TCPOptionCode and
TCPOptionValue) seem to have been decapricated. I manually added them to
plugbase.c again, and the compilation went OK.

/Martin






More information about the Snort-devel mailing list