[Oisf-devel] if I have to open the rust config in i want to use NFS?

zhangqunshi zhangqs at act.buaa.edu.cn
Wed Apr 18 17:22:08 UTC 2018


Thanks Victor, but i got the following error when compile:

make[2]: Leaving directory '/home/kris/suricata/rust'
Making all in src
make[2]: Entering directory '/home/kris/suricata/src'
   CC       alert-debuglog.o
   CC       alert-fastlog.o
   CC       alert-prelude.o
   CC       alert-syslog.o
   CC       alert-unified2-alert.o
   CC       app-layer.o
   CC       app-layer-dcerpc.o
   CC       app-layer-dcerpc-udp.o
   CC       app-layer-detect-proto.o
   CC       app-layer-dnp3.o
   CC       app-layer-dnp3-objects.o
   CC       app-layer-dns-common.o
   CC       app-layer-dns-tcp.o
   CC       app-layer-dns-tcp-rust.o
app-layer-dns-tcp-rust.c:31:30: fatal error: rust-dns-dns-gen.h: No such 
file or directory
compilation terminated.
Makefile:1726: recipe for target 'app-layer-dns-tcp-rust.o' failed
make[2]: *** [app-layer-dns-tcp-rust.o] Error 1
make[2]: Leaving directory '/home/kris/suricata/src'
Makefile:493: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kris/suricata'
Makefile:419: recipe for target 'all' failed
make: *** [all] Error 2

Do you know the reason?

Best regards,

Kris



On 2018/4/18 23:20, Victor Julien wrote:
> On 16-04-18 18:34, zhangqunshi wrote:
>> I have a look at NFS code, and I found it seems the code mostly use Rust
>> language, so if i have to open the rust config when i want to use the
>> NFS protocol?
> To use the Rust code, such as NFS or SMB, you will have to have 'rustc'
> and 'cargo' installed, and configure Suricata with --enable-rust before
> building.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openinfosecfoundation.org/pipermail/oisf-devel/attachments/20180419/30e9b017/attachment.html>


More information about the Oisf-devel mailing list