|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-11-30 22:51 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 20:00:01 2025 UTC |
Manually setting -lrt will fix it, but maybe this could be fixed in the source? This breaks Solaris 8, 9 and 10 builds. Any PHP version since at least 5.3.1 is affected. NAME nanosleep - high resolution sleep SYNOPSIS cc [ flag... ] file... -lrt [ library... ] #include <time.h> int nanosleep(const struct timespec *rqtp, struct timespec *rmtp);