Actions
Bug #2390
closedmingw linker error with rust
Affected Versions:
Effort:
Difficulty:
Label:
Description
CC util-var-name.o CC win32-misc.o make[3]: *** No rule to make target '../rust/target/release/libsuricata.a', needed by 'suricata.exe'. Stop. make[3]: *** Waiting for unfinished jobs.... CC win32-service.o make[3]: Leaving directory '/home/victor/dev/suricata/src' make[2]: *** [Makefile:1148: all] Error 2 make[2]: Leaving directory '/home/victor/dev/suricata/src' make[1]: *** [Makefile:494: all-recursive] Error 1 make[1]: Leaving directory '/home/victor/dev/suricata' make: *** [Makefile:422: all] Error 2 victor@win10pro64 MINGW64 ~/dev/suricata $ ls rust/target/release/ build deps examples native suricata.lib victor@win10pro64 MINGW64 ~/dev/suricata $ file rust/target/release/suricata.lib rust/target/release/suricata.lib: current ar archive
Looks like we just need to tell the linker to use suricata.lib instead?
Actions