Project

General

Profile

Actions

Bug #5493

closed

Suricata 6.0.6 compile fails on Mingw64 multiple times

Added by Peter Manev over 1 year ago. Updated 11 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Affected Versions:
Effort:
Difficulty:
Label:

Description

Setup: Fully updated mingw64/msys environment.

Need to try a different environment too (lets say Win 2020 Server)
Please see attached outputs form config and make.

-MP -MF .deps/bstr.Tpo -c bstr.c -o bstr.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I.. -I../htp -D_GNU_SOURCE -g -Wall -Wextra -std=gnu99 -pedantic -Wextra -Wno-missing-field-initializers -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter -O2 -Wstrict-overflow=1 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fPIC -MT htp_base64.lo -MD -MP -MF .deps/htp_base64.Tpo -c htp_base64.c  -DDLL_EXPORT -DPIC -o .libs/htp_base64.o
make[4]: *** [Makefile:593: bstr.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -O2 -I.. -I../htp -D_GNU_SOURCE -g -Wall -Wextra -std=gnu99 -pedantic -Wextra -Wno-missing-field-initializers -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-unused-parameter -O2 -Wstrict-overflow=1 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -fPIC -MT htp_base64.lo -MD -MP -MF .deps/htp_base64.Tpo -c htp_base64.c -o htp_base64.o >/dev/null 2>&1
mv -f .deps/htp_base64.Tpo .deps/htp_base64.Plo
make[4]: Leaving directory '/home/Administrator/suricata-6.0.6/libhtp/htp'
make[3]: *** [Makefile:633: all-recursive] Error 1
make[3]: Leaving directory '/home/Administrator/suricata-6.0.6/libhtp/htp'
make[2]: *** [Makefile:470: all-recursive] Error 1
make[2]: Leaving directory '/home/Administrator/suricata-6.0.6/libhtp'
make[1]: *** [Makefile:379: all] Error 2
make[1]: Leaving directory '/home/Administrator/suricata-6.0.6/libhtp'
make: *** [Makefile:492: all-recursive] Error 1


Could it be related to GCC flags?


Files

Win-Mingw64-output.tar.xz (23.4 KB) Win-Mingw64-output.tar.xz Peter Manev, 08/12/2022 10:26 AM
Actions #1

Updated by Peter Manev over 1 year ago

It seems the issue here has nothing to do with the compilation of Suricata but rather Windows OS setup.
Closing.

Actions #2

Updated by Peter Manev over 1 year ago

  • Status changed from New to Closed
Actions #3

Updated by Victor Julien 11 months ago

  • Assignee deleted (OISF Dev)
  • Target version deleted (TBD)
Actions

Also available in: Atom PDF