MartinEesmaa

error libjxl of static build msys2 latest commits

Sep 23rd, 2022
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. require_pkg_config libjxl libjxl >= 0.7.0 jxl/decode.h JxlDecoderVersion
  2. check_pkg_config libjxl libjxl >= 0.7.0 jxl/decode.h JxlDecoderVersion
  3. test_pkg_config libjxl libjxl >= 0.7.0 jxl/decode.h JxlDecoderVersion
  4. pkg-config --exists --print-errors libjxl >= 0.7.0
  5. check_func_headers jxl/decode.h JxlDecoderVersion -IC:/msys64/mingw64/include -DHWY_STATIC_DEFINE -LC:/msys64/mingw64/lib -ljxl
  6. test_ld cc -IC:/msys64/mingw64/include -DHWY_STATIC_DEFINE -LC:/msys64/mingw64/lib -ljxl
  7. test_cc -IC:/msys64/mingw64/include -DHWY_STATIC_DEFINE -LC:/msys64/mingw64/lib
  8. BEGIN /tmp/ffconf.WmYweOpw/test.c
  9. 1 #include <jxl/decode.h>
  10. 2 #include <stdint.h>
  11. 3 long check_JxlDecoderVersion(void) { return (long) JxlDecoderVersion; }
  12. 4 int main(void) { int ret = 0;
  13. 5 ret |= ((intptr_t)check_JxlDecoderVersion) & 0xFFFF;
  14. 6 return ret; }
  15. END /tmp/ffconf.WmYweOpw/test.c
  16. gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -U__STRICT_ANSI__ -D__USE_MINGW_ANSI_STDIO=1 -D__printf__=__gnu_printf__ -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -std=c11 -fomit-frame-pointer -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include -IC:/msys64/mingw64/include -DHWY_STATIC_DEFINE -LC:/msys64/mingw64/lib -c -o /tmp/ffconf.WmYweOpw/test.o /tmp/ffconf.WmYweOpw/test.c
  17. C:/msys64/tmp/ffconf.WmYweOpw/test.c: In function 'check_JxlDecoderVersion':
  18. C:/msys64/tmp/ffconf.WmYweOpw/test.c:3:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  19. 3 | long check_JxlDecoderVersion(void) { return (long) JxlDecoderVersion; }
  20. | ^
  21. gcc -Wl,--nxcompat,--dynamicbase -Wl,--high-entropy-va -Wl,--as-needed -Wl,--image-base,0x140000000 -IC:/msys64/mingw64/include -DHWY_STATIC_DEFINE -LC:/msys64/mingw64/lib -o /tmp/ffconf.WmYweOpw/test.exe /tmp/ffconf.WmYweOpw/test.o -ljxl
  22. C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/tmp/ffconf.WmYweOpw/test.o:test.c:(.text+0x3): undefined reference to `__imp_JxlDecoderVersion'
  23. collect2.exe: error: ld returned 1 exit status
  24. ERROR: libjxl >= 0.7.0 not found using pkg-config
  25.  
Advertisement
Add Comment
Please, Sign In to add comment