[Snort-devel] Snort 1.9 cvs-head under FreeBSD

Frank Knobbe fknobbe at ...337...
Sun Sep 22 15:11:07 EDT 2002


I'm trying to compile 1.9 under FreeBSD, but apparently it wants to link
again NSL under FreeBSD.

gcc  -g -O2 -Wall  -o snort  codes.o debug.o decode.o log.o mstring.o
parser.o  twofish.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 -lpcap -lm -lnsl
/usr/libexec/elf/ld: cannot find -lnsl
*** Error code 1

I don't remember needing to specify -lnsl under BSD. Is this a problem
in the makefile?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20020922/1d3985d5/attachment.sig>

More information about the Snort-devel mailing list