SHARE
TWEET

libcheck build error on msys2

a guest Feb 9th, 2020 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gcc -DHAVE_CONFIG_H -I. -I..  -I../src -I../src   -g -O2 -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wunknown-pragmas -MT ex_output.o -MD -MP -MF .deps/ex_output.Tpo -c -o ex_output.o ex_output.c
  2. mv -f .deps/ex_output.Tpo .deps/ex_output.Po
  3. /bin/sh ../libtool  --tag=CC   --mode=link gcc  -g -O2 -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wunknown-pragmas   -o ex_output.exe ex_output.o ../src/libcheck.la ../lib/libcompat.la -lrt -lm
  4. libtool: link: gcc -g -O2 -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -Wno-variadic-macros -Wimport -Wfatal-errors -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wunknown-pragmas -o .libs/ex_output.exe ex_output.o  ../src/.libs/libcheck.dll.a ../lib/.libs/libcompat.a -lrt -L/mingw64/lib
  5. ./.libs/lt-ex_output.c: In function 'main':
  6. ./.libs/lt-ex_output.c:319:16: warning: implicit declaration of function '_spawnv'; did you mean 'spawnv'? [-Wimplicit-function-declaration]
  7.   319 |   rval = (int) _spawnv (_P_WAIT, lt_argv_zero, (const char * const *) newargz);
  8.       |                ^~~~~~~
  9.       |                spawnv
  10. /tmp/ccofigRE.o: In function `main':
  11. /home/PC5/check/tests/./.libs/lt-ex_output.c:319: undefined reference to `_spawnv'
  12. /home/PC5/check/tests/./.libs/lt-ex_output.c:319:(.text.startup+0x491): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `_spawnv'
  13. collect2: error: ld returned 1 exit status
  14. strip: './ex_output.exe': No such file
  15. ../libtool: line 11128: ./ex_output.exe: No such file or directory
  16. make[2]: Verzeichnis „/home/PC5/check/tests“ wird verlassen
  17. make[1]: Verzeichnis „/home/PC5/check“ wird verlassen
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top