root:/sources# tar zxf procps-3.2.7.tar.gz root:/sources# cd procps-3.2.7 root:/sources/procps-3.2.7# make CC=gcc gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -MM -MG proc/alloc.c proc/devname.c proc/escape.c proc/ksym.c proc/pwcache.c proc/readproc.c proc/sig.c proc/slab.c proc/sysinfo.c proc/version.c proc/whattime.c > proc/.depend gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o uptime.o uptime.c gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/alloc.c -o proc/alloc.o gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/devname.c -o proc/devname.o proc/devname.c:52: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/escape.c -o proc/escape.o In file included from proc/escape.h:7, from proc/escape.c:15: proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from proc/escape.h:7, from proc/escape.c:15: proc/readproc.h:174: warning: padding struct size to alignment boundary proc/readproc.h:186: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/ksym.c -o proc/ksym.o gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/pwcache.c -o proc/pwcache.o gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/readproc.c -o proc/readproc.o In file included from proc/readproc.c:13: proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from proc/readproc.c:13: proc/readproc.h:174: warning: padding struct size to alignment boundary proc/readproc.h:186: warning: padding struct size to alignment boundary proc/readproc.c: In function 'status2proc': proc/readproc.c:176: warning: array subscript has type 'char' proc/readproc.c:176: warning: array subscript has type 'char' proc/readproc.c:176: warning: array subscript has type 'char' proc/readproc.c: In function 'stat2proc': proc/readproc.c:391: warning: use of assignment suppression and length modifier together in scanf format proc/readproc.c:391: warning: use of assignment suppression and length modifier together in scanf format proc/readproc.c: In function 'file2strvec': proc/readproc.c:467: warning: cast increases required alignment of target type proc/readproc.c: At top level: proc/readproc.c:41: warning: 'unhex' defined but not used gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/sig.c -o proc/sig.o proc/sig.c:56: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/slab.c -o proc/slab.o proc/slab.c:99:1: warning: multi-line comment proc/slab.c:104:1: warning: multi-line comment proc/slab.c:111:1: warning: multi-line comment proc/slab.c:116:1: warning: multi-line comment gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/sysinfo.c -o proc/sysinfo.o gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic -DVERSION=\"3\" -DSUBVERSION=\"2\" -DMINORVERSION=\"7\" -c -o proc/version.o proc/version.c gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/whattime.c -o proc/whattime.o gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -Wl,-warn-common -shared -Wl,-soname,libproc-3.2.7.so -Wl,--version-script=proc/library.map -o proc/libproc-3.2.7.so proc/alloc.o proc/devname.o proc/escape.o proc/ksym.o proc/pwcache.o proc/readproc.o proc/sig.o proc/slab.o proc/sysinfo.o proc/version.o proc/whattime.o -lc gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions uptime.o proc/libproc-3.2.7.so -Wl,-warn-common -o uptime gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o tload.o tload.c tload.c:33: warning: redundant redeclaration of 'optind' /usr/include/getopt.h:73: warning: previous declaration of 'optind' was here tload.c:34: warning: redundant redeclaration of 'optarg' /usr/include/getopt.h:59: warning: previous declaration of 'optarg' was here gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions tload.o proc/libproc-3.2.7.so -Wl,-warn-common -o tload gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o free.o free.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions free.o proc/libproc-3.2.7.so -Wl,-warn-common -o free gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c w.c In file included from w.c:10: proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from w.c:10: proc/readproc.h:174: warning: padding struct size to alignment boundary proc/readproc.h:186: warning: padding struct size to alignment boundary w.c: In function 'getproc': w.c:161: warning: comparison between signed and unsigned w.c:161: warning: comparison between signed and unsigned gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions w.o proc/libproc-3.2.7.so -Wl,-warn-common -o w gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o top.o top.c In file included from top.c:49: proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from top.c:49: proc/readproc.h:174: warning: padding struct size to alignment boundary proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from top.c:56: top.h:193: warning: padding struct to align 'head' top.h:200: warning: padding struct size to alignment boundary top.h:208: warning: padding struct size to alignment boundary top.h:217: warning: padding struct size to alignment boundary top.h:342: warning: padding struct size to alignment boundary top.c: In function 'capsmk': top.c:503: warning: value computed is not used top.c:504: warning: value computed is not used top.c:505: warning: value computed is not used top.c:508: warning: value computed is not used top.c:509: warning: value computed is not used top.c:519: warning: value computed is not used top.c:520: warning: value computed is not used top.c:521: warning: value computed is not used top.c:522: warning: value computed is not used top.c:523: warning: value computed is not used top.c: In function 'show_special': top.c:682: warning: assignment discards qualifiers from pointer target type top.c: In function 'good_uid': top.c:845: warning: comparison between signed and unsigned top.c:846: warning: comparison between signed and unsigned top.c:847: warning: comparison between signed and unsigned top.c:850: warning: comparison between signed and unsigned top.c: In function 'prochlp': top.c:1066: warning: passing argument 5 of 'bsearch' from incompatible pointer type top.c: In function 'whack_terminal': top.c:1928: warning: passing argument 1 of 'setupterm' discards qualifiers from pointer target type top.c: In function 'summary_show': top.c:2950: warning: passing argument 5 of 'select' discards qualifiers from pointer target type top.c: In function 'task_show': top.c:3170: warning: assignment discards qualifiers from pointer target type top.c: In function 'window_show': top.c:3196: warning: assignment discards qualifiers from pointer target type top.c: In function 'main': top.c:3370: warning: passing argument 5 of 'select' discards qualifiers from pointer target type top.c:3389: warning: passing argument 5 of 'select' discards qualifiers from pointer target type gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions top.o proc/libproc-3.2.7.so -Wl,-warn-common -o top -lncurses gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o vmstat.o vmstat.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions vmstat.o proc/libproc-3.2.7.so -Wl,-warn-common -o vmstat gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o watch.o watch.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions watch.o -Wl,-warn-common -o watch -lncurses gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o skill.o skill.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions skill.o proc/libproc-3.2.7.so -Wl,-warn-common -o skill ln -f skill snice ln -f skill kill gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o sysctl.o sysctl.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions sysctl.o proc/libproc-3.2.7.so -Wl,-warn-common -o sysctl gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o pmap.o pmap.c In file included from pmap.c:24: proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from pmap.c:24: proc/readproc.h:174: warning: padding struct size to alignment boundary proc/readproc.h:186: warning: padding struct size to alignment boundary gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions pmap.o proc/libproc-3.2.7.so -Wl,-warn-common -o pmap gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o pgrep.o pgrep.c In file included from pgrep.c:30: proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from pgrep.c:30: proc/readproc.h:174: warning: padding struct size to alignment boundary proc/readproc.h:186: warning: padding struct size to alignment boundary pgrep.c:156: warning: no previous prototype for 'fcntl_lock' gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions pgrep.o proc/libproc-3.2.7.so -Wl,-warn-common -o pgrep ln -f pgrep pkill gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o slabtop.o slabtop.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions slabtop.o proc/libproc-3.2.7.so -Wl,-warn-common -o slabtop -lncurses gcc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o pwdx.o pwdx.c gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions pwdx.o proc/libproc-3.2.7.so -Wl,-warn-common -o pwdx gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/display.c -o ps/display.o In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/display.c:31: ps/../proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/display.c:31: ps/../proc/readproc.h:174: warning: padding struct size to alignment boundary ps/../proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from ps/display.c:31: ps/common.h:207: warning: padding struct size to alignment boundary ps/common.h:219: warning: padding struct size to alignment boundary ps/common.h:242: warning: padding struct to align 'spec' ps/common.h:248: warning: padding struct to align 'spec' ps/common.h:258: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/global.c -o ps/global.o In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/global.c:24: ps/../proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/global.c:24: ps/../proc/readproc.h:174: warning: padding struct size to alignment boundary ps/../proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from ps/global.c:24: ps/common.h:207: warning: padding struct size to alignment boundary ps/common.h:219: warning: padding struct size to alignment boundary ps/common.h:242: warning: padding struct to align 'spec' ps/common.h:248: warning: padding struct to align 'spec' ps/common.h:258: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/help.c -o ps/help.o gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/output.c -o ps/output.o In file included from ps/output.c:58: ps/../proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from ps/output.c:58: ps/../proc/readproc.h:174: warning: padding struct size to alignment boundary ps/../proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from ps/output.c:64: ps/common.h:207: warning: padding struct size to alignment boundary ps/common.h:219: warning: padding struct size to alignment boundary ps/common.h:242: warning: padding struct to align 'spec' ps/common.h:248: warning: padding struct to align 'spec' ps/common.h:258: warning: padding struct size to alignment boundary ps/output.c: In function 'pr_args': ps/output.c:341: warning: the address of 'forest_prefix' will always evaluate as 'true' ps/output.c: In function 'pr_comm': ps/output.c:368: warning: the address of 'forest_prefix' will always evaluate as 'true' ps/output.c: In function 'pr_fname': ps/output.c:393: warning: the address of 'forest_prefix' will always evaluate as 'true' ps/output.c: In function 'pr_nice': ps/output.c:592: warning: comparison between signed and unsigned ps/output.c: In function 'pr_rtprio': ps/output.c:626: warning: comparison between signed and unsigned ps/output.c: In function 'pr_sched': ps/output.c:630: warning: comparison between signed and unsigned ps/output.c: In function 'pr_stime': ps/output.c:927: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/parser.c -o ps/parser.o In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/parser.c:28: ps/../proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/parser.c:28: ps/../proc/readproc.h:174: warning: padding struct size to alignment boundary ps/../proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from ps/parser.c:28: ps/common.h:207: warning: padding struct size to alignment boundary ps/common.h:219: warning: padding struct size to alignment boundary ps/common.h:242: warning: padding struct to align 'spec' ps/common.h:248: warning: padding struct to align 'spec' ps/common.h:258: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/select.c -o ps/select.o In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/select.c:16: ps/../proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/select.c:16: ps/../proc/readproc.h:174: warning: padding struct size to alignment boundary ps/../proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from ps/select.c:16: ps/common.h:207: warning: padding struct size to alignment boundary ps/common.h:219: warning: padding struct size to alignment boundary ps/common.h:242: warning: padding struct to align 'spec' ps/common.h:248: warning: padding struct to align 'spec' ps/common.h:258: warning: padding struct size to alignment boundary gcc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/sortformat.c -o ps/sortformat.o In file included from ps/sortformat.c:21: ps/../proc/readproc.h:76: warning: padding struct to align 'start_code' In file included from ps/sortformat.c:21: ps/../proc/readproc.h:174: warning: padding struct size to alignment boundary ps/../proc/readproc.h:186: warning: padding struct size to alignment boundary In file included from ps/sortformat.c:23: ps/common.h:207: warning: padding struct size to alignment boundary ps/common.h:219: warning: padding struct size to alignment boundary ps/common.h:242: warning: padding struct to align 'spec' ps/common.h:248: warning: padding struct to align 'spec' ps/common.h:258: warning: padding struct size to alignment boundary gcc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -m64 -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -Wl,-warn-common -o ps/ps ps/display.o ps/global.o ps/help.o ps/output.o ps/parser.o ps/select.o ps/sortformat.o proc/libproc-3.2.7.so root:/sources/procps-3.2.7# root:/sources/procps-3.2.7# make install install -D --owner 0 --group 0 --mode a=rx uptime /usr/bin/uptime install -D --owner 0 --group 0 --mode a=rx tload /usr/bin/tload install -D --owner 0 --group 0 --mode a=rx free /usr/bin/free install -D --owner 0 --group 0 --mode a=rx w /usr/bin/w install -D --owner 0 --group 0 --mode a=rx top /usr/bin/top install -D --owner 0 --group 0 --mode a=rx vmstat /usr/bin/vmstat install -D --owner 0 --group 0 --mode a=rx watch /usr/bin/watch install -D --owner 0 --group 0 --mode a=rx skill /usr/bin/skill install -D --owner 0 --group 0 --mode a=rx snice /usr/bin/snice install -D --owner 0 --group 0 --mode a=rx kill /bin/kill install -D --owner 0 --group 0 --mode a=rx sysctl /sbin/sysctl install -D --owner 0 --group 0 --mode a=rx pmap /usr/bin/pmap install -D --owner 0 --group 0 --mode a=rx pgrep /usr/bin/pgrep install -D --owner 0 --group 0 --mode a=rx pkill /usr/bin/pkill install -D --owner 0 --group 0 --mode a=rx slabtop /usr/bin/slabtop install -D --owner 0 --group 0 --mode a=rx pwdx /usr/bin/pwdx install -D --owner 0 --group 0 --mode a=r uptime.1 /usr/share/man/man1/uptime.1 install -D --owner 0 --group 0 --mode a=r tload.1 /usr/share/man/man1/tload.1 install -D --owner 0 --group 0 --mode a=r free.1 /usr/share/man/man1/free.1 install -D --owner 0 --group 0 --mode a=r w.1 /usr/share/man/man1/w.1 install -D --owner 0 --group 0 --mode a=r top.1 /usr/share/man/man1/top.1 install -D --owner 0 --group 0 --mode a=r watch.1 /usr/share/man/man1/watch.1 install -D --owner 0 --group 0 --mode a=r skill.1 /usr/share/man/man1/skill.1 install -D --owner 0 --group 0 --mode a=r kill.1 /usr/share/man/man1/kill.1 install -D --owner 0 --group 0 --mode a=r snice.1 /usr/share/man/man1/snice.1 install -D --owner 0 --group 0 --mode a=r pgrep.1 /usr/share/man/man1/pgrep.1 install -D --owner 0 --group 0 --mode a=r pkill.1 /usr/share/man/man1/pkill.1 install -D --owner 0 --group 0 --mode a=r pmap.1 /usr/share/man/man1/pmap.1 install -D --owner 0 --group 0 --mode a=r sysctl.conf.5 /usr/share/man/man5/sysctl.conf.5 install -D --owner 0 --group 0 --mode a=r vmstat.8 /usr/share/man/man8/vmstat.8 install -D --owner 0 --group 0 --mode a=r sysctl.8 /usr/share/man/man8/sysctl.8 install -D --owner 0 --group 0 --mode a=r slabtop.1 /usr/share/man/man1/slabtop.1 install -D --owner 0 --group 0 --mode a=r pwdx.1 /usr/share/man/man1/pwdx.1 install -D --owner 0 --group 0 --mode a=rx proc/libproc-3.2.7.so /lib/libproc-3.2.7.so ldconfig install -D --owner 0 --group 0 --mode a=rx ps/ps /bin/ps install -D --owner 0 --group 0 --mode a=r ps/ps.1 /usr/share/man/man1/ps.1 rm -f /var/catman/cat1/ps.1.gz /var/man/cat1/ps.1.gz cd /usr/bin/ && ln -f skill snice cd /usr/bin/ && ln -f pgrep pkill root:/sources/procps-3.2.7#