On Oct 7, 2014, at 9:36 AM, Clark, Gilbert <[email protected]> wrote:

> A mismatched function definition in .h / implementation in .cc usually causes 
> this issue for me.  Maybe try running the mangled symbol that's reported as 
> missing through c++filt to see what it really is (if you haven't already) and 
> use nm or the like to make sure the plugin library file contains that symbol?

I ran into a similar issue recently with the approxidate plugin I've been 
working on.  Jon reminded me that I need to do this...

#ifdef __cplusplus
extern "C" {
#endif
unsigned long approxidate_relative(const char *date, const struct timeval *tv);
#ifdef __cplusplus
}
#endif


  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro.org/


_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to