ECL -- MSYS2 build
Hi,
I am trying to build ECL in msys2 but below error is stopping the build. Kindly help to resolve urgently
COMMAND ./configure --prefix=C:/ons_msys2/ons_ecl-develop_7_master --enable-debug --exec_prefix=C:/ons_msys2/ons_ecl-develop_7_master make
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
;;; Note:
;;; Invoking external command:
;;; ranlib liblsp.a
NIL
;;; Note:
;;; Invoking external command:
;;; gcc -o libecl.so -L/c/ons_msys2/ons_ecl-develop_7_master/build/ c/main.o c/all_symbols2.o liblsp.a libeclmin.a -latomic_ops -lgmp -lgc -lffi -lgc -lgc -lgc -lm
Condition of type: SIMPLE-ERROR
Error code 1 when executing
(EXT:RUN-PROGRAM "gcc" ("-o" "libecl.so" "-L/c/ons_msys2/ons_ecl-develop_7_master/build/" "c/main.o" "c/all_symbols2.o" "liblsp.a" "libeclmin.a" "-latomic_ops" "-lgmp" "-lgc" "-lffi" "-lgc" "-lgc" "-lgc" "-lm")):
/usr/lib/gcc/x86_64-pc-msys/11.2.0/../../../../x86_64-pc-msys/bin/ld: /usr/lib/gcc/x86_64-pc-msys/11.2.0/../../../../lib/libmsys-2.0.a(libcmain.o): in function main': /c/S/msys2-runtime/src/msys2-runtime/winsup/cygwin/lib/libcmain.c:37: undefined reference to
WinMain'
collect2: error: ld returned 1 exit status
Available restarts:
- (CONTINUE) Continues anyway.
Kind regards, Manu