DEBUG: Executing shell function do_compile
linpacknew.c:32:9: warning: 'DP' redefined
   32 | #define DP
      |         ^~
<command-line>: note: this is the location of the previous definition
linpacknew.c: In function 'dgefa':
linpacknew.c:257:9: error: conflicting types for 'idamax'; have 'int(void)'
  257 |     int idamax(),j,k,kp1,l,nm1;
      |         ^~~~~~
linpacknew.c:63:13: note: previous declaration of 'idamax' with type 'int(int,  REAL *, int)' {aka 'int(int,  double *, int)'}
   63 | static int  idamax   (int n,REAL *dx,int incx);
      |             ^~~~~~
linpacknew.c:272:21: error: too many arguments to function 'idamax'; expected 0, have 3
  272 |                 l = idamax(n-k,&a[lda*k+k],1) + k;
      |                     ^~~~~~ ~~~
linpacknew.c:257:9: note: declared here
  257 |     int idamax(),j,k,kp1,l,nm1;
      |         ^~~~~~
linpacknew.c:326:21: error: too many arguments to function 'idamax'; expected 0, have 3
  326 |                 l = idamax(n-k,&a[lda*k+k],1) + k;
      |                     ^~~~~~ ~~~
linpacknew.c:257:9: note: declared here
  257 |     int idamax(),j,k,kp1,l,nm1;
      |         ^~~~~~
linpacknew.c: In function 'main':
linpacknew.c:80:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
   80 |         fgets(buf,79,stdin);
      |         ^~~~~~~~~~~~~~~~~~~
WARNING: TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/temp/run.do_compile.2116076:140 exit 1 from '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/linpack/1.0/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/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/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/sources=/usr/src/debug/linpack/1.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/recipe-sysroot-native= -Wl,-z,relro,-z,now -DDP -o linpack_dp linpacknew.c -lm'
WARNING: Backtrace (BB generated script): 
	#1: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/temp/run.do_compile.2116076, line 140
	#2: main, TOPDIR/tmp/work/core2-64-oe-linux/linpack/1.0/temp/run.do_compile.2116076, line 145

Error details

Submitted on:
31/03/25 13:11
Error type:
Recipe
Task:
do_compile
Recipe:
linpack
Recipe version:
1.0-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:
#203588
Submitter:
Martin.Jansa@gmail.com
Similar errors:
3
Open a bug