View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000549 | LDMud | Compilation, Installation | public | 2008-07-08 11:44 | 2008-07-08 14:17 |
Reporter | zortek | Assigned To | zesstra | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Summary | 0000549: mregex.c compilation failure since updating to | ||||
Description | mregex.c: In function ârx_execâ: mregex.c:704: error: stray â@â in program mregex.c:704: error: stray â@â in program mregex.c:704: error: âval_pcre_recursion_limitâ undeclared (first use in this function) mregex.c:704: error: (Each undeclared identifier is reported only once mregex.c:704: error: for each function it appears in.) mregex.c: In function rx_exec_str: mregex.c:777: error: stray @ in program mregex.c:777: error: stray @ in program mregex.c:777: error: val_pcre_recursion_limit undeclared (first use in this function) make: *** [mregex.o] Error 1 | ||||
Additional Information | mregex.c 698 #ifdef LD_PCRE_RECURSION_LIMIT 699 #ifdef PCRE_EXTRA_MATCH_LIMIT_RECURSION 700 pHints->flags |= PCRE_EXTRA_MATCH_LIMIT_RECURSION; 701 pHints->match_limit_recursion = LD_PCRE_RECURSION_LIMIT; 702 #else 703 pHints->flags |= PCRE_EXTRA_MATCH_LIMIT; 704 pHints->match_limit = LD_PCRE_RECURSION_LIMIT; 705 #endif /* PCRE_EXTRA_MATCH_LIMIT_RECURSION */ 706 #else /* LD_PCRE_RECURSION_LIMIT */ 707 #ifdef PCRE_EXTRA_MATCH_LIMIT_RECURSION 708 pHints->flags &= ~PCRE_EXTRA_MATCH_LIMIT_RECURSION 709 #else 710 pHints->flags &= ~PCRE_EXTRA_MATCH_LIMIT; 711 #endif /* PCRE_EXTRA_MATCH_LIMIT_RECURSION */ 712 #endif /* LD_PCRE_RECURSION_LIMIT */ config.h 437 /* Limit the amount of recursion in the PCRE code. Setting it to low will 438 * prevent certain regexps to be executed properly, setting it too high can 439 * cause that regexps to crash the driver. Set it according to the 440 * available maximum stack size for the driver process. (Rule of thumb: 441 * The memory used for a recursion on the stack seems to be within 466 and 442 * 1008 bytes. If you have 8M of stack size, reserve half of it for LPC 443 * recursions and choose about 3000 - 4000.) In doubt, increase the stack 444 * size limit for the driver process with ulimit & Co.) 445 * Defaults to 3000 446 */ 447 #define LD_PCRE_RECURSION_LIMIT @val_pcre_recursion_limit@ | ||||
Tags | No tags attached. | ||||
External Data (URL) | |||||
|
config.h isn't having the default 3000 plugged in from config.h.in, I'm checking to see if it was my fat-finger mistake on configure. |
|
This is caused by an outdated 'configure'. This file is auto-generated from autoconf/configure.in. We decided to update the configure in the svn repository only for releases, because we don't want to clutter the code changes with a bunch of automatically generated autoconf stuff. Please run 'autoconf autoconf/configure.in > configure' in your src/ directory. That will give you an up-to-date configure. Then re-run configure with your desired settings and re-compile. Does that solve your problem? |
|
Resolved. Thanks. |
|
Great. :-) |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-07-08 11:44 | zortek | New Issue | |
2008-07-08 11:52 | zortek | Note Added: 0000676 | |
2008-07-08 13:44 | zesstra | Note Added: 0000677 | |
2008-07-08 13:44 | zesstra | Assigned To | => zesstra |
2008-07-08 13:44 | zesstra | Status | new => feedback |
2008-07-08 14:13 | zortek | Note Added: 0000679 | |
2008-07-08 14:17 | zesstra | Status | feedback => resolved |
2008-07-08 14:17 | zesstra | Resolution | open => no change required |
2008-07-08 14:17 | zesstra | Note Added: 0000680 |