| Title: | MPS doesn't build on FreeBSD 5.5 |
| Status: | closed |
| Priority: | critical |
| Assigned user: | David Jones |
| Product: | mps |
| Organization: | Ravenbrook |
| Description: | MPS doesn't build on FreeBSD 5.5 See also job001105 (doesn't build on some unreported version). Errors: fri4gc: fri4gc/hi/version.o fri4gc: fri4gc/hi/thfri4.o In file included from thfri4.c:39: prmcfr.h:17: error: syntax error before "ucontext_t" thfri4.c: In function `ThreadScan': thfri4.c:257: error: structure has no member named `ucontext' thfri4.c:276: error: structure has no member named `ucontext' thfri4.c:277: error: structure has no member named `ucontext' thfri4.c:277: error: structure has no member named `ucontext' gmake[2]: *** [fri4gc/hi/thfri4.o] Error 1 gmake[1]: *** [target] Error 2 gmake: *** [mpmss] Error 2 FreeBSD fb5 5.5-RELEASE FreeBSD 5.5-RELEASE #0: Tue May 23 14:58:27 UTC 2006 root@perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 And there's more: fri4gc: fri4gc/hi/protfri3.o protfri3.c: In function `sigHandle': protfri3.c:95: warning: implicit declaration of function `abort' protfri3.c:95: warning: nested extern declaration of `abort' gmake[2]: *** [fri4gc/hi/protfri3.o] Error 1 gmake[1]: *** [target] Error 2 gmake: *** [mpmss] Error 2 |
| Analysis: | 2007-02-21 DRJ: prmcfr.h should be using <ucontext.h> not <signal.h>, see sigcontext(3) manual page. This may make it fail on earlier FreeBSD versions. protfri3.c should use <stdlib.h>. Made edits. Now it compiles. amcss runs. |
| How found: | manual_test |
| Evidence: | none |
| Observed in: | 1.107.0 |
| Introduced in: | 0.0.0 |
| Test procedure: | none |
| Created by: | David Jones |
| Created on: | 2007-02-21 11:26:26 |
| Last modified by: | David Jones |
| Last modified on: | 2007-02-21 11:47:49 |
| History: | 2007-02-21 DRJ Created. 2007-02-21 DRJ Closed. |
| Change | Effect | Date | User | Description |
|---|---|---|---|---|
| 161793 | closed | 2007-02-21 11:47:49 | David Jones | MPS: fixing build for FreeBSD 5.5. By fixing include files. |
Generated at 2008-07-20 23:11:06 by $Id: //info.ravenbrook.com/infosys/cgi/issue.cgi#430 $
Copyright © Ravenbrook Limited. This document is provided "as is", without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this document. You may not duplicate or reproduce this document in any form without the express permission of the copyright holder.