ID:               50345
 Updated by:       j...@php.net
 Reported By:      sle at ocf dot berkeley dot edu
 Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 10
 PHP Version:      5.3.1
 New Comment:

Also, is -lrt in your Makefile LIBS ?


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

[2009-11-30 23:03:46] j...@php.net

Try this:

# make clean && make 

If it didn't work, what do you have in your main/php_config.h for
HAVE_NANOSLEEP ?

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

[2009-11-30 22:51:42] sle at ocf dot berkeley dot edu

Description:
------------
Compiling PHP 5.3.1 on Solaris 10 with gcc version 3.4.3
(/usr/sfw/bin/gcc) produces the following error at the end of the
compile:

Undefined                       first referenced
 symbol                             in file
nanosleep                          
ext/standard/.libs/basic_functions.o
ld: fatal: Symbol referencing errors. No output written to
sapi/cgi/php-cgi

I was able to successfully compile PHP 5.3.0 with the same
configure/build options. I think this may be related to bug #49809.
However, I've tried reversing the patch made to fix that bug and that
does not fix the problem.



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


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

Reply via email to