[Oisf-devel] can't find crate for `der_parser`

Victor Julien lists at inliniac.net
Fri Mar 16 07:08:04 UTC 2018


On 16-03-18 07:44, zhangqunshi wrote:
> Hi guys:
> 
> I fixed the following error (network issue) and now I got the second error:
> 
> ics at lsbjs17120001:~/gbb/oisf/rust$ cargo build
>     Updating registry `git://mirrors.ustc.edu.cn/crates.io-index`
>  Downloading crc v1.7.0 (registry
> git://mirrors.ustc.edu.cn/crates.io-index)
>    Compiling crc v1.7.0
>    Compiling suricata v4.1.0-dev (file:///home/ics/gbb/oisf/rust)
> error[E0463]: can't find crate for `der_parser`
>   --> src/lib.rs:27:1
>    |
> 27 | extern crate der_parser;
>    | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
> 
> error: aborting due to previous error
> 
> error: Could not compile `suricata`.
> 
> To learn more, run the command again with --verbose.


I've seen this before. I think going into the rust directory and doing a
'cargo update' fixed it.

Cheers,
Victor

-- 
---------------------------------------------
Victor Julien
http://www.inliniac.net/
PGP: http://www.inliniac.net/victorjulien.asc
---------------------------------------------




More information about the Oisf-devel mailing list