Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mm@DESKTOP-4AITTRD /z/Projektek/flashrom_git
- $ meson compile -C builddir
- INFO: autodetecting backend as ninja
- INFO: calculating backend command to run: "c:\Program Files\Meson\ninja.EXE" -C //VBoxSvr/mm/Projektek/flashrom_git/builddir
- ninja: Entering directory `//VBoxSvr/mm/Projektek/flashrom_git/builddir'
- [7/116] Compiling C object libflashrom-1.dll.p/helpers_fileio.c.obj
- FAILED: libflashrom-1.dll.p/helpers_fileio.c.obj
- "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
- ../helpers_fileio.c: In function 'read_buf_from_file':
- ../helpers_fileio.c:41:11: error: implicit declaration of function 'fdopen' [-Werror=implicit-function-declaration]
- image = fdopen(fileno(stdin), "rb");
- ^~~~~~
- ../helpers_fileio.c:41:18: error: implicit declaration of function 'fileno' [-Werror=implicit-function-declaration]
- image = fdopen(fileno(stdin), "rb");
- ^~~~~~
- ../helpers_fileio.c:41:9: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
- image = fdopen(fileno(stdin), "rb");
- ^
- cc1.exe: all warnings being treated as errors
- [12/116] Compiling C object libflashrom-1.dll.p/flashrom.c.obj
- FAILED: libflashrom-1.dll.p/flashrom.c.obj
- "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
- ../flashrom.c: In function 'programmer_init':
- ../flashrom.c:162:16: error: implicit declaration of function 'strdup' [-Werror=implicit-function-declaration]
- cfg.params = strdup(param);
- ^~~~~~
- ../flashrom.c:162:14: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
- cfg.params = strdup(param);
- ^
- ../flashrom.c: In function 'get_flash_region':
- ../flashrom.c:380:16: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
- region->name = strdup("");
- ^
- ../flashrom.c: In function 'flashbuses_to_text':
- ../flashrom.c:939:10: error: return makes pointer from integer without a cast [-Werror=int-conversion]
- return strdup("Non-SPI");
- ^~~~~~~~~~~~~~~~~
- ../flashrom.c:941:10: error: return makes pointer from integer without a cast [-Werror=int-conversion]
- return strdup("None");
- ^~~~~~~~~~~~~~
- cc1.exe: all warnings being treated as errors
- ninja: build stopped: subcommand failed.
- mm@DESKTOP-4AITTRD /z/Projektek/flashrom_git
- $
Advertisement
Add Comment
Please, Sign In to add comment