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

Jason Ish ish at unx.ca
Thu Apr 19 04:20:03 UTC 2018


On Wed, Apr 18, 2018 at 11:22 zhangqunshi <zhangqs at act.buaa.edu.cn> wrote:

> 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?
>

If building from git you also need Python installed as it’s a Python script
that generates those  header files from the rust source.

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


More information about the Oisf-devel mailing list