#50345 [Opn->Fbk]: undefined symbol nanosleep

From: Date: Mon, 30 Nov 2009 23:03:47 +0000
Subject: #50345 [Opn->Fbk]: undefined symbol nanosleep
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-145249@lists.php.net to get a copy of this message
 ID:               50345
 Updated by:       jani@php.net
 Reported By:      sle at ocf dot berkeley dot edu
-Status:           Open
+Status:           Feedback
 Bug Type:         Compile Failure
 Operating System: Solaris 10
 PHP Version:      5.3.1
 New Comment:

Try this:

# make clean && make 

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


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

[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



Thread (21 messages)

« previous php.bugs (#145249) next »