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 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 output.c -c -I.  -O3 -Wall  
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();
      |      ^~~~~~~~~~
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);
      |                                                                                    ^
make: *** [Makefile:40: main.o] Error 1
make: *** Waiting for unfinished jobs....
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
ERROR: oe_runmake failed
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.1189656: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.1189656, line 166
	#2: die, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.1189656, line 150
	#3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.1189656, line 145
	#4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.1189656, line 140
	#5: main, TOPDIR/tmp/work/core2-64-oe-linux/dhex/0.69/temp/run.do_compile.1189656, line 179

Error details

Submitted on:
01/04/25 07:20
Error type:
Recipe
Task:
do_compile
Recipe:
dhex
Recipe version:
0.69-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:
82232e3cb46f310f823d3aea6111cb4bb5365c3c
Build:
#203668
Submitter:
Martin.Jansa@gmail.com
Similar errors:
0
Open a bug