From 1a7cfa690e366232f37f136c3db797d2ca50c2b6 Mon Sep 17 00:00:00 2001 From: Gabor Pali Date: Sat, 5 Jul 2008 02:24:32 +0000 Subject: [PATCH] Update Question 14.10: - Rephrase the make(1) command for ppp(8) - Redirect all the variable hacks to /etc/make.conf - Use pgrep(1) instead of ps(1) and fgrep(1) combo (suggested by trhodes) Reviewed by: trhodes Approved by: gabor --- en_US.ISO8859-1/books/faq/book.sgml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/en_US.ISO8859-1/books/faq/book.sgml b/en_US.ISO8859-1/books/faq/book.sgml index 0f02220a66..87752a916f 100644 --- a/en_US.ISO8859-1/books/faq/book.sgml +++ b/en_US.ISO8859-1/books/faq/book.sgml @@ -8568,12 +8568,12 @@ deny pred1 deflate deflate24 protocomp acfcomp shortseq vj Your best bet here is to rebuild &man.ppp.8; by adding CFLAGS+=-g and - STRIP= to the end of the Makefile, then - doing a make clean && make && - make install. When &man.ppp.8; hangs, find the - &man.ppp.8; process id with ps ajxww | fgrep + STRIP= to the end of the /etc/make.conf, then + doing a make install + clean in /usr/src/usr.sbin/ppp. When &man.ppp.8; hangs, find the + &man.ppp.8; process ID with pgrep ppp and run gdb ppp - PID. From the gdb + PID (as gdb ppp `pgrep ppp`). From the gdb prompt, you can then use bt to get a stack trace.