php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59000 Compilation fail
Submitted: 2009-12-21 05:00 UTC Modified: 2017-10-24 08:24 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:0 (0.0%)
From: admin at phpcode dot us Assigned:
Status: Suspended Package: xhprof (PECL)
PHP Version: 5.3.0 OS: OpenBSD current
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2009-12-21 05:00 UTC] admin at phpcode dot us
Description:
------------
Compilation on OpenBSD current fail...

/xhprof.c:216: error: syntax error before "cpu_set_t"
/xhprof.c: In function `zm_startup_xhprof':
/xhprof.c:422: error: `_SC_NPROCESSORS_CONF' undeclared (first use in this function)
/xhprof.c:422: error: (Each undeclared identifier is reported only once
/xhprof.c:422: error: for each function it appears in.)
/xhprof.c:426: error: `cpu_set_t' undeclared (first use in this function)
/xhprof.c:426: error: structure has no member named `prev_mask'
/xhprof.c: In function `hp_init_profiler_state':
/xhprof.c:642: error: structure has no member named `prev_mask'
/xhprof.c: In function `bind_to_cpu':
/xhprof.c:1208: error: syntax error before "new_mask"
/xhprof.c:1210: error: `new_mask' undeclared (first use in this function)
/xhprof.c:1213: error: `cpu_set_t' undeclared (first use in this function)
/xhprof.c: At top level:
/xhprof.c:1339: error: syntax error before '*' token
/xhprof.c: In function `restore_cpu_affinity':
/xhprof.c:1340: error: `cpu_set_t' undeclared (first use in this function)
/xhprof.c:1340: error: `prev_mask' undeclared (first use in this function)
/xhprof.c: In function `clear_frequencies':
/xhprof.c:1359: error: structure has no member named `prev_mask'
/xhprof.c: In function `hp_stop':
/xhprof.c:1808: error: structure has no member named `prev_mask


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-06-12 18:01 UTC] sixd@php.net
-Assigned To: +Assigned To: scottmac
 [2017-10-24 06:12 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: scottmac +Assigned To:
 [2017-10-24 08:24 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 08:24 UTC] kalle@php.net
This package has not had a release for over 4 years, and the last bit of git activity was over 2 years ago, so I think its safe to say this extension is no longer in active development. If development picks back up, then please re-open this report
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 02:01:26 2019 UTC