View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004663 | unreal | ircd | public | 2016-04-23 02:47 | 2016-04-24 10:53 |
Reporter | unrealircd1671 | Assigned To | syzop | ||
Priority | normal | Severity | tweak | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | BSD/Unix amd64 | OS | OpenBSD | OS Version | 5.9 |
Product Version | 4.0.3 | ||||
Fixed in Version | 4.0.3.1 | ||||
Summary | 0004663: Compile problem on OpenBSD (missing include in crashreport.c) | ||||
Description | 4.0.3 fails to compile on OpenBSD 5.9 (RELEASE) make exits at /opt/unrealircd-4.0.3/src/crashreport.c:240: undefined reference to `WEXITSTATUS' collect2: ld returned 1 exit status *** Error 1 in src (Makefile:67 'ircd') *** Error 1 in /opt/unrealircd-4.0.3 (Makefile:147 'build') | ||||
Steps To Reproduce | Install a stock OpenBSD 4.9/amd64 (RELEASE -- not a snapshot etc) Untar the unrealircd tar.gz. ./Config make | ||||
Additional Information | Patching /opt/unrealircd-4.0.3/src/crashreport.c with the line #include <sys/wait.h> allows the make to end with only the usual warnings... --- unrealircd-4.0.3/src/crashreport.c Sat Apr 16 06:23:45 2016 +++ unrealircd-4.0.3-patched/src/crashreport.c Fri Apr 22 20:20:04 2016 @@ -11,6 +11,7 @@ #endif #include "version.h" +#include <sys/wait.h> extern char *getosname(void); | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
Thanks for the report. I've added a configure check for sys/wait.h and it will now be included if present. This is now in latest git and should fix the OpenBSD problem. If you encounter any further issues, please let us know. Thanks! https://github.com/unrealircd/unrealircd/commit/a886c1ebc61c02005461700bfa79b643b539ae5d |
|
4.0.3.1 release for OpenBSD/FreeBSD users: https://forums.unrealircd.org/viewtopic.php?f=1&t=8526 |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-04-23 02:47 | unrealircd1671 | New Issue | |
2016-04-23 09:47 | syzop | Assigned To | => syzop |
2016-04-23 09:47 | syzop | Status | new => acknowledged |
2016-04-23 09:58 | syzop | Note Added: 0019214 | |
2016-04-23 09:58 | syzop | Status | acknowledged => resolved |
2016-04-23 09:58 | syzop | Fixed in Version | => 4.0.3.1 |
2016-04-23 09:58 | syzop | Resolution | open => fixed |
2016-04-24 10:52 | syzop | Summary | missing include in crashreport.c => Compile problem on OpenBSD (missing include in crashreport.c) |
2016-04-24 10:52 | syzop | Relationship added | related to 0004666 |
2016-04-24 10:53 | syzop | Note Added: 0019218 |