DEBUG: Executing shell function do_compile
NOTE: VERBOSE=1 cmake --build TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build --target all --
Change Dir: 'TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build'
Run Build Command(s): ninja -v -j 70 all
[1/4] : && TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot -fPIC -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -pipe -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -Wl,-z,relro,-z,now -Wl,--dependency-file=lib/CMakeFiles/cyusbserial.dir/link.d -shared -Wl,-soname,libcyusbserial.so.1 -o lib/libcyusbserial.so.1 lib/CMakeFiles/cyusbserial.dir/cyusb.c.o lib/CMakeFiles/cyusbserial.dir/cyuart.c.o lib/CMakeFiles/cyusbserial.dir/cyi2c.c.o lib/CMakeFiles/cyusbserial.dir/cyspi.c.o lib/CMakeFiles/cyusbserial.dir/cyphdc.c.o lib/CMakeFiles/cyusbserial.dir/cyjtag.c.o lib/CMakeFiles/cyusbserial.dir/cymisc.c.o -lusb-1.0 && :
[2/4] TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native/usr/bin/cmake -E cmake_symlink_library lib/libcyusbserial.so.1 lib/libcyusbserial.so.1 lib/libcyusbserial.so && :
[3/4] TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot -ITOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/include -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -pipe -Wall -Wextra -Wno-unused-parameter -MD -MT tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o -MF tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o.d -o tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o -c TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c
FAILED: tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gcc --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot -ITOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/include -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-all -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git=/usr/src/debug/libcyusbserial/1.0.0+git -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build=/usr/src/debug/libcyusbserial/1.0.0+git -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot-native= -pipe -Wall -Wextra -Wno-unused-parameter -MD -MT tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o -MF tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o.d -o tools/CMakeFiles/cyusbserialtest.dir/cyusbserialtest.c.o -c TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c: In function 'main':
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:101:22: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
101 | signal (SIGUSR1, deviceHotPlug);
| ^~~~~~~~~~~~~
| |
| void (*)(void)
In file included from TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:25:
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:83:6: note: 'deviceHotPlug' declared here
83 | void deviceHotPlug () {
| ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:219:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
219 | if (glDevice[selectedDeviceNum].interfaceFunctionality[selectedInterfaceNum] == CY_TYPE_SPI){
| ^
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:240:13: note: here
240 | case 4:
| ^~~~
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/temp/run.do_compile.2417937:153 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} }VERBOSE=1 cmake --build 'TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
WARNING: Backtrace (BB generated script):
#1: cmake_runcmake_build, TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/temp/run.do_compile.2417937, line 153
#2: cmake_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/temp/run.do_compile.2417937, line 147
#3: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/temp/run.do_compile.2417937, line 142
#4: main, TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/temp/run.do_compile.2417937, line 166