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

Error details

Submitted on:
25/03/25 04:19
Error type:
Recipe
Task:
do_compile
Recipe:
usb-modeswitch
Recipe version:
2.6.1-r0
Machine:
qemux86-64
Distro:
nodistro
Build system:
x86_64-linux
Target system:
x86_64-oe-linux
Host distro:
gentoo-2.17/gentoo-2.17
Branch:
jansa/master
Commit:
534503c18111db154eaa23ac11a24b89fa1980c2
Build:
#202771
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug