Snort mailing list archives

Re: RV: installation problem


From: Erek Adams <erek () theadamsfamily net>
Date: Wed, 26 Sep 2001 07:43:38 -0700 (PDT)

On Wed, 26 Sep 2001, Macedo, Marlon  - (Per) wrote:

Erek,
It`s still not working.
i send you output from:

1)    ./configure --with-openssl=/usr/local/ssl
2)    make
3)    truss -o testing make

I would like to know the best settings for CFLAGS and LDFLAGS in Makefile.

Thanks a lot
Marlon M.

# ./configure --with-openssl=/usr/local/ssl
loading cache ./config.cache

You forgot to do a make clean before retrying this.

# make
gcc -DHAVE_CONFIG_H -I. -I. -I.   -DBSD_COMP -I/usr/local/ssl/include
-DENABLE_SSL  -g -O2 -Wall -c snort.c
In file included from snort.c:45:
snort.h:31:18: pcap.h: No such file or directory
snort.h:32:21: net/bpf.h: No such file or directory
In file included from snort.c:45:
snort.h:65:25: pcap-namedb.h: No such file or directory
In file included from snort.h:82,
                 from snort.c:45:
decode.h:30:18: pcap.h: Error 0
In file included from snort.h:82,
                 from snort.c:45:
decode.h:46:25: pcap-namedb.h: Error 0
In file included from snort.h:82,
                 from snort.c:45:
decode.h:766: field `pkth' has incomplete type
decode.h:779: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `snort.o'

This is where it can't find libpcap.  This could be caused from not installing
it or from not doing a 'make clean' before recompiling.

[...snip...]

I think the make clean then another ./configure --with-openssl=/usr/local/ssl
will get you going.

Good Luck!

-----
Erek Adams
Nifty-Type-Guy
TheAdamsFamily.Net


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