ID:               30025
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phdokc at yahoo dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Compile Failure
 Operating System: HPUX 11.11
 PHP Version:      4.3.8
 New Comment:

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


Previous Comments:
------------------------------------------------------------------------

[2004-09-30 19:07:50] [EMAIL PROTECTED]

Try this configure line:

# rm config.cache ; ./configure --disable-all && make

Also, was the output of the grep command done AFTER running configure?


------------------------------------------------------------------------

[2004-09-24 02:24:19] phdokc at yahoo dot com

# grep _TIME_R main/php_config.h
/* #undef PHP_HPUX_TIME_R */
/* #undef PHP_IRIX_TIME_R */

------------------------------------------------------------------------

[2004-09-16 16:44:17] [EMAIL PROTECTED]

Search for lines with _TIME_R in them in main/php_config.h and paste
them here. ( # grep _TIME_R main/php_config.h )


------------------------------------------------------------------------

[2004-09-16 14:20:12] phdokc at yahoo dot com

There are several reference to "ctime_r" in the config.log.  I have
included 2 lines before and 15 after for each.

1st occurance
configure:14403: checking for chroot
configure:14431: gcc -o conftest -g -O2 -pthread  -D_REENTRANT 
conftest.c -lm -lnsl  1>&5
configure:14403: checking for ctime_r
configure:14431: gcc -o conftest -g -O2 -pthread  -D_REENTRANT 
conftest.c -lm -lnsl  1>&5
configure:14403: checking for cuserid
configure:14431: gcc -o conftest -g -O2 -pthread  -D_REENTRANT 
conftest.c -lm -lnsl  1>&5
configure:14403: checking for crypt
configure:14431: gcc -o conftest -g -O2 -pthread  -D_REENTRANT 
conftest.c -lm -lnsl  1>&5
configure:14403: checking for flock
configure:14431: gcc -o conftest -g -O2 -pthread  -D_REENTRANT 
conftest.c -lm -lnsl  1>&5
/usr/ccs/bin/ld: Unsatisfied symbols:
   flock (code)
collect2: ld returned 1 exit status
configure: failed program was:
#line 14408 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char flock(); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char flock();


2nd occurance
configure: In function `main':
configure:15060: warning: assignment makes integer from pointer without
a cast
configure:15061: error: too many arguments to function `asctime_r'
configure: failed program was:
#line 15050 "configure"
#include "confdefs.h"

#include <time.h>

main() {
char buf[27];
struct tm t;
time_t old = 0;
int r, s;

s = gmtime_r(&old, &t);
r = (int) asctime_r(&t, buf, 26);
if (r == s && s == 0) return (0);
return (1);
}

3rd occurance
configure:15098: gcc -o conftest -g -O2 -pthread  -D_REENTRANT 
conftest.c -lm -lnsl  1>&5
configure: In function `main':
configure:15091: error: too many arguments to function `asctime_r'
configure: failed program was:
#line 15082 "configure"
#include "confdefs.h"

#include <time.h>
main() {
  struct tm t, *s;
  time_t old = 0;

------------------------------------------------------------------------

[2004-09-15 16:12:41] [EMAIL PROTECTED]

Check the config.log for any occurrances of string ctime_r and
cut'n'paste 2 lines before and 15 lines after that line here.


------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/30025

-- 
Edit this bug report at http://bugs.php.net/?id=30025&edit=1

Reply via email to