Chris A. Mattingly <[EMAIL PROTECTED]> writes:
> Problem 1:
>
> When running php's configure, awk core dumps several times. I've yet to
> determine exactly where the core dumps are occurring, though. Four of
> them occur during the configure; but the configure seems to complete OK.
Enable debugging symbols in awk and get a traceback.
> Problem 2:
>
> Compiling main/main.c I get the following errors:
> main.c: In function `php_disable_functions':
> main.c:157: warning: initialization makes pointer from integer without a
> cast
> main.c:161: warning: assignment makes pointer from integer without a cast
> main.c:164: warning: assignment makes pointer from integer without a cast
>
> The relevant lines from main.c are:
>
> 154: static void php_disable_functions(TSRMLS_D)
> 155: {
> 156: char *func;
> 157: char *new_value_dup = strdup(INI_STR("disable_functions"));
> xxx: snip comments
> 161: func = strtok(new_value_dup, ", ");
> 162: while (func) {
> 163: zend_disable_function(func, strlen(func) TSRMLS_CC);
> 164: func = strtok(NULL, ", ");
> 165: }
> 166: }
These warnings are indicative of a missing header include. Is
<string.h> being included?
It's doubtful this is really your problem. Is there any other output
from the compiler?
> No other OS's seem to complain about this, so why is freebsd?
Perhaps compiler diagnostics aren't enabled on those systems.
Best regards,
Mike Barcroft
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message