MPS issue job001624

TitleMPS doesn't build on FreeBSD 5.5
Statusclosed
Priorityessential
Assigned userDavid Jones
OrganizationRavenbrook
DescriptionMPS 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
Analysis2007-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 foundmanual_test
Evidencenone
Observed in1.107.0
Created byDavid Jones
Created on2007-02-21 11:26:26
Last modified byGareth Rees
Last modified on2014-04-12 22:08:18
History2007-02-21 DRJ Created.
2007-02-21 DRJ Closed.

Fixes

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.