DEBUG: Executing shell function do_compile NOTE: make -j 70 -l 140 all 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/atop/2.4.0/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot-native= -pipe -O2 -I. -Wall -c -o parseable.o parseable.c 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/atop/2.4.0/recipe-sysroot -O2 -g -fcanon-prefix-map -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/atop-2.4.0=/usr/src/debug/atop/2.4.0 -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot-native= -fmacro-prefix-map=TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/recipe-sysroot-native= -pipe -O2 -I. -Wall -c -o atopsar.o atopsar.c parseable.c:120:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 120 | { "CPU", 0, print_CPU }, | ^~~~~~~~~ parseable.c:120:33: note: (near initialization for 'labeldef[0].prifunc') parseable.c:85:9: note: 'print_CPU' declared here 85 | void print_CPU(); | ^~~~~~~~~ parseable.c:121:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 121 | { "cpu", 0, print_cpu }, | ^~~~~~~~~ parseable.c:121:33: note: (near initialization for 'labeldef[1].prifunc') parseable.c:86:9: note: 'print_cpu' declared here 86 | void print_cpu(); | ^~~~~~~~~ parseable.c:122:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 122 | { "CPL", 0, print_CPL }, | ^~~~~~~~~ parseable.c:122:33: note: (near initialization for 'labeldef[2].prifunc') parseable.c:87:9: note: 'print_CPL' declared here 87 | void print_CPL(); | ^~~~~~~~~ parseable.c:123:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 123 | { "GPU", 0, print_GPU }, | ^~~~~~~~~ parseable.c:123:33: note: (near initialization for 'labeldef[3].prifunc') parseable.c:88:9: note: 'print_GPU' declared here 88 | void print_GPU(); | ^~~~~~~~~ parseable.c:124:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 124 | { "MEM", 0, print_MEM }, | ^~~~~~~~~ parseable.c:124:33: note: (near initialization for 'labeldef[4].prifunc') parseable.c:89:9: note: 'print_MEM' declared here 89 | void print_MEM(); | ^~~~~~~~~ parseable.c:125:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 125 | { "SWP", 0, print_SWP }, | ^~~~~~~~~ parseable.c:125:33: note: (near initialization for 'labeldef[5].prifunc') parseable.c:90:9: note: 'print_SWP' declared here 90 | void print_SWP(); | ^~~~~~~~~ parseable.c:126:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 126 | { "PAG", 0, print_PAG }, | ^~~~~~~~~ parseable.c:126:33: note: (near initialization for 'labeldef[6].prifunc') parseable.c:91:9: note: 'print_PAG' declared here 91 | void print_PAG(); | ^~~~~~~~~ parseable.c:127:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 127 | { "PSI", 0, print_PSI }, | ^~~~~~~~~ parseable.c:127:33: note: (near initialization for 'labeldef[7].prifunc') parseable.c:92:9: note: 'print_PSI' declared here 92 | void print_PSI(); | ^~~~~~~~~ parseable.c:128:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 128 | { "LVM", 0, print_LVM }, | ^~~~~~~~~ parseable.c:128:33: note: (near initialization for 'labeldef[8].prifunc') parseable.c:93:9: note: 'print_LVM' declared here 93 | void print_LVM(); | ^~~~~~~~~ parseable.c:129:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 129 | { "MDD", 0, print_MDD }, | ^~~~~~~~~ parseable.c:129:33: note: (near initialization for 'labeldef[9].prifunc') parseable.c:94:9: note: 'print_MDD' declared here 94 | void print_MDD(); | ^~~~~~~~~ parseable.c:130:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 130 | { "DSK", 0, print_DSK }, | ^~~~~~~~~ parseable.c:130:33: note: (near initialization for 'labeldef[10].prifunc') parseable.c:95:9: note: 'print_DSK' declared here 95 | void print_DSK(); | ^~~~~~~~~ parseable.c:131:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 131 | { "NFM", 0, print_NFM }, | ^~~~~~~~~ parseable.c:131:33: note: (near initialization for 'labeldef[11].prifunc') parseable.c:96:9: note: 'print_NFM' declared here 96 | void print_NFM(); | ^~~~~~~~~ parseable.c:132:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 132 | { "NFC", 0, print_NFC }, | ^~~~~~~~~ parseable.c:132:33: note: (near initialization for 'labeldef[12].prifunc') parseable.c:97:9: note: 'print_NFC' declared here 97 | void print_NFC(); | ^~~~~~~~~ parseable.c:133:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 133 | { "NFS", 0, print_NFS }, | ^~~~~~~~~ parseable.c:133:33: note: (near initialization for 'labeldef[13].prifunc') parseable.c:98:9: note: 'print_NFS' declared here 98 | void print_NFS(); | ^~~~~~~~~ parseable.c:134:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 134 | { "NET", 0, print_NET }, | ^~~~~~~~~ parseable.c:134:33: note: (near initialization for 'labeldef[14].prifunc') parseable.c:99:9: note: 'print_NET' declared here 99 | void print_NET(); | ^~~~~~~~~ parseable.c:135:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 135 | { "IFB", 0, print_IFB }, | ^~~~~~~~~ parseable.c:135:33: note: (near initialization for 'labeldef[15].prifunc') parseable.c:100:9: note: 'print_IFB' declared here 100 | void print_IFB(); | ^~~~~~~~~ parseable.c:137:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 137 | { "PRG", 0, print_PRG }, | ^~~~~~~~~ parseable.c:137:33: note: (near initialization for 'labeldef[16].prifunc') parseable.c:102:9: note: 'print_PRG' declared here 102 | void print_PRG(); | ^~~~~~~~~ parseable.c:138:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 138 | { "PRC", 0, print_PRC }, | ^~~~~~~~~ parseable.c:138:33: note: (near initialization for 'labeldef[17].prifunc') parseable.c:103:9: note: 'print_PRC' declared here 103 | void print_PRC(); | ^~~~~~~~~ parseable.c:139:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 139 | { "PRM", 0, print_PRM }, | ^~~~~~~~~ parseable.c:139:33: note: (near initialization for 'labeldef[18].prifunc') parseable.c:104:9: note: 'print_PRM' declared here 104 | void print_PRM(); | ^~~~~~~~~ parseable.c:140:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 140 | { "PRD", 0, print_PRD }, | ^~~~~~~~~ parseable.c:140:33: note: (near initialization for 'labeldef[19].prifunc') parseable.c:105:9: note: 'print_PRD' declared here 105 | void print_PRD(); | ^~~~~~~~~ parseable.c:141:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 141 | { "PRN", 0, print_PRN }, | ^~~~~~~~~ parseable.c:141:33: note: (near initialization for 'labeldef[20].prifunc') parseable.c:106:9: note: 'print_PRN' declared here 106 | void print_PRN(); | ^~~~~~~~~ parseable.c:142:33: error: initialization of 'void (*)(char *, struct sstat *, struct tstat *, int)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 142 | { "PRE", 0, print_PRE }, | ^~~~~~~~~ parseable.c:142:33: note: (near initialization for 'labeldef[21].prifunc') parseable.c:107:9: note: 'print_PRE' declared here 107 | void print_PRE(); | ^~~~~~~~~ parseable.c:304:1: error: conflicting types for 'print_CPU'; have 'void(char *, struct sstat *, struct tstat *, int)' 304 | print_CPU(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:85:9: note: previous declaration of 'print_CPU' with type 'void(void)' 85 | void print_CPU(); | ^~~~~~~~~ parseable.c:349:1: error: conflicting types for 'print_cpu'; have 'void(char *, struct sstat *, struct tstat *, int)' 349 | print_cpu(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:86:9: note: previous declaration of 'print_cpu' with type 'void(void)' 86 | void print_cpu(); | ^~~~~~~~~ parseable.c:387:1: error: conflicting types for 'print_CPL'; have 'void(char *, struct sstat *, struct tstat *, int)' 387 | print_CPL(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:87:9: note: previous declaration of 'print_CPL' with type 'void(void)' 87 | void print_CPL(); | ^~~~~~~~~ parseable.c:400:1: error: conflicting types for 'print_GPU'; have 'void(char *, struct sstat *, struct tstat *, int)' 400 | print_GPU(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:88:9: note: previous declaration of 'print_GPU' with type 'void(void)' 88 | void print_GPU(); | ^~~~~~~~~ parseable.c:422:1: error: conflicting types for 'print_MEM'; have 'void(char *, struct sstat *, struct tstat *, int)' 422 | print_MEM(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:89:9: note: previous declaration of 'print_MEM' with type 'void(void)' 89 | void print_MEM(); | ^~~~~~~~~ parseable.c:444:1: error: conflicting types for 'print_SWP'; have 'void(char *, struct sstat *, struct tstat *, int)' 444 | print_SWP(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:90:9: note: previous declaration of 'print_SWP' with type 'void(void)' 90 | void print_SWP(); | ^~~~~~~~~ parseable.c:457:1: error: conflicting types for 'print_PAG'; have 'void(char *, struct sstat *, struct tstat *, int)' 457 | print_PAG(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:91:9: note: previous declaration of 'print_PAG' with type 'void(void)' 91 | void print_PAG(); | ^~~~~~~~~ parseable.c:470:1: error: conflicting types for 'print_PSI'; have 'void(char *, struct sstat *, struct tstat *, int)' 470 | print_PSI(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:92:9: note: previous declaration of 'print_PSI' with type 'void(void)' 92 | void print_PSI(); | ^~~~~~~~~ parseable.c:488:1: error: conflicting types for 'print_LVM'; have 'void(char *, struct sstat *, struct tstat *, int)' 488 | print_LVM(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:93:9: note: previous declaration of 'print_LVM' with type 'void(void)' 93 | void print_LVM(); | ^~~~~~~~~ parseable.c:506:1: error: conflicting types for 'print_MDD'; have 'void(char *, struct sstat *, struct tstat *, int)' 506 | print_MDD(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:94:9: note: previous declaration of 'print_MDD' with type 'void(void)' 94 | void print_MDD(); | ^~~~~~~~~ parseable.c:524:1: error: conflicting types for 'print_DSK'; have 'void(char *, struct sstat *, struct tstat *, int)' 524 | print_DSK(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:95:9: note: previous declaration of 'print_DSK' with type 'void(void)' 95 | void print_DSK(); | ^~~~~~~~~ parseable.c:542:1: error: conflicting types for 'print_NFM'; have 'void(char *, struct sstat *, struct tstat *, int)' 542 | print_NFM(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:96:9: note: previous declaration of 'print_NFM' with type 'void(void)' 96 | void print_NFM(); | ^~~~~~~~~ parseable.c:563:1: error: conflicting types for 'print_NFC'; have 'void(char *, struct sstat *, struct tstat *, int)' 563 | print_NFC(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:97:9: note: previous declaration of 'print_NFC' with type 'void(void)' 97 | void print_NFC(); | ^~~~~~~~~ parseable.c:575:1: error: conflicting types for 'print_NFS'; have 'void(char *, struct sstat *, struct tstat *, int)' 575 | print_NFS(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:98:9: note: previous declaration of 'print_NFS' with type 'void(void)' 98 | void print_NFS(); | ^~~~~~~~~ parseable.c:598:1: error: conflicting types for 'print_NET'; have 'void(char *, struct sstat *, struct tstat *, int)' 598 | print_NET(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:99:9: note: previous declaration of 'print_NET' with type 'void(void)' 99 | void print_NET(); | ^~~~~~~~~ parseable.c:635:1: error: conflicting types for 'print_IFB'; have 'void(char *, struct sstat *, struct tstat *, int)' 635 | print_IFB(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:100:9: note: previous declaration of 'print_IFB' with type 'void(void)' 100 | void print_IFB(); | ^~~~~~~~~ parseable.c:659:1: error: conflicting types for 'print_PRG'; have 'void(char *, struct sstat *, struct tstat *, int)' 659 | print_PRG(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:102:9: note: previous declaration of 'print_PRG' with type 'void(void)' 102 | void print_PRG(); | ^~~~~~~~~ parseable.c:702:1: error: conflicting types for 'print_PRC'; have 'void(char *, struct sstat *, struct tstat *, int)' 702 | print_PRC(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:103:9: note: previous declaration of 'print_PRC' with type 'void(void)' 103 | void print_PRC(); | ^~~~~~~~~ parseable.c:728:1: error: conflicting types for 'print_PRM'; have 'void(char *, struct sstat *, struct tstat *, int)' 728 | print_PRM(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:104:9: note: previous declaration of 'print_PRM' with type 'void(void)' 104 | void print_PRM(); | ^~~~~~~~~ parseable.c:760:1: error: conflicting types for 'print_PRD'; have 'void(char *, struct sstat *, struct tstat *, int)' 760 | print_PRD(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:105:9: note: previous declaration of 'print_PRD' with type 'void(void)' 105 | void print_PRD(); | ^~~~~~~~~ parseable.c:781:1: error: conflicting types for 'print_PRN'; have 'void(char *, struct sstat *, struct tstat *, int)' 781 | print_PRN(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:106:9: note: previous declaration of 'print_PRN' with type 'void(void)' 106 | void print_PRN(); | ^~~~~~~~~ parseable.c:804:1: error: conflicting types for 'print_PRE'; have 'void(char *, struct sstat *, struct tstat *, int)' 804 | print_PRE(char *hp, struct sstat *ss, struct tstat *ps, int nact) | ^~~~~~~~~ parseable.c:107:9: note: previous declaration of 'print_PRE' with type 'void(void)' 107 | void print_PRE(); | ^~~~~~~~~ atopsar.c: In function 'reportlive': atopsar.c:588:35: error: too many arguments to function 'pridef[i].prihead'; expected 0, have 3 588 | (pridef[i].prihead)(osvers, osrel, ossub); | ~~~~~~~~~~^~~~~~~~~ ~~~~~~ atopsar.c:90:19: note: declared here 90 | void (*prihead)(); /* print header of list */ | ^~~~~~~ atopsar.c:653:35: error: too many arguments to function 'pridef[i].prihead'; expected 0, have 3 653 | (pridef[i].prihead)(osvers, osrel, ossub); | ~~~~~~~~~~^~~~~~~~~ ~~~~~~ atopsar.c:90:19: note: declared here 90 | void (*prihead)(); /* print header of list */ | ^~~~~~~ atopsar.c:700:35: error: too many arguments to function 'pridef[i].prihead'; expected 0, have 3 700 | (pridef[i].prihead)(osvers, osrel, ossub); | ~~~~~~~~~~^~~~~~~~~ ~~~~~~ atopsar.c:90:19: note: declared here 90 | void (*prihead)(); /* print header of list */ | ^~~~~~~ atopsar.c: In function 'reportraw': atopsar.c:794:32: error: too many arguments to function 'pridef[prinow].prihead'; expected 0, have 3 794 | (pridef[prinow].prihead)(osvers, osrel, ossub); | ~~~~~~~~~~~~~~~^~~~~~~~~ ~~~~~~ atopsar.c:90:19: note: declared here 90 | void (*prihead)(); /* print header of list */ | ^~~~~~~ make: *** [<builtin>: parseable.o] Error 1 make: *** Waiting for unfinished jobs.... atopsar.c: At top level: atopsar.c:2796:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2796 | {0, "c", 'c', cpuhead, cpuline, "cpu utilization", }, | ^~~~~~~ atopsar.c:2796:21: note: (near initialization for 'pridef[0].prihead') atopsar.c:1208:1: note: 'cpuhead' declared here 1208 | cpuhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2797:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2797 | {0, "c", 'p', prochead, procline, "process(or) load", }, | ^~~~~~~~ atopsar.c:2797:21: note: (near initialization for 'pridef[1].prihead') atopsar.c:1403:1: note: 'prochead' declared here 1403 | prochead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2798:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2798 | {0, "c", 'P', taskhead, taskline, "processes & threads", }, | ^~~~~~~~ atopsar.c:2798:21: note: (near initialization for 'pridef[2].prihead') atopsar.c:1427:1: note: 'taskhead' declared here 1427 | taskhead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2799:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2799 | {0, "c", 'g', gpuhead, gpuline, "gpu utilization", }, | ^~~~~~~ atopsar.c:2799:21: note: (near initialization for 'pridef[3].prihead') atopsar.c:1309:1: note: 'gpuhead' declared here 1309 | gpuhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2800:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2800 | {0, "m", 'm', memhead, memline, "memory & swapspace", }, | ^~~~~~~ atopsar.c:2800:21: note: (near initialization for 'pridef[4].prihead') atopsar.c:1467:1: note: 'memhead' declared here 1467 | memhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2801:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2801 | {0, "m", 's', swaphead, swapline, "swap rate", }, | ^~~~~~~~ atopsar.c:2801:21: note: (near initialization for 'pridef[5].prihead') atopsar.c:1517:1: note: 'swaphead' declared here 1517 | swaphead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2802:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2802 | {0, "cmd",'B', psihead, psiline, "pressure stall info (PSI)",}, | ^~~~~~~ atopsar.c:2802:21: note: (near initialization for 'pridef[6].prihead') atopsar.c:1566:1: note: 'psihead' declared here 1566 | psihead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2803:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2803 | {0, "cd", 'l', lvmhead, lvmline, "logical volume activity", }, | ^~~~~~~ atopsar.c:2803:21: note: (near initialization for 'pridef[7].prihead') atopsar.c:1606:1: note: 'lvmhead' declared here 1606 | lvmhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2804:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2804 | {0, "cd", 'f', mddhead, mddline, "multiple device activity",}, | ^~~~~~~ atopsar.c:2804:21: note: (near initialization for 'pridef[8].prihead') atopsar.c:1613:1: note: 'mddhead' declared here 1613 | mddhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2805:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2805 | {0, "cd", 'd', dskhead, dskline, "disk activity", }, | ^~~~~~~ atopsar.c:2805:21: note: (near initialization for 'pridef[9].prihead') atopsar.c:1620:1: note: 'dskhead' declared here 1620 | dskhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2806:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2806 | {0, "n", 'h', ibhead, ibline, "infiniband utilization", }, | ^~~~~~ atopsar.c:2806:21: note: (near initialization for 'pridef[10].prihead') atopsar.c:1862:1: note: 'ibhead' declared here 1862 | ibhead(int osvers, int osrel, int ossub) | ^~~~~~ atopsar.c:2807:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2807 | {0, "n", 'n', nfmhead, nfmline, "NFS client mounts", }, | ^~~~~~~ atopsar.c:2807:21: note: (near initialization for 'pridef[11].prihead') atopsar.c:1747:1: note: 'nfmhead' declared here 1747 | nfmhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2808:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2808 | {0, "n", 'j', nfchead, nfcline, "NFS client activity", }, | ^~~~~~~ atopsar.c:2808:21: note: (near initialization for 'pridef[12].prihead') atopsar.c:1811:1: note: 'nfchead' declared here 1811 | nfchead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2809:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2809 | {0, "n", 'J', nfshead, nfsline, "NFS server activity", }, | ^~~~~~~ atopsar.c:2809:21: note: (near initialization for 'pridef[13].prihead') atopsar.c:1834:1: note: 'nfshead' declared here 1834 | nfshead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2810:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2810 | {0, "n", 'i', ifhead, ifline, "net-interf (general)", }, | ^~~~~~ atopsar.c:2810:21: note: (near initialization for 'pridef[14].prihead') atopsar.c:1943:1: note: 'ifhead' declared here 1943 | ifhead(int osvers, int osrel, int ossub) | ^~~~~~ atopsar.c:2811:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2811 | {0, "n", 'I', IFhead, IFline, "net-interf (errors)", }, | ^~~~~~ atopsar.c:2811:21: note: (near initialization for 'pridef[15].prihead') atopsar.c:2075:1: note: 'IFhead' declared here 2075 | IFhead(int osvers, int osrel, int ossub) | ^~~~~~ atopsar.c:2812:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2812 | {0, "n", 'w', ipv4head, ipv4line, "ip v4 (general)", }, | ^~~~~~~~ atopsar.c:2812:21: note: (near initialization for 'pridef[16].prihead') atopsar.c:2137:1: note: 'ipv4head' declared here 2137 | ipv4head(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2813:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2813 | {0, "n", 'W', IPv4head, IPv4line, "ip v4 (errors)", }, | ^~~~~~~~ atopsar.c:2813:21: note: (near initialization for 'pridef[17].prihead') atopsar.c:2160:1: note: 'IPv4head' declared here 2160 | IPv4head(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2814:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2814 | {0, "n", 'y', icmpv4head, icmpv4line, "icmp v4 (general)", }, | ^~~~~~~~~~ atopsar.c:2814:21: note: (near initialization for 'pridef[18].prihead') atopsar.c:2189:1: note: 'icmpv4head' declared here 2189 | icmpv4head(int osvers, int osrel, int ossub) | ^~~~~~~~~~ atopsar.c:2815:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2815 | {0, "n", 'Y', ICMPv4head, ICMPv4line, "icmp v4 (per type)", }, | ^~~~~~~~~~ atopsar.c:2815:21: note: (near initialization for 'pridef[19].prihead') atopsar.c:2212:1: note: 'ICMPv4head' declared here 2212 | ICMPv4head(int osvers, int osrel, int ossub) | ^~~~~~~~~~ atopsar.c:2816:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2816 | {0, "n", 'u', udpv4head, udpv4line, "udp v4", }, | ^~~~~~~~~ atopsar.c:2816:21: note: (near initialization for 'pridef[20].prihead') atopsar.c:2243:1: note: 'udpv4head' declared here 2243 | udpv4head(int osvers, int osrel, int ossub) | ^~~~~~~~~ atopsar.c:2817:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2817 | {0, "n", 'z', ipv6head, ipv6line, "ip v6 (general)", }, | ^~~~~~~~ atopsar.c:2817:21: note: (near initialization for 'pridef[21].prihead') atopsar.c:2267:1: note: 'ipv6head' declared here 2267 | ipv6head(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2818:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2818 | {0, "n", 'Z', IPv6head, IPv6line, "ip v6 (errors)", }, | ^~~~~~~~ atopsar.c:2818:21: note: (near initialization for 'pridef[22].prihead') atopsar.c:2291:1: note: 'IPv6head' declared here 2291 | IPv6head(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2819:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2819 | {0, "n", 'k', icmpv6head, icmpv6line, "icmp v6 (general)", }, | ^~~~~~~~~~ atopsar.c:2819:21: note: (near initialization for 'pridef[23].prihead') atopsar.c:2320:1: note: 'icmpv6head' declared here 2320 | icmpv6head(int osvers, int osrel, int ossub) | ^~~~~~~~~~ atopsar.c:2820:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2820 | {0, "n", 'K', ICMPv6head, ICMPv6line, "icmp v6 (per type)", }, | ^~~~~~~~~~ atopsar.c:2820:21: note: (near initialization for 'pridef[24].prihead') atopsar.c:2345:1: note: 'ICMPv6head' declared here 2345 | ICMPv6head(int osvers, int osrel, int ossub) | ^~~~~~~~~~ atopsar.c:2821:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2821 | {0, "n", 'U', udpv6head, udpv6line, "udp v6", }, | ^~~~~~~~~ atopsar.c:2821:21: note: (near initialization for 'pridef[25].prihead') atopsar.c:2375:1: note: 'udpv6head' declared here 2375 | udpv6head(int osvers, int osrel, int ossub) | ^~~~~~~~~ atopsar.c:2822:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2822 | {0, "n", 't', tcphead, tcpline, "tcp (general)", }, | ^~~~~~~ atopsar.c:2822:21: note: (near initialization for 'pridef[26].prihead') atopsar.c:2399:1: note: 'tcphead' declared here 2399 | tcphead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2823:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2823 | {0, "n", 'T', TCPhead, TCPline, "tcp (errors)", }, | ^~~~~~~ atopsar.c:2823:21: note: (near initialization for 'pridef[27].prihead') atopsar.c:2421:1: note: 'TCPhead' declared here 2421 | TCPhead(int osvers, int osrel, int ossub) | ^~~~~~~ atopsar.c:2827:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2827 | {0, "", 'O', topchead, topcline, "top-3 processes cpu", }, | ^~~~~~~~ atopsar.c:2827:21: note: (near initialization for 'pridef[28].prihead') atopsar.c:2472:1: note: 'topchead' declared here 2472 | topchead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2828:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2828 | {0, "", 'G', topmhead, topmline, "top-3 processes memory", }, | ^~~~~~~~ atopsar.c:2828:21: note: (near initialization for 'pridef[29].prihead') atopsar.c:2536:1: note: 'topmhead' declared here 2536 | topmhead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2829:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2829 | {0, "", 'D', topdhead, topdline, "top-3 processes disk", }, | ^~~~~~~~ atopsar.c:2829:21: note: (near initialization for 'pridef[30].prihead') atopsar.c:2592:1: note: 'topdhead' declared here 2592 | topdhead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:2830:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 2830 | {0, "", 'N', topnhead, topnline, "top-3 processes network",}, | ^~~~~~~~ atopsar.c:2830:21: note: (near initialization for 'pridef[31].prihead') atopsar.c:2664:1: note: 'topnhead' declared here 2664 | topnhead(int osvers, int osrel, int ossub) | ^~~~~~~~ atopsar.c:32:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 32 | static const char rcsid[] = "$Id: atopsar.c,v 1.28 2010/11/26 06:19:43 gerlof Exp $"; | ^~~~~ make: *** [<builtin>: atopsar.o] Error 1 ERROR: oe_runmake failed WARNING: TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/temp/run.do_compile.1916824:166 exit 1 from 'exit 1' WARNING: Backtrace (BB generated script): #1: bbfatal_log, TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/temp/run.do_compile.1916824, line 166 #2: die, TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/temp/run.do_compile.1916824, line 150 #3: oe_runmake, TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/temp/run.do_compile.1916824, line 145 #4: do_compile, TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/temp/run.do_compile.1916824, line 140 #5: main, TOPDIR/tmp/work/core2-64-oe-linux/atop/2.4.0/temp/run.do_compile.1916824, line 179