|
mm@DESKTOP-4AITTRD /z/Projektek/flashrom_git
|
|
$ meson setup builddir
|
|
The Meson build system
|
|
Version: 1.1.0
|
|
Source dir: \\VBoxSvr\mm\Projektek\flashrom_git
|
|
Build dir: \\VBoxSvr\mm\Projektek\flashrom_git\builddir
|
|
Build type: native build
|
|
Project name: flashromutils
|
|
Project version: 1.4.0-devel
|
|
C compiler for the host machine: gcc (gcc 6.3.0 "gcc (MinGW.org GCC-6.3.0-1) 6.3.0")
|
|
C linker for the host machine: gcc ld.bfd 2.28
|
|
Host machine cpu family: x86
|
|
Host machine cpu: x86
|
|
Program git found: YES (c:\Program Files\Git\cmd\git.EXE)
|
|
Program sphinx-build found: NO
|
|
Compiler for C supports arguments -Wshadow: YES
|
|
Compiler for C supports arguments -Wmissing-prototypes: YES
|
|
Compiler for C supports arguments -Wwrite-strings: YES
|
|
Compiler for C supports arguments -Wno-unused-parameter: YES
|
|
Compiler for C supports arguments -Wno-address-of-packed-member: NO
|
|
Compiler for C supports arguments -Wno-enum-conversion: NO
|
|
Compiler for C supports arguments -Wno-missing-braces: YES
|
|
Checking for function "clock_gettime" : NO
|
|
Checking for function "strnlen" : YES
|
|
Check usable header "sys/utsname.h" : NO
|
|
Did not find pkg-config by name 'pkg-config'
|
|
Found Pkg-config: NO
|
|
Did not find CMake 'cmake'
|
|
Found CMake: NO
|
|
Run-time dependency libpci found: NO (tried pkgconfig and cmake)
|
|
Run-time dependency libusb-1.0 found: NO (tried pkgconfig and cmake)
|
|
Run-time dependency libftdi1 found: NO (tried pkgconfig and cmake)
|
|
Run-time dependency libjaylink found: NO (tried pkgconfig and cmake)
|
|
Library ni845x found: YES
|
|
Has header "linux/i2c.h" : NO
|
|
Checking for function "getopt_long" : YES
|
|
Run-time dependency bash-completion found: NO (tried pkgconfig and cmake)
|
|
Configuring flashrom.bash using configuration
|
|
Run-time dependency cmocka found: NO (tried pkgconfig and cmake)
|
|
Looking for a fallback subproject for the dependency cmocka
|
|
|
|
Executing subproject cmocka
|
|
|
|
cmocka| Project name: cmocka
|
|
cmocka| Project version: 1.1.5
|
|
cmocka| C compiler for the host machine: gcc (gcc 6.3.0 "gcc (MinGW.org GCC-6.3.0-1) 6.3.0")
|
|
cmocka| C linker for the host machine: gcc ld.bfd 2.28
|
|
cmocka| Compiler for C supports arguments -Wshadow: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wmissing-prototypes: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wcast-align: YES
|
|
cmocka| Compiler for C supports arguments -Werror=address: YES
|
|
cmocka| Compiler for C supports arguments -Werror=strict-prototypes: YES
|
|
cmocka| Compiler for C supports arguments -Werror=write-strings: YES
|
|
cmocka| Compiler for C supports arguments -Werror=implicit-function-declaration: YES
|
|
cmocka| Compiler for C supports arguments -Werror=pointer-arith: YES
|
|
cmocka| Compiler for C supports arguments -Werror=declaration-after-statement: YES
|
|
cmocka| Compiler for C supports arguments -Werror=return-type: YES
|
|
cmocka| Compiler for C supports arguments -Werror=uninitialized: YES
|
|
cmocka| Compiler for C supports arguments -Wimplicit-fallthrough: NO
|
|
cmocka| Compiler for C supports arguments -Werror=strict-overflow: YES
|
|
cmocka| Compiler for C supports arguments -Wstrict-overflow=2: YES
|
|
cmocka| Compiler for C supports arguments -Wno-format-zero-length: YES
|
|
cmocka| Compiler for C supports arguments -Wformat: YES
|
|
cmocka| Compiler for C supports arguments -Werror=format-security: NO
|
|
cmocka| Compiler for C supports arguments -Wno-gnu-zero-variadic-macro-arguments: NO
|
|
cmocka| Compiler for C supports arguments -fno-common: YES
|
|
cmocka| Check usable header "assert.h" : YES
|
|
cmocka| Check usable header "inttypes.h" : YES
|
|
cmocka| Check usable header "io.h" : YES
|
|
cmocka| Check usable header "malloc.h" : YES
|
|
cmocka| Check usable header "memory.h" : YES
|
|
cmocka| Check usable header "setjmp.h" : YES
|
|
cmocka| Check usable header "signal.h" : YES
|
|
cmocka| Check usable header "stdarg.h" : YES
|
|
cmocka| Check usable header "stddef.h" : YES
|
|
cmocka| Check usable header "stdint.h" : YES
|
|
cmocka| Check usable header "stdio.h" : YES
|
|
cmocka| Check usable header "stdlib.h" : YES
|
|
cmocka| Check usable header "string.h" : YES
|
|
cmocka| Check usable header "strings.h" : YES
|
|
cmocka| Check usable header "sys/stat.h" : YES
|
|
cmocka| Check usable header "sys/types.h" : YES
|
|
cmocka| Check usable header "time.h" : YES
|
|
cmocka| Check usable header "unistd.h" : YES
|
|
cmocka| Checking whether type "struct timespec" has member "tv_sec" : YES
|
|
cmocka| Checking for function "calloc" : YES
|
|
cmocka| Checking for function "exit" : YES
|
|
cmocka| Checking for function "fprintf" : YES
|
|
cmocka| Checking for function "free" : YES
|
|
cmocka| Checking for function "longjmp" : YES
|
|
cmocka| Checking for function "siglongjmp" : NO
|
|
cmocka| Checking for function "malloc" : YES
|
|
cmocka| Checking for function "memcpy" : YES
|
|
cmocka| Checking for function "memset" : YES
|
|
cmocka| Checking for function "printf" : YES
|
|
cmocka| Checking for function "setjmp" : YES
|
|
cmocka| Checking for function "signal" : YES
|
|
cmocka| Checking for function "strsignal" : NO
|
|
cmocka| Checking for function "strcmp" : YES
|
|
cmocka| Checking for function "clock_gettime" : NO (cached)
|
|
cmocka| Checking for function "_vsnprintf_s" : YES
|
|
cmocka| Checking for function "_vsnprtinf" : NO
|
|
cmocka| Checking for function "_snprintf_s" : YES
|
|
cmocka| Checking for function "_snprintf" : YES
|
|
cmocka| Header "stdio.h" has symbol "snprintf" : YES
|
|
cmocka| Header "stdio.h" has symbol "vsnprintf" : YES
|
|
cmocka| Checking if "Thread Local Storage" compiles: YES
|
|
cmocka| Checking for size of "void *" : 4
|
|
cmocka| Configuring config.h using configuration
|
|
cmocka| Compiler for C supports arguments -Wshadow: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wmissing-prototypes: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wcast-align: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=address: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=strict-prototypes: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=write-strings: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=implicit-function-declaration: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=pointer-arith: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=declaration-after-statement: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=return-type: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=uninitialized: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wimplicit-fallthrough: NO (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=strict-overflow: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wstrict-overflow=2: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wno-format-zero-length: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Wformat: YES (cached)
|
|
cmocka| Compiler for C supports arguments -Werror=format-security: NO (cached)
|
|
cmocka| Compiler for C supports arguments -Wno-gnu-zero-variadic-macro-arguments: NO (cached)
|
|
cmocka| Compiler for C supports arguments -fno-common: YES (cached)
|
|
cmocka| Check usable header "assert.h" : YES (cached)
|
|
cmocka| Check usable header "inttypes.h" : YES (cached)
|
|
cmocka| Check usable header "io.h" : YES (cached)
|
|
cmocka| Check usable header "malloc.h" : YES (cached)
|
|
cmocka| Check usable header "memory.h" : YES (cached)
|
|
cmocka| Check usable header "setjmp.h" : YES (cached)
|
|
cmocka| Check usable header "signal.h" : YES (cached)
|
|
cmocka| Check usable header "stdarg.h" : YES (cached)
|
|
cmocka| Check usable header "stddef.h" : YES (cached)
|
|
cmocka| Check usable header "stdint.h" : YES (cached)
|
|
cmocka| Check usable header "stdio.h" : YES (cached)
|
|
cmocka| Check usable header "stdlib.h" : YES (cached)
|
|
cmocka| Check usable header "string.h" : YES (cached)
|
|
cmocka| Check usable header "strings.h" : YES (cached)
|
|
cmocka| Check usable header "sys/stat.h" : YES (cached)
|
|
cmocka| Check usable header "sys/types.h" : YES (cached)
|
|
cmocka| Check usable header "time.h" : YES (cached)
|
|
cmocka| Check usable header "unistd.h" : YES (cached)
|
|
cmocka| Checking whether type "struct timespec" has member "tv_sec" : YES (cached)
|
|
cmocka| Checking for function "calloc" : YES (cached)
|
|
cmocka| Checking for function "exit" : YES (cached)
|
|
cmocka| Checking for function "fprintf" : YES (cached)
|
|
cmocka| Checking for function "free" : YES (cached)
|
|
cmocka| Checking for function "longjmp" : YES (cached)
|
|
cmocka| Checking for function "siglongjmp" : NO (cached)
|
|
cmocka| Checking for function "malloc" : YES (cached)
|
|
cmocka| Checking for function "memcpy" : YES (cached)
|
|
cmocka| Checking for function "memset" : YES (cached)
|
|
cmocka| Checking for function "printf" : YES (cached)
|
|
cmocka| Checking for function "setjmp" : YES (cached)
|
|
cmocka| Checking for function "signal" : YES (cached)
|
|
cmocka| Checking for function "strsignal" : NO (cached)
|
|
cmocka| Checking for function "strcmp" : YES (cached)
|
|
cmocka| Checking for function "clock_gettime" : NO (cached)
|
|
cmocka| Checking for function "_vsnprintf_s" : YES (cached)
|
|
cmocka| Checking for function "_vsnprtinf" : NO (cached)
|
|
cmocka| Checking for function "_snprintf_s" : YES (cached)
|
|
cmocka| Checking for function "_snprintf" : YES (cached)
|
|
cmocka| Header "stdio.h" has symbol "snprintf" : YES (cached)
|
|
cmocka| Header "stdio.h" has symbol "vsnprintf" : YES (cached)
|
|
cmocka| Checking if "Thread Local Storage" compiles: YES (cached)
|
|
cmocka| Checking for size of "void *" : 4 (cached)
|
|
cmocka| Configuring config.h using configuration
|
|
cmocka| Build targets in project: 8
|
|
cmocka| Subproject cmocka finished.
|
|
|
|
Dependency cmocka from subproject subprojects/cmocka-1.1.5 found: YES 1.1.5
|
|
Run-time dependency threads found: YES
|
|
Build targets in project: 9
|
|
|
|
flashromutils 1.4.0-devel
|
|
|
|
Programmer
|
|
active : buspirate_spi
|
|
dummy
|
|
pony_spi
|
|
serprog
|
|
non active: asm106x (Not available on platform)
|
|
atahpt (not selected)
|
|
atapromise (not selected)
|
|
atavia (Not available on platform)
|
|
ch341a_spi (dependency libusb-1.0 not found)
|
|
ch347_spi (dependency libusb-1.0 not found)
|
|
dediprog (dependency libusb-1.0 not found)
|
|
developerbox_spi (dependency libusb-1.0 not found)
|
|
digilent_spi (dependency libusb-1.0 not found)
|
|
dirtyjtag_spi (dependency libusb-1.0 not found)
|
|
drkaiser (Not available on platform)
|
|
ft2232_spi (dependency libftdi1 not found)
|
|
gfxnvidia (Not available on platform)
|
|
internal (Not available on platform)
|
|
it8212 (Not available on platform)
|
|
jlink_spi (dependency libjaylink not found)
|
|
linux_mtd (Not available on platform)
|
|
linux_spi (Not available on platform)
|
|
parade_lspcon (not selected)
|
|
mediatek_i2c_spi (not selected)
|
|
mstarddc_spi (not selected)
|
|
ni845x_spi (not selected)
|
|
nic3com (Not available on platform)
|
|
nicintel (Not available on platform)
|
|
nicintel_eeprom (Not available on platform)
|
|
nicintel_spi (Not available on platform)
|
|
nicnatsemi (not selected)
|
|
nicrealtek (Not available on platform)
|
|
ogp_spi (Not available on platform)
|
|
pickit2_spi (dependency libusb-1.0 not found)
|
|
raiden_debug_spi (dependency libusb-1.0 not found)
|
|
rayer_spi (Not available on platform)
|
|
realtek_mst_i2c_spi (not selected)
|
|
satamv (Not available on platform)
|
|
satasii (Not available on platform)
|
|
stlinkv3_spi (dependency libusb-1.0 not found)
|
|
usbblaster_spi (dependency libftdi1 not found)
|
|
|
|
Subprojects
|
|
cmocka : YES
|
|
|
|
Found ninja-1.11.1 at "c:\Program Files\Meson\ninja.EXE"
|
|
|
|
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/125] 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" "-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_BUSPIRATE_SPI=1" "-DCONFIG_DUMMY=1" "-DCONFIG_PONY_SPI=1" "-DCONFIG_SERPROG=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
|
|
[11/125] 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" "-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_BUSPIRATE_SPI=1" "-DCONFIG_DUMMY=1" "-DCONFIG_PONY_SPI=1" "-DCONFIG_SERPROG=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
|
|
[12/125] Compiling C object libflashrom-1.dll.p/ich_descriptors.c.obj
|
|
ninja: build stopped: subcommand failed.
|
|
|
|
mm@DESKTOP-4AITTRD /z/Projektek/flashrom_git
|