setting hdw_home_dir to /usr/src/hdw-linux
reading ./Config file
hdw_arch_target variable set to i686-pc-linux-gnu
hdw_arch_build variable set to i686-pc-linux-gnu
hdw_cflags variable set to -O3 -march=i686
hdw_target variable set to all-dev
found procps config file ...
running ldconfig ...
procps-3.2.1/
procps-3.2.1/AUTHORS
procps-3.2.1/BUGS
procps-3.2.1/NEWS
procps-3.2.1/README
procps-3.2.1/TODO
procps-3.2.1/COPYING
procps-3.2.1/COPYING.LIB
procps-3.2.1/Makefile
procps-3.2.1/procps.lsm
procps-3.2.1/procps.spec
procps-3.2.1/v
procps-3.2.1/t
procps-3.2.1/README.top
procps-3.2.1/CodingStyle
procps-3.2.1/minimal.c
procps-3.2.1/uptime.1
procps-3.2.1/tload.1
procps-3.2.1/free.1
procps-3.2.1/w.1
procps-3.2.1/top.1
procps-3.2.1/watch.1
procps-3.2.1/skill.1
procps-3.2.1/kill.1
procps-3.2.1/snice.1
procps-3.2.1/pgrep.1
procps-3.2.1/pkill.1
procps-3.2.1/pmap.1
procps-3.2.1/sysctl.conf.5
procps-3.2.1/vmstat.8
procps-3.2.1/sysctl.8
procps-3.2.1/slabtop.1
procps-3.2.1/dummy.c
procps-3.2.1/uptime.c
procps-3.2.1/tload.c
procps-3.2.1/free.c
procps-3.2.1/w.c
procps-3.2.1/top.c
procps-3.2.1/vmstat.c
procps-3.2.1/watch.c
procps-3.2.1/skill.c
procps-3.2.1/sysctl.c
procps-3.2.1/pgrep.c
procps-3.2.1/top.h
procps-3.2.1/pmap.c
procps-3.2.1/slabtop.c
procps-3.2.1/proc/
procps-3.2.1/proc/alloc.c
procps-3.2.1/proc/devname.c
procps-3.2.1/proc/escape.c
procps-3.2.1/proc/ksym.c
procps-3.2.1/proc/prof.c
procps-3.2.1/proc/pwcache.c
procps-3.2.1/proc/readproc.c
procps-3.2.1/proc/sig.c
procps-3.2.1/proc/slab.c
procps-3.2.1/proc/status.c
procps-3.2.1/proc/sysinfo.c
procps-3.2.1/proc/version.c
procps-3.2.1/proc/whattime.c
procps-3.2.1/proc/alloc.h
procps-3.2.1/proc/devname.h
procps-3.2.1/proc/escape.h
procps-3.2.1/proc/procps.h
procps-3.2.1/proc/pwcache.h
procps-3.2.1/proc/readproc.h
procps-3.2.1/proc/sig.h
procps-3.2.1/proc/slab.h
procps-3.2.1/proc/status.h
procps-3.2.1/proc/sysinfo.h
procps-3.2.1/proc/version.h
procps-3.2.1/proc/wchan.h
procps-3.2.1/proc/whattime.h
procps-3.2.1/proc/COPYING
procps-3.2.1/proc/module.mk
procps-3.2.1/proc/library.map
procps-3.2.1/ps/
procps-3.2.1/ps/display.c
procps-3.2.1/ps/global.c
procps-3.2.1/ps/help.c
procps-3.2.1/ps/output.c
procps-3.2.1/ps/parser.c
procps-3.2.1/ps/select.c
procps-3.2.1/ps/sortformat.c
procps-3.2.1/ps/COPYING
procps-3.2.1/ps/HACKING
procps-3.2.1/ps/TRANSLATION
procps-3.2.1/ps/common.h
procps-3.2.1/ps/module.mk
procps-3.2.1/ps/it
procps-3.2.1/ps/p
procps-3.2.1/ps/ps.1
procps-3.2.1/ps/regression

hdw rules!

