[Snort-devel] Cross compiling dynamic preprocessors cannot resolve _dpd

Jason Wallace jason.r.wallace at ...2499...
Sat Dec 24 10:44:34 EST 2011

--disable-shared and --enable-static (at the same time) hasn't worked
for the last couple of versions of snort. I have a patch submitted
that should fix this (I think). There are a bunch of locations where
-shared has been hardcoded into LDFLAGS which appears to cause a
--disable-shared --enable-static build to fail. I'm still waiting to
here back on SF's review of the patch...
On Wed, Dec 21, 2011 at 1:42 PM, Ron Brash <ron.brash at ...2499...> wrote:
> I had a working copy of Snort with all preprocessors using a couple
> of Openwrt makefile hacks, but now I am unable to get a single dynamic
> preprocessor to load.
> As it stands:
> * Snort 2.9.2 Compiles and runs
> * DAQ 0.6.2 Compiles and appears to be working fine
> Running Snort with a single preprocessor returns:
> "Loading dynamic preprocessor library
> /usr/local/lib/snort_dynamicpreprocessor//libsf_dnp3_preproc.so...
> /usr/local/bin/snort: can't resolve symbol '_dpd'"
> I have Openwrt LDflag set with -static option and ./configure is set to
> disable-shared and enable static.  It appears to be a linking problem.  I am
> using GNU Make 3.82 and Fed 16 x64.
> Do you have any ideas or can put me in touch with someone?  We plan on
> releasing this version + compiling patches into Openwrt contrib.
> Ron
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
> Please visit http://blog.snort.org for the latest news about Snort!

More information about the Snort-devel mailing list