Guest User

Untitled

a guest
Aug 8th, 2023
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. mm@DESKTOP-4AITTRD /z/Projektek/flashrom_git
  2. $ meson compile -C builddir
  3. INFO: autodetecting backend as ninja
  4. INFO: calculating backend command to run: "c:\Program Files\Meson\ninja.EXE" -C //VBoxSvr/mm/Projektek/flashrom_git/builddir
  5. ninja: Entering directory `//VBoxSvr/mm/Projektek/flashrom_git/builddir'
  6. [7/116] Compiling C object libflashrom-1.dll.p/helpers_fileio.c.obj
  7. FAILED: libflashrom-1.dll.p/helpers_fileio.c.obj
  8. "gcc" "-Ilibflashrom-1.dll.p" "-I." "-I.." "-I..\include" "-IC:\Program Files (x86)\National Instruments\Ni-845x\MS Visual C" "-fdiagnostics-color=always" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-Wextra" "-Werror" "-std=c99" "-Os" "-Wshadow" "-Wmissing-prototypes" "-Wwrite-strings" "-Wno-unused-parameter" "-Wno-missing-braces" "-D_DEFAULT_SOURCE" "-D_POSIX_C_SOURCE=200809L" "-D_BSD_SOURCE" "-D__BSD_VISIBLE" "-D__XSI_VISIBLE" "-D_NETBSD_SOURCE" "-D_DARWIN_C_SOURCE" "-DFLASHROM_VERSION=\"1.4.0-devel (git:v1.2-1336-gd666a818)\"" "-DHAVE_STRNLEN=1" "-DIS_WINDOWS=1" "-D__FLASHROM_LITTLE_ENDIAN__=1" "-DCONFIG_NI845X_SPI=1" "-DCONFIG_DEFAULT_PROGRAMMER_NAME=NULL" "-DCONFIG_DEFAULT_PROGRAMMER_ARGS=\"\"" -MD -MQ libflashrom-1.dll.p/helpers_fileio.c.obj -MF "libflashrom-1.dll.p\helpers_fileio.c.obj.d" -o libflashrom-1.dll.p/helpers_fileio.c.obj "-c" ../helpers_fileio.c
  9. ../helpers_fileio.c: In function 'read_buf_from_file':
  10. ../helpers_fileio.c:41:11: error: implicit declaration of function 'fdopen' [-Werror=implicit-function-declaration]
  11. image = fdopen(fileno(stdin), "rb");
  12. ^~~~~~
  13. ../helpers_fileio.c:41:18: error: implicit declaration of function 'fileno' [-Werror=implicit-function-declaration]
  14. image = fdopen(fileno(stdin), "rb");
  15. ^~~~~~
  16. ../helpers_fileio.c:41:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
  17. image = fdopen(fileno(stdin), "rb");
  18. ^
  19. cc1.exe: all warnings being treated as errors
  20. [12/116] Compiling C object libflashrom-1.dll.p/flashrom.c.obj
  21. FAILED: libflashrom-1.dll.p/flashrom.c.obj
  22. "gcc" "-Ilibflashrom-1.dll.p" "-I." "-I.." "-I..\include" "-IC:\Program Files (x86)\National Instruments\Ni-845x\MS Visual C" "-fdiagnostics-color=always" "-D_FILE_OFFSET_BITS=64" "-Wall" "-Winvalid-pch" "-Wextra" "-Werror" "-std=c99" "-Os" "-Wshadow" "-Wmissing-prototypes" "-Wwrite-strings" "-Wno-unused-parameter" "-Wno-missing-braces" "-D_DEFAULT_SOURCE" "-D_POSIX_C_SOURCE=200809L" "-D_BSD_SOURCE" "-D__BSD_VISIBLE" "-D__XSI_VISIBLE" "-D_NETBSD_SOURCE" "-D_DARWIN_C_SOURCE" "-DFLASHROM_VERSION=\"1.4.0-devel (git:v1.2-1336-gd666a818)\"" "-DHAVE_STRNLEN=1" "-DIS_WINDOWS=1" "-D__FLASHROM_LITTLE_ENDIAN__=1" "-DCONFIG_NI845X_SPI=1" "-DCONFIG_DEFAULT_PROGRAMMER_NAME=NULL" "-DCONFIG_DEFAULT_PROGRAMMER_ARGS=\"\"" -MD -MQ libflashrom-1.dll.p/flashrom.c.obj -MF "libflashrom-1.dll.p\flashrom.c.obj.d" -o libflashrom-1.dll.p/flashrom.c.obj "-c" ../flashrom.c
  23. ../flashrom.c: In function 'programmer_init':
  24. ../flashrom.c:162:16: error: implicit declaration of function 'strdup' [-Werror=implicit-function-declaration]
  25. cfg.params = strdup(param);
  26. ^~~~~~
  27. ../flashrom.c:162:14: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
  28. cfg.params = strdup(param);
  29. ^
  30. ../flashrom.c: In function 'get_flash_region':
  31. ../flashrom.c:380:16: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
  32. region->name = strdup("");
  33. ^
  34. ../flashrom.c: In function 'flashbuses_to_text':
  35. ../flashrom.c:939:10: error: return makes pointer from integer without a cast [-Werror=int-conversion]
  36. return strdup("Non-SPI");
  37. ^~~~~~~~~~~~~~~~~
  38. ../flashrom.c:941:10: error: return makes pointer from integer without a cast [-Werror=int-conversion]
  39. return strdup("None");
  40. ^~~~~~~~~~~~~~
  41. cc1.exe: all warnings being treated as errors
  42. ninja: build stopped: subcommand failed.
  43.  
  44. mm@DESKTOP-4AITTRD /z/Projektek/flashrom_git
  45. $
Advertisement
Add Comment
Please, Sign In to add comment