DEBUG: Executing shell function do_compile TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9/scripts/build: line 8: ../scripts/config: No such file or directory cd src && make make[1]: Entering directory 'TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9/src' make[2]: Entering directory 'TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9/src' 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/lmbench/3.0-a9/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot-native= -pipe -ITOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_pmap_clnt_h -DHAVE_socklen_t -DHAVE_DRAND48 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9=/usr/src/debug/lmbench/3.0-a9 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot-native= -Wl,-z,relro,-z,now -o ../bin/x86_64-oe-linux/lat_rpc lat_rpc.c ../bin/x86_64-oe-linux/lmbench.a -lm -ltirpc -lm lat_rpc.c:24:10: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'} 24 | char *client_rpc_xact_1(char *argp, CLIENT *clnt); | ^~~~~~~~~~~~~~~~~ In file included from lat_rpc.c:19: bench.h:349:14: note: previous declaration of 'client_rpc_xact_1' with type 'char *(void)' 349 | extern char *client_rpc_xact_1(); | ^~~~~~~~~~~~~~~~~ lat_rpc.c:172:1: error: conflicting types for 'client_rpc_xact_1'; have 'char *(char *, CLIENT *)' {aka 'char *(char *, struct __rpc_client *)'} 172 | client_rpc_xact_1(char *argp, CLIENT *clnt) | ^~~~~~~~~~~~~~~~~ bench.h:349:14: note: previous declaration of 'client_rpc_xact_1' with type 'char *(void)' 349 | extern char *client_rpc_xact_1(); | ^~~~~~~~~~~~~~~~~ lat_rpc.c: In function 'rpc_xact_1': lat_rpc.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | rpc_xact_1(msg, transp) | ^~~~~~~~~~ lat_rpc.c:192:1: error: number of arguments doesn't match prototype 192 | { | ^ bench.h:348:14: error: prototype declaration 348 | extern char *rpc_xact_1(); | ^~~~~~~~~~ lat_rpc.c: In function 'server_main': lat_rpc.c:214:57: error: passing argument 4 of 'svc_register' from incompatible pointer type [-Wincompatible-pointer-types] 214 | if (!svc_register(transp, XACT_PROG, XACT_VERS, xact_prog_1, IPPROTO_UDP)) { | ^~~~~~~~~~~ | | | void (*)(void) In file included from TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/svc.h:463, from TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/rpc.h:63, from bench.h:39: TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/svc_soc.h:70:21: note: expected 'void (*)(struct svc_req *, SVCXPRT *)' {aka 'void (*)(struct svc_req *, struct __rpc_svcxprt *)'} but argument is of type 'void (*)(void)' 70 | void (*)(struct svc_req *, SVCXPRT *), int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lat_rpc.c:198:13: note: 'xact_prog_1' declared here 198 | static void xact_prog_1(); | ^~~~~~~~~~~ lat_rpc.c:224:57: error: passing argument 4 of 'svc_register' from incompatible pointer type [-Wincompatible-pointer-types] 224 | if (!svc_register(transp, XACT_PROG, XACT_VERS, xact_prog_1, IPPROTO_TCP)) { | ^~~~~~~~~~~ | | | void (*)(void) TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/svc_soc.h:70:21: note: expected 'void (*)(struct svc_req *, SVCXPRT *)' {aka 'void (*)(struct svc_req *, struct __rpc_svcxprt *)'} but argument is of type 'void (*)(void)' 70 | void (*)(struct svc_req *, SVCXPRT *), int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lat_rpc.c:198:13: note: 'xact_prog_1' declared here 198 | static void xact_prog_1(); | ^~~~~~~~~~~ lat_rpc.c: In function 'xact_prog_1': lat_rpc.c:236:1: warning: old-style function definition [-Wold-style-definition] 236 | xact_prog_1(rqstp, transp) | ^~~~~~~~~~~ lat_rpc.c:253:30: error: assignment to 'bool_t (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'bool_t (*)(XDR *, char *)' {aka 'int (*)(struct __rpc_xdr *, char *)'} [-Wincompatible-pointer-types] 253 | xdr_argument = xdr_char; | ^ In file included from TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/rpc.h:43: TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/xdr.h:316:17: note: 'xdr_char' declared here 316 | extern bool_t xdr_char(XDR *, char *); | ^~~~~~~~ lat_rpc.c:254:28: error: assignment to 'bool_t (*)(void)' {aka 'int (*)(void)'} from incompatible pointer type 'bool_t (*)(XDR *, char *)' {aka 'int (*)(struct __rpc_xdr *, char *)'} [-Wincompatible-pointer-types] 254 | xdr_result = xdr_char; | ^ TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/recipe-sysroot/usr/include/tirpc/rpc/xdr.h:316:17: note: 'xdr_char' declared here 316 | extern bool_t xdr_char(XDR *, char *); | ^~~~~~~~ lat_rpc.c:272:19: error: too many arguments to function 'local'; expected 0, have 2 272 | result = (*local)(&argument, rqstp); | ~^~~~~~~ ~~~~~~~~~ make[2]: *** [Makefile:381: ../bin/x86_64-oe-linux/lat_rpc] Error 1 make[2]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9/src' make[1]: *** [Makefile:115: lmbench] Error 2 make[1]: Leaving directory 'TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9/src' make: *** [Makefile:20: build] Error 2 WARNING: TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/temp/run.do_compile.1190209:158 exit 2 from 'TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/lmbench-3.0-a9/scripts/build' WARNING: Backtrace (BB generated script): #1: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/temp/run.do_compile.1190209, line 158 #2: main, TOPDIR/tmp/work/core2-64-oe-linux/lmbench/3.0-a9/temp/run.do_compile.1190209, line 162