Snort mailing list archives

Re: [Spade-users] snort 1.9 freebsd port with Spade?


From: James Hoagland <jim () SiliconDefense com>
Date: Tue, 21 Jan 2003 09:58:10 -0800


FYI (mostly for the archive), this was solved by making use of the "make no-automake" provision in the Spade install Makefile.

-- Jim

At 2:31 PM -0700 12/3/02, Shane Hickey wrote:
I'm trying to install snort 1.9 via the ports collection.  I'm a recent
FreeBSD convert, so I'm sure there's an easy way to do this.  But,
basically, I need to patch Snort before it installs.  So, I did a 'make
extract' then untar'd the Spade tar file and ran the 'make' to patch the
Snort source.  Then I did a 'make -DWITH_MYSQL -DWITH_FLEXRESP' and it
makes it pretty dang far.  That is, I get to this...

cc  -O2 -pipe -march=pentium -Wall -DENABLE_RESPONSE -DLIBNET_BSDISH_OS
-DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN
-L/usr/local/lib -L/usr/local/lib/mysql -o snort  codes.o debug.o
decode.o log.o mstring.o parser.o  plugbase.o snort.o snprintf.o
strlcatu.o strlcpyu.o tag.o ubi_BinTree.o  ubi_SplayTree.o util.o
detect.o substr.o trie.o signature.o mempool.o  sf_sdlist.o perf.o
perf-flow.o perf-base.o perf-event.o threshold.o
output-plugins/libspo.a  detection-plugins/libspd.a
preprocessors/libspp.a -lz -lpcap -lm  -lmysqlclient -lnet
plugbase.o: In function `InitPreprocessors':
plugbase.o(.text+0x4a4): undefined reference to `SetupSpade'
*** Error code 1

Stop in /usr/ports/security/snort/work/snort-1.9.0/src.
*** Error code 1

Stop in /usr/ports/security/snort/work/snort-1.9.0/src.
*** Error code 1

Stop in /usr/ports/security/snort/work/snort-1.9.0.
*** Error code 1

I'm sure there's an easier way to do this, but I don't know enough
FreeBSD tricks yet.

Thanks!

Shane

_______________________________________________
Spade-users mailing list
Spade-users () silicondefense com
http://www.silicondefense.com/mailman/listinfo/spade-users


--
|*     Jim Hoagland, Associate Researcher, Silicon Defense     *|
|*           --- Silicon Defense: IDS Solutions ---            *|
|*   jim () SiliconDefense com, http://www.silicondefense.com/    *|
|*  Voice: (530) 756-7317                 Fax: (530) 756-7297  *|


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
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: