[Snort-users] barnyard2-1.6 on openbsd 4.5 compile errors

Rich Andrews arc.digital at ...11827...
Thu Aug 13 09:54:21 EDT 2009


Hello,

I'm in the process of building a new pf box with snort/barnyard2 and I've
come across this during make:

Making all in output-plugins
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -I ../sfutil
-I/usr/local/include/mys
ql -DENABLE_MYSQL  -g -O2 -Wall -c spo_alert_fast.c
In file included from spo_alert_fast.c:48:
/usr/include/sys/socket.h:148: error: syntax error before "u_int8_t"
/usr/include/sys/socket.h:166: error: syntax error before "u_int8_t"
/usr/include/sys/socket.h:169: error: syntax error before "u_int64_t"
/usr/include/sys/socket.h:235: error: syntax error before "uid_t"
/usr/include/sys/socket.h:240: error: syntax error before "gid_t"
/usr/include/sys/socket.h:368: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:372: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:394: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:450: error: syntax error before "caddr_t"
/usr/include/sys/socket.h:454: error: syntax error before "caddr_t"
/usr/include/sys/socket.h:465: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:466: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:467: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:468: error: syntax error before "uid_t"
/usr/include/sys/socket.h:469: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:470: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:471: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:473: error: syntax error before "recv"
/usr/include/sys/socket.h:474: error: syntax error before "recvfrom"
/usr/include/sys/socket.h:474: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:475: error: syntax error before "recvmsg"
/usr/include/sys/socket.h:476: error: syntax error before "send"
/usr/include/sys/socket.h:477: error: syntax error before "sendto"
/usr/include/sys/socket.h:478: error: syntax error before "socklen_t"
/usr/include/sys/socket.h:479: error: syntax error before "sendmsg"
/usr/include/sys/socket.h:480: error: syntax error before "socklen_t"
In file included from spo_alert_fast.c:49:
/usr/include/netinet/in.h:136: error: syntax error before "in_addr_t"
/usr/include/netinet/in.h:213: error: syntax error before "u_int8_t"
/usr/include/netinet/in.h:217: error: syntax error before "int8_t"
/usr/include/netinet/in.h:232: error: syntax error before "int8_t"
In file included from /usr/include/netinet/in.h:701,
                 from spo_alert_fast.c:49:
/usr/include/netinet6/in6.h:118: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:140: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:145: error: syntax error before "u_int32_t"
/usr/include/netinet6/in6.h:514: error: syntax error before "u_int32_t"
/usr/include/netinet6/in6.h:755: error: syntax error before '*' token
/usr/include/netinet6/in6.h:757: error: syntax error before '*' token
/usr/include/netinet6/in6.h:758: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:759: error: syntax error before "u_int8_t"
/usr/include/netinet6/in6.h:773: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:774: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:776: error: syntax error before "socklen_t"
/usr/include/netinet6/in6.h:777: error: syntax error before "socklen_t"

This is on a i386 architecture.  Any thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20090813/c13247c6/attachment.html>


More information about the Snort-users mailing list