Debug: (buildenvironment)
AS=as
AR=ar
hdw_opt=3
MANPATH=/usr/share/man:/usr/X11/man:/usr/local/man:/opt/apache2/man:/opt/dlx/man:/opt/samba/man:/opt/spim/man
HZ=100
TERM=nxterm
SHELL=/bin/bash
NM=nm
priority=15
hdw_make_package=1
hdw_version=0.3
hdw_abort=1
QTDIR=//usr
hdw_crossbuild=0
LC_ALL=POSIX
MOZILLA_FIVE_HOME=/usr/lib/mozilla-1.0.0
USER=root
LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=35:so=01;35:bd=35;01:cd=35;01:or=31;01:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.tbz2=01;31:*.deb=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.xcf=01;35:*.gl=01;35:*.dl=01;35:
KCC=kcc
PAGER=less
GASP=gasp
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/static/bin:/static/sbin
MAIL=/var/mail/root
LD=ld
BLOCKSIZE=K
hdw_target=all-dev
PWD=/src.procps/procps-3.2.1
STRIP=strip
hdw_debug_buildenv=1
EDITOR=vi
hdw_arch_opt=i686
LANG=de
hdw_use_dietlibc=0
CXX=c++
HOME=/root
PS4=+ 
SHLVL=4
hdw_arch=ia32
LANGUAGE=de
CFLAGS=-O3 -march=i686
LOGNAME=root
hdw_build_id=all-dev-ia32-i686-0.3
RANLIB=ranlib
INFOPATH=/usr/share/info:/usr/local/info
CC=gcc
hdw_build_dir=/mnt/lfs/hdw/hdw-build-i686
hdw_stage1_prefix=
hdw_real_build=
_=/usr/bin/printenv
OLDPWD=/usr/src/hdw-linux


hdw-linux: $confopt = --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libdir=/usr/lib --datadir=/usr/share --infodir=/usr/info --mandir=/usr/man --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --localstatedir=/var --sysconfdir=/etc
hdw-linux: $make_conf = 
hdw-linux: $install_conf = 
lets do it ...

