Snort mailing list archives

snort 2.9.6.2 make fails on OSX 10.9.4


From: hushsnort () hush com
Date: Sat, 23 Aug 2014 10:43:38 +0600

Hi Folks,

Am trying to install on MBP running OSX 10.9.4.

I get the following error(s) during make:

<BEGIN ERROR SNIPPET>
gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -I../../src/sfutil  -I../../src/output-plugins 
-I../../src/detection-plugins -I../../src/dynamic-plugins -I../../src/preprocessors -I../../src/preprocessors/portscan 
-I../../src/preprocessors/HttpInspect/include -I../../src/preprocessors/Stream5 -I../../src/target-based 
-I../../src/control -I../../src/file-process -I../../src/file-process/libs -I../../src/side-channel 
-I../../src/side-channel/plugins  -I/usr/local/include -I/usr/local/include -DZLIB -DGRE -DMPLS -DPPM_MGR -DNDEBUG 
-DENABLE_REACT -DENABLE_RESPOND -DENABLE_RESPONSE3 -DSF_WCHAR -DTARGET_BASED -DPERF_PROFILING -DSNORT_RELOAD 
-DNO_NON_ETHER_DECODER -DNORMALIZER -DACTIVE_RESPONSE  -g -O2 -DSF_VISIBILITY -fvisibility=hidden -Wall -c 
spo_alert_syslog.c
In file included from spo_alert_syslog.c:71:
../../src/strlcatu.h:24:8: error: expected parameter declarator
size_t strlcat(char *, const char *, size_t);
       ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_string.h:111:44:
 note: 
      expanded from macro 'strlcat'
  __builtin___strlcat_chk (dest, src, len, __darwin_obsz (dest))
                                           ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_common.h:39:62:
 note: 
      expanded from macro '__darwin_obsz'
#define __darwin_obsz(object) __builtin_object_size (object, _USE_FORTIF...
                                                             ^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/secure/_common.h:30:32:
 note: 
      expanded from macro '_USE_FORTIFY_LEVEL'
#    define _USE_FORTIFY_LEVEL 2
                               ^
In file included from spo_alert_syslog.c:71:
../../src/strlcatu.h:24:8: error: expected ')'

<END ERROR SNIPPET>

How do I go about fixing this? Any pointers appreciated.

Thanks,


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!


Current thread: