Project

General

Profile

Actions

Bug #2390

closed

mingw linker error with rust

Added by Victor Julien almost 7 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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

Also available in: Atom PDF