run make 
gcc -D_GNU_SOURCE -I proc -MM -MG proc/alloc.c proc/devname.c proc/escape.c proc/ksym.c proc/prof.c proc/pwcache.c proc/readproc.c proc/sig.c proc/slab.c proc/status.c proc/sysinfo.c proc/version.c proc/whattime.c > proc/.depend
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o uptime.o uptime.c
gcc: -lncurses: linker input file unused because linking not done
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/alloc.c -o proc/alloc.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -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  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/escape.c -o proc/escape.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/ksym.c -o proc/ksym.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/prof.c -o proc/prof.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/pwcache.c -o proc/pwcache.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/readproc.c -o proc/readproc.o
proc/readproc.c: In function `status2proc':
proc/readproc.c:165: warning: array subscript has type `char'
proc/readproc.c:165: warning: array subscript has type `char'
proc/readproc.c:165: warning: array subscript has type `char'
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/sig.c -o proc/sig.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/slab.c -o proc/slab.o
proc/slab.c: In function `slab_badname_detect':
proc/slab.c:62: warning: implicit declaration of function `isalpha'
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/status.c -o proc/status.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/sysinfo.c -o proc/sysinfo.o
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic -DVERSION=\"3\" -DSUBVERSION=\"2\" -DMINORVERSION=\"1\" -c -o proc/version.o proc/version.c
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -DSHARED=1 -fpic proc/whattime.c -o proc/whattime.o
gcc -shared -Wl,-soname,libproc.so.3.2.1 -Wl,--version-script=proc/library.map -o proc/libproc.so.3.2.1 proc/alloc.o proc/devname.o proc/escape.o proc/ksym.o proc/prof.o proc/pwcache.o proc/readproc.o proc/sig.o proc/slab.o proc/status.o proc/sysinfo.o proc/version.o proc/whattime.o -lc
cd proc && ln -sf libproc.so.3.2.1 libproc.so
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 -g3  -Wpadded  uptime.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o uptime
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o tload.o tload.c
tload.c:33: warning: redundant redeclaration of `optind' in same scope
/usr/include/getopt.h:73: warning: previous declaration of `optind'
tload.c:34: warning: redundant redeclaration of `optarg' in same scope
/usr/include/getopt.h:59: warning: previous declaration of `optarg'
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  tload.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o tload
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o free.o free.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  free.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o free
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded   -c w.c
w.c: In function `getproc':
w.c:160: warning: comparison between signed and unsigned
w.c:160: 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 -g3  -Wpadded  w.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o w
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o top.o top.c
In file included from top.c:59:
top.h:318: warning: padding struct size to alignment boundary
top.c: In function `good_uid':
top.c:816: warning: comparison between signed and unsigned
top.c:817: warning: comparison between signed and unsigned
top.c:818: warning: comparison between signed and unsigned
top.c:821: warning: comparison between signed and unsigned
top.c: In function `prochlp':
top.c:1021: warning: passing arg 5 of `bsearch' from incompatible pointer type
top.c: In function `summary_show':
top.c:2874: warning: passing arg 5 of `select' discards qualifiers from pointer target type
top.c: In function `main':
top.c:3285: warning: passing arg 5 of `select' discards qualifiers from pointer target type
top.c:3298: warning: passing arg 5 of `select' discards qualifiers from pointer target type
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  top.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o top -I/usr/include/ncurses -lncurses
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o vmstat.o vmstat.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  vmstat.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o vmstat
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o watch.o watch.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  watch.o -Wl,-warn-common  -o watch -I/usr/include/ncurses -lncurses
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o skill.o skill.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  skill.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o skill
ln -f skill snice
ln -f skill kill
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o sysctl.o sysctl.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  sysctl.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o sysctl
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o pmap.o pmap.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  pmap.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o pmap
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o pgrep.o pgrep.c
pgrep.c: In function `select_procs':
pgrep.c:353: warning: `saved_start_time' might be used uninitialized in this function
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  pgrep.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o pgrep
ln -f pgrep pkill
gcc -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  -I/usr/include/ncurses -lncurses -c -o slabtop.o slabtop.c
gcc: -lncurses: linker input file unused because linking not done
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 -g3  -Wpadded  slabtop.o proc/libproc.so.3.2.1 -Wl,-warn-common  -o slabtop -I/usr/include/ncurses -lncurses
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/display.c -o ps/display.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/global.c -o ps/global.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/help.c -o ps/help.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/output.c -o ps/output.o
ps/output.c: In function `pr_rtprio':
ps/output.c:776: warning: comparison between signed and unsigned
ps/output.c: In function `pr_sched':
ps/output.c:780: warning: comparison between signed and unsigned
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/parser.c -o ps/parser.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/select.c -o ps/select.o
gcc -c -D_GNU_SOURCE -I proc  -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 -g3  -Wpadded  ps/sortformat.c -o ps/sortformat.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 -g3  -Wpadded  -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.so.3.2.1

run make  install
install -D --owner 0 --group 0 --mode a=rx --strip uptime /usr/bin/uptime
install -D --owner 0 --group 0 --mode a=rx --strip tload /usr/bin/tload
install -D --owner 0 --group 0 --mode a=rx --strip free /usr/bin/free
install -D --owner 0 --group 0 --mode a=rx --strip w /usr/bin/w
install -D --owner 0 --group 0 --mode a=rx --strip top /usr/bin/top
install -D --owner 0 --group 0 --mode a=rx --strip vmstat /usr/bin/vmstat
install -D --owner 0 --group 0 --mode a=rx --strip watch /usr/bin/watch
install -D --owner 0 --group 0 --mode a=rx --strip skill /usr/bin/skill
install -D --owner 0 --group 0 --mode a=rx --strip snice /usr/bin/snice
install -D --owner 0 --group 0 --mode a=rx --strip kill /bin/kill
install -D --owner 0 --group 0 --mode a=rx --strip sysctl /sbin/sysctl
install -D --owner 0 --group 0 --mode a=rx --strip pmap /usr/bin/pmap
install -D --owner 0 --group 0 --mode a=rx --strip pgrep /usr/bin/pgrep
install -D --owner 0 --group 0 --mode a=rx --strip pkill /usr/bin/pkill
install -D --owner 0 --group 0 --mode a=rx --strip slabtop /usr/bin/slabtop
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=rx --strip proc/libproc.so.3.2.1 /lib//libproc.so.3.2.1
cd /lib/ && ln -sf libproc.so.3.2.1 libproc.so
ldconfig
install -D --owner 0 --group 0 --mode a=rx --strip 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
