<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks Victor, but i got the following error when compile:</p>
<p>make[2]: Leaving directory '/home/kris/suricata/rust'<br>
Making all in src<br>
make[2]: Entering directory '/home/kris/suricata/src'<br>
CC alert-debuglog.o<br>
CC alert-fastlog.o<br>
CC alert-prelude.o<br>
CC alert-syslog.o<br>
CC alert-unified2-alert.o<br>
CC app-layer.o<br>
CC app-layer-dcerpc.o<br>
CC app-layer-dcerpc-udp.o<br>
CC app-layer-detect-proto.o<br>
CC app-layer-dnp3.o<br>
CC app-layer-dnp3-objects.o<br>
CC app-layer-dns-common.o<br>
CC app-layer-dns-tcp.o<br>
CC app-layer-dns-tcp-rust.o<br>
<font color="#cc0000">app-layer-dns-tcp-rust.c:31:30: fatal error:
rust-dns-dns-gen.h: No such file or directory</font><br>
compilation terminated.<br>
Makefile:1726: recipe for target 'app-layer-dns-tcp-rust.o' failed<br>
make[2]: *** [app-layer-dns-tcp-rust.o] Error 1<br>
make[2]: Leaving directory '/home/kris/suricata/src'<br>
Makefile:493: recipe for target 'all-recursive' failed<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory '/home/kris/suricata'<br>
Makefile:419: recipe for target 'all' failed<br>
make: *** [all] Error 2<br>
</p>
<p>Do you know the reason?</p>
<p>Best regards,</p>
<p>Kris</p>
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 2018/4/18 23:20, Victor Julien
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:01a55f3e-6662-5867-bb35-bee497cd1993@inliniac.net">
<pre wrap="">On 16-04-18 18:34, zhangqunshi wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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?
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<br>
</body>
</html>