Snort mailing list archives

Re: Snort output plugins query


From: Matt Kettler <mkettler () evi-inc com>
Date: Tue, 25 Feb 2003 13:53:24 -0500

Sounds like your spo_alert_bns.c (I assume this is your new plugin) is using pthreads in it's code.

If you use threads, you'll need to link with the pthreads library.

If you know what you're doing, this is a trivial change to the Makefile.

If you don't know what you're doing, you shouldn't be forking out threads willy nilly.

At 05:58 PM 2/25/2003 +0000, honey grp wrote:
Hi,
  i am trying to install snort with an output plugin
written separately. i made the specified changes in
plugbase.c.
when i say make,
i get the following errors,

output-plugins/libspo.a(spo_alert_bns.o): In function
`AlertShellInit':
/snort-1.9.0/src/output-plugins/spo_alert_bns.c:88:
undefined reference to `pthread_create'
output-plugins/libspo.a(spo_alert_bns.o): In function
`ShellCleanExitFunction':
/snort-1.9.0/src/output-plugins/spo_alert_bns.c:214:
undefined reference to `pthread_join'
output-plugins/libspo.a(spo_alert_bns.o): In function
`ShellRestartFunction':
/snort-1.9.0/src/output-plugins/spo_alert_bns.c:230:
undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make[1]: *** [snort] Error 1
make[1]: Leaving directory `/snort-1.9.0/src'
make: *** [all-recursive] Error 1


Please guide , where am i making mistake?
Waiting for your reply,
Sweta

________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: