| Title | MPS doesn't build on FreeBSD 5.5 |
| Status | closed |
| Priority | essential |
| Assigned user | David Jones |
| 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 |
| Created by | David Jones |
| Created on | 2007-02-21 11:26:26 |
| Last modified by | Gareth Rees |
| Last modified on | 2014-04-12 22:08:18 |
| 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. |