Snort mailing list archives

Re: Barnyard Solaris 2.6 make issue


From: Steve Rudolph <srudolph () iocenter net>
Date: Mon, 04 Feb 2002 15:46:59 -0500

I did CFLAGS=-lnsl ./configure
instead of just ./configure and the make worked!
Thanks for your help guys!  How much cpu do you think this may save when I
de-couple the logging?
This is running on a Sparc 20 with 100 cpu use....  Trying to use what I am
stuck with before I ask for more....
Steve

Fyodor wrote:

does adding '-lnsl' to CFLAGS variable definition in Makefile helps?

On Tue, Jan 29, 2002 at 10:29:03AM -0500, Steve Rudolph wrote:
I got the latest cvs today and configured and compiled and now this is the
error that I get:

gcc  -g -O2 -Wall  -o barnyard  barnyard.o configparse.o mstring.o
strlcatu.o strlcpyu.o util.o spool.o sid.o debug.o classification.o
output-plugins/libop.a input-plugins/libdp.a -lsocket
Undefined                       first referenced
 symbol                             in file
inet_ntoa                           output-plugins/libop.a(op_logdump.o)
(symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to barnyard
collect2: ld returned 1 exit status
make[3]: *** [barnyard] Error 1
make[3]: Leaving directory `/home/srudolph/barnyard-0.1.0-cvs/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/srudolph/barnyard-0.1.0-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/srudolph/barnyard-0.1.0-cvs'
make: *** [all-recursive-am] Error 2

Help please!

Steve

"Andrew R. Baker" wrote:

Steve Rudolph wrote:

I am trying to compile Barnyard on a Solaris 2.6 box and I just get all
sorts of errors when I run make.
I went to the cvs and got the most recent files and tried agian and got
the below....again.

Can you try again with the CVS checkout of barnyard?  I do not think the
Solaris patches are in beta4.

-A

_______________________________________________
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

--
Steve Rudolph CCSA, CCSE
Network Security Engineer
Internet Operations Center
Southfield, MI




_______________________________________________
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

--
http://www.notlsd.net
PGP fingerprint = 56DD 1511 DDDA 56D7 99C7  B288 5CE5 A713 0969 A4D1

--
Steve Rudolph CCSA, CCSE
Network Security Engineer
Internet Operations Center
Southfield, MI




_______________________________________________
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: