Errors making procps

segfault4096 at gmail.com segfault4096 at gmail.com
Fri Apr 18 11:29:07 PDT 2008


Hello all,

I've made it up to Section 6.21, which builds procps.  When I run make
I encounter the following:

root:/procps-3.2.7# make
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
/bin/sh: D_GNU_SOURCE: command not found
make: [proc/.depend] Error 127 (ignored)
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         -c -o uptime.o uptime.c
make: D_GNU_SOURCE: Command not found
make: [uptime.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/alloc.c -o
proc/alloc.o
make: c: Command not found
make: [proc/alloc.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/devname.c -o
proc/devname.o
make: c: Command not found
make: [proc/devname.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/escape.c -o
proc/escape.o
make: c: Command not found
make: [proc/escape.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/ksym.c -o
proc/ksym.o
make: c: Command not found
make: [proc/ksym.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/pwcache.c -o
proc/pwcache.o
make: c: Command not found
make: [proc/pwcache.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/readproc.c
-o proc/readproc.o
make: c: Command not found
make: [proc/readproc.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/sig.c -o
proc/sig.o
make: c: Command not found
make: [proc/sig.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/slab.c -o
proc/slab.o
make: c: Command not found
make: [proc/slab.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/sysinfo.c -o
proc/sysinfo.o
make: c: Command not found
make: [proc/sysinfo.o] Error 127 (ignored)
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         -DSHARED=1 -fpic -DVERSION=\"3\"
-DSUBVERSION=\"2\" -DMINORVERSION=\"7\" -c -o proc/version.o
proc/version.c
make: D_GNU_SOURCE: Command not found
make: [proc/version.o] Error 127 (ignored)
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         -DSHARED=1 -fpic proc/whattime.c
-o proc/whattime.o
make: c: Command not found
make: [proc/whattime.o] Error 127 (ignored)
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
    -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
make: fno-common: Command not found
make: [proc/libproc-3.2.7.so] Error 127 (ignored)
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
    uptime.o proc/libproc-3.2.7.so -Wl,-warn-common  -o uptime
make: fno-common: Command not found
make: [uptime] Error 127 (ignored)
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         -c -o tload.o tload.c
make: D_GNU_SOURCE: Command not found
make: [tload.o] Error 127 (ignored)
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
    tload.o proc/libproc-3.2.7.so -Wl,-warn-common  -o tload
make: fno-common: Command not found
make: [tload] Error 127 (ignored)
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         -c -o free.o free.c
make: D_GNU_SOURCE: Command not found
make: [free.o] Error 127 (ignored)
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
    free.o proc/libproc-3.2.7.so -Wl,-warn-common  -o free
make: fno-common: Command not found
make: [free] Error 127 (ignored)
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          -c w.c
make: D_GNU_SOURCE: Command not found
make: [w.o] Error 127 (ignored)
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
    w.o proc/libproc-3.2.7.so -Wl,-warn-common  -o w
make: fno-common: Command not found
make: [w] Error 127 (ignored)
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         -c -o top.o top.c
make: D_GNU_SOURCE: Command not found
make: [top.o] Error 127 (ignored)
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
    top.o proc/libproc-3.2.7.so -Wl,-warn-common  -o top -lncurses
make: fno-common: Command not found
make: [top] Error 127 (ignored)
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         -c -o vmstat.o vmstat.c
make: D_GNU_SOURCE: Command not found
make: [vmstat.o] Error 127 (ignored)
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
    vmstat.o proc/libproc-3.2.7.so -Wl,-warn-common  -o vmstat
make: fno-common: Command not found
make: [vmstat] Error 127 (ignored)
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         -c -o watch.o watch.c
make: D_GNU_SOURCE: Command not found
make: [watch.o] Error 127 (ignored)
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
    watch.o -Wl,-warn-common  -o watch -lncurses
make: fno-common: Command not found
make: [watch] Error 127 (ignored)
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         -c -o skill.o skill.c
make: D_GNU_SOURCE: Command not found
make: [skill.o] Error 127 (ignored)
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
    skill.o proc/libproc-3.2.7.so -Wl,-warn-common  -o skill
make: fno-common: Command not found
make: [skill] Error 127 (ignored)
ln -f skill snice
ln: accessing `skill': No such file or directory
make: *** [snice] Error 1

I was reading someone's account of a similar problem with procps, and
the recommendation was to reinstall ncurses.  I have tried this, and I
encounter the same errors.  I should note, this is an
x86_64-unknown-linux-gnu system.

Any ideas?

Thanks in advance.

Nick



More information about the lfs-support mailing list