Error in compiling iptables in Mac OS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to install snort on my mac and while compiling it, it
shows a lot of errors about other libraries which it needs - like
libnet, libpcre, iptables etc. I have compiled libnet , libpcre
successfully. But when I downloaded iptables , I get a lot of
compilation errors like :
In file included from ../include/xtables.h:17, from libxt_AUDIT.c:10:
../include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘attribute’ before ‘le16’ ../include/linux/types.h:28: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘_attribute’ before ‘be16’
../include/linux/types.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘_attribute’ before ‘le32’ ../include/linux/types.h:30: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘_attribute’ before ‘_be32’
How do I resolve them ? DO I need kernel-headers package or something
? Or should this all be done only on Linux and am I wasting my time
getting it to work on Mac ?

Thanks,
Vidya.
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux