DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 TCL=/usr/bin/tclsh
x86_64-oe-linux-gcc -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/usb-modeswitch/2.6.1/recipe-sysroot -o usb_modeswitch usb_modeswitch.c -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot-native= -pipe -Wall -Wno-deprecated-declarations `pkg-config --libs --cflags libusb-1.0` -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/usb-modeswitch-2.6.1=/usr/src/debug/usb-modeswitch/2.6.1 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/recipe-sysroot-native= -Wl,-z,relro,-z,now
DISPATCH=dispatcher-script
cp -f usb_modeswitch_dispatcher.tcl usb_modeswitch_dispatcher
usb_modeswitch.c: In function 'main':
usb_modeswitch.c:573:28: error: too many arguments to function 'get_current_config_value'; expected 0, have 1
573 | currentConfigVal = get_current_config_value(dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~
In file included from usb_modeswitch.c:59:
usb_modeswitch.h:55:5: note: declared here
55 | int get_current_config_value();
| ^~~~~~~~~~~~~~~~~~~~~~~~
usb_modeswitch.c:775:52: error: too many arguments to function 'get_current_config_value'; expected 0, have 1
775 | currentConfigVal = get_current_config_value(dev);
| ^~~~~~~~~~~~~~~~~~~~~~~~ ~~~
usb_modeswitch.h:55:5: note: declared here
55 | int get_current_config_value();
| ^~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:29: usb_modeswitch] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958:179 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958, line 179
#2: die, TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958, line 164
#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958, line 169
#4: base_do_compile, TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958, line 147
#5: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958, line 141
#6: main, TOPDIR/tmp/work/core2-64-oe-linux/usb-modeswitch/2.6.1/temp/run.do_compile.1700958, line 189