Re: Does anyone here use the pecl extension APC?
| From: | Jochem Maas | Date: | Fri, 18 Nov 2005 12:10:34 +0000 |
| Subject: | Re: Does anyone here use the pecl extension APC? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226041@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
Filing a bug against APC with a gdb backtrace from one of these crashes would be useful. See http://pecl.php.net/bugs/report.php?package=APChi Rasmus, I would have but I don't know how - I have just come to realise that php actually has an idiots guide to doing that (thanks for pointing that out :-): http://bugs.php.net/bugs-generating-backtrace.php I'm doing this backtrace thing for the first time - its not all plain sailing .... having finally generated a core file (and found where apache had out it) I came to the realisation that gdb was not installed (any had the pleasure of working on RedHat Enterprise Server ?!?!) well I downloaded gdb6.3 sources and try to install - make exits with an error. so I can't install gdb to create the backtrace ... any ideas? the errors I get when trying to build are below (I have googled to try and find away past this problem with any success) - if you have any idea as to what I could do to get gdb built I would be very grateful: In file included from ./tui/tui-command.c:28: ./tui/tui-data.h:40: error: syntax error before "WINDOW" ./tui/tui-data.h:40: warning: no semicolon at end of struct or union ./tui/tui-data.h:52: error: syntax error before '}' token ./tui/tui-data.h:224: error: field `data_window' has incomplete type ./tui/tui-data.h:278: error: field `generic' has incomplete type In file included from ./tui/tui-command.c:29: ./tui/tui-win.h:42: error: syntax error before "tui_border_ulcorner" ./tui/tui-win.h:42: warning: type defaults to
int' in declaration of tui_border_ulcorner'
./tui/tui-win.h:42: warning: data definition has no type or storage class
./tui/tui-win.h:43: error: syntax error before "tui_border_urcorner"
./tui/tui-win.h:43: warning: type defaults to int' in declaration of tui_border_urcorner'
./tui/tui-win.h:43: warning: data definition has no type or storage class
./tui/tui-win.h:44: error: syntax error before "tui_border_lrcorner"
./tui/tui-win.h:44: warning: type defaults to int' in declaration of tui_border_lrcorner'
./tui/tui-win.h:44: warning: data definition has no type or storage class
./tui/tui-win.h:45: error: syntax error before "tui_border_llcorner"
./tui/tui-win.h:45: warning: type defaults to int' in declaration of tui_border_llcorner'
./tui/tui-win.h:45: warning: data definition has no type or storage class
./tui/tui-win.h:46: error: syntax error before "tui_border_vline"
./tui/tui-win.h:46: warning: type defaults to int' in declaration of tui_border_vline'
./tui/tui-win.h:46: warning: data definition has no type or storage class
./tui/tui-win.h:47: error: syntax error before "tui_border_hline"
./tui/tui-win.h:47: warning: type defaults to int' in declaration of tui_border_hline'
./tui/tui-win.h:47: warning: data definition has no type or storage class
./tui/tui-command.c: In function `tui_dispatch_ctrl_char':
./tui/tui-command.c:51: error: `WINDOW' undeclared (first use in this function)
./tui/tui-command.c:51: error: (Each undeclared identifier is reported only once
./tui/tui-command.c:51: error: for each function it appears in.)
./tui/tui-command.c:51: error: `w' undeclared (first use in this function)
./tui/tui-command.c:81: warning: implicit declaration of function `wgetch'
./tui/tui-command.c:82: error: `ERR' undeclared (first use in this function)
./tui/tui-command.c:89: error: `KEY_PPAGE' undeclared (first use in this function)
./tui/tui-command.c:91: error: `KEY_NPAGE' undeclared (first use in this function)
./tui/tui-command.c:108: error: `KEY_DOWN' undeclared (first use in this function)
./tui/tui-command.c:109: error: `KEY_SF' undeclared (first use in this function)
./tui/tui-command.c:112: error: `KEY_UP' undeclared (first use in this function)
./tui/tui-command.c:113: error: `KEY_SR' undeclared (first use in this function)
./tui/tui-command.c:116: error: `KEY_RIGHT' undeclared (first use in this function)
./tui/tui-command.c:119: error: `KEY_LEFT' undeclared (first use in this function)
gmake[1]: *** [tui-command.o] Error 1
gmake[1]: Leaving directory `/root/build/gdb-6.3/gdb'
gmake: *** [all-gdb] Error 2
----------------------------------------
If you got this far...
another question regarding apc: when I intall it via pecl it asks me
whether I want to use mmap or shmget - I choose mmap bu5t I was wondering what the difference
was and whether shmget is a viable choice (mmap seems to be the recommended choice).
rgds,
Jochem
-Rasmus