DEBUG: Executing shell function do_compile
NOTE: make -j 70 -l 140 CC=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/dhex/0.69/recipe-sysroot LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/dhex_0.69=/usr/src/debug/dhex/0.69 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/dhex_0.69=/usr/src/debug/dhex/0.69 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/dhex_0.69=/usr/src/debug/dhex/0.69 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/dhex_0.69=/usr/src/debug/dhex/0.69 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/recipe-sysroot-native= -Wl,-z,relro,-z,now CPPFLAGS=
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/dhex/0.69/recipe-sysroot buffers.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot configfile.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot correlation.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot gpl.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot hexcalc.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot input.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot machine_type.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot main.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot markers.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot menu.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot output.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot search.c -c -I. -O3 -Wall
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/dhex/0.69/recipe-sysroot ui.c -c -I. -O3 -Wall
correlation.c: In function 'find_longestmatch':
correlation.c:30:60: warning: format '%lli' expects argument of type 'long long int', but argument 5 has type 'int' [-Wformat=]
30 | if (smallwin) mvwprintw(smallwin,4,1,"%18lli",0);
| ~~~~~^ ~
| | |
| | int
| long long int
| %18i
correlation.c: In function 'find_bestmatch':
hexcalc.c: In function 'hexcalc':
hexcalc.c:85:95: warning: format '%i' expects argument of type 'int', but argument 5 has type 'tUInt64' {aka 'long long unsigned int'} [-Wformat=]
85 | if (x || !j) mvwprintw(output->win,offsy+18-i,offsx+76-j,"%i",(x&1));
| ~^ ~~~~~
| | |
| int tUInt64 {aka long long unsigned int}
| %lli
hexcalc.c:99:85: warning: format '%i' expects argument of type 'int', but argument 5 has type 'tUInt64' {aka 'long long unsigned int'} [-Wformat=]
99 | if (x || !j) mvwprintw(output->win,offsy+19,offsx+76-j,"%i",(x&1));
| ~^ ~~~~~
| | |
| int tUInt64 {aka long long unsigned int}
| %lli
correlation.c:118:60: warning: format '%lli' expects argument of type 'long long int', but argument 5 has type 'int' [-Wformat=]
118 | if (smallwin) mvwprintw(smallwin,4,1,"%18lli",0);
| ~~~~~^ ~
| | |
| | int
| long long int
| %18i
markers.c: In function 'gotomask':
markers.c:172:72: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'int' [-Wformat=]
172 | mvwprintw(output->win,offsy+5+i,offsx+42,"%16llx",abs(markers->cursorpos[i]-actcursorpos));
| ~~~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | int
| long long unsigned int
| %16x
output.c:9:6: error: conflicting types for 'initcolors'; have 'void(tOutput *)' {aka 'void(struct _tOutput *)'}
9 | void initcolors(tOutput* output)
| ^~~~~~~~~~
In file included from output.c:7:
output.h:10:6: note: previous declaration of 'initcolors' with type 'void(void)'
10 | void initcolors();
| ^~~~~~~~~~
output.c: In function 'printbuffersingle':
output.c:126:82: warning: ' ' flag used with '%X' gnu_printf format [-Wformat=]
126 | if (addrwidth==8) mvwprintw(output->win,i+1,0, "% 8X ",(tUInt32)(firstpos1+hBuf1->baseaddr));
| ^
output.c:127:84: warning: ' ' flag used with '%X' gnu_printf format [-Wformat=]
127 | else mvwprintw(output->win,i+1,0,"% 16llX ",firstpos1+hBuf1->baseaddr);
| ^
output.c: In function 'printbufferdiff':
output.c:239:46: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'tInt64' {aka 'long long int'} [-Wformat=]
239 | mvwprintw(output->win,0,2,"%8X",(tUInt32)cursorpos1+hBuf1->baseaddr);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| unsigned int tInt64 {aka long long int}
| %8llX
output.c:240:47: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'tInt64' {aka 'long long int'} [-Wformat=]
240 | mvwprintw(output->win,0,11,"%8X",(tUInt32)hBuf1->bufsize+hBuf1->baseaddr);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| unsigned int tInt64 {aka long long int}
| %8llX
output.c:241:52: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'tInt64' {aka 'long long int'} [-Wformat=]
241 | mvwprintw(output->win,LINES/2,2,"%8X",(tUInt32)cursorpos2+hBuf2->baseaddr);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| unsigned int tInt64 {aka long long int}
| %8llX
output.c:242:53: warning: format '%X' expects argument of type 'unsigned int', but argument 5 has type 'tInt64' {aka 'long long int'} [-Wformat=]
242 | mvwprintw(output->win,LINES/2,11,"%8X",(tUInt32)hBuf2->bufsize+hBuf2->baseaddr);
| ~~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| unsigned int tInt64 {aka long long int}
| %8llX
output.c:269:82: warning: ' ' flag used with '%X' gnu_printf format [-Wformat=]
269 | if (addrwidth==8) mvwprintw(output->win,i+1,0, "% 8X ",(tUInt32)(cursorpos1+hBuf1->baseaddr));
| ^
output.c:270:84: warning: ' ' flag used with '%X' gnu_printf format [-Wformat=]
270 | else mvwprintw(output->win,i+1,0,"% 16llX ",cursorpos1+hBuf1->baseaddr);
| ^
output.c:341:90: warning: ' ' flag used with '%X' gnu_printf format [-Wformat=]
341 | if (addrwidth==8) mvwprintw(output->win,i+1+LINES/2,0, "% 8X ",(tUInt32)(cursorpos2+hBuf2->baseaddr));
| ^
output.c:342:92: warning: ' ' flag used with '%X' gnu_printf format [-Wformat=]
342 | else mvwprintw(output->win,i+1+LINES/2,0,"% 16llX ",cursorpos2+hBuf2->baseaddr);
| ^
make: *** [Makefile:40: output.o] Error 1
make: *** Waiting for unfinished jobs....
main.c: In function 'main':
main.c:412:9: error: too many arguments to function 'initcolors'; expected 0, have 1
412 | initcolors(output);
| ^~~~~~~~~~ ~~~~~~
In file included from menu.h:6,
from main.c:9:
output.h:10:6: note: declared here
10 | void initcolors();
| ^~~~~~~~~~
make: *** [Makefile:40: main.o] Error 1
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.2064622:166 exit 1 from 'exit 1'
WARNING: Backtrace (BB generated script):
#1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.2064622, line 166
#2: die, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.2064622, line 150
#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.2064622, line 145
#4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.2064622, line 140
#5: main, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.2064622, line 179