Snort mailing list archives
compile error "parse error before `sa_family_t"
From: mike () odin jmz eugene or us
Date: Sun, 23 Nov 2003 18:09:14 -0800 (PST)
I get a compile error on snort-2.0.5 when attempting to compile on a Slackware Linux 2.2.6 . make[3]: Entering directory `/sys/snort/snort-2.0.5/src/output-plugins' gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/include/pcap -I../../src/output-plugins -I../../src/detection-plugins -I../../src/preprocessors -I/sys/snort/include -g -O2 -Wall -c `test -f 'spo_alert_unixsock.c' || echo './'`spo_alert_unixsock.c In file included from /usr/include/sys/un.h:1, from spo_alert_unixsock.c:41: /usr/include/linux/un.h:7: parse error before `sa_family_t' /usr/include/linux/un.h:7: warning: no semicolon at end of struct or union /usr/include/linux/un.h:9: parse error before `}' -------------------------------------------------------------------- I have looked at un.h and it looks OK. snort-1.8.2 has compiled and run OK on the system. snort-1.8.2 is located in /usr/local/. I wanted the new version to be compiled and run-able before wiping out the old one. I used the parameter --prefix=/sys/snort/ with configure. this is the directory where both snort and libpcap-0.7.2 are located. I get the same error if I define --with-libpcap-libraries=DIR --with-libpcap-includes=DIR I am out of places to look. I could not find a list of dependencies that snort needs i.e. does it require libpcap-0.7.2? and what maybe else? ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ 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:
- compile error "parse error before `sa_family_t" mike (Nov 23)