[Vm-dev] Cog FreeBSD patches

David Graham dgraham at unthinkable.org
Wed Mar 23 19:38:34 UTC 2011


Hi Frank,

There is some 32bit x86 dependent code in that section.  Are you trying to compile the vm on a 64bit host with the 32bit compatibility libs?


On Mar 23, 2011, at 2:08 PM, Frank Shearar wrote:

> Hi David,
> 
> Those are great instructions.
> 
> On my machine I can't make install because of the following error though:
> 
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:787:3: error: #error need to implement extracting pc from a ucontext_t on this system
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c: In function 'reportStackState':
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error: 'fp' undeclared (first use in this function)
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error: (Each undeclared identifier is reported only once
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error: for each function it appears in.)
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:791: error: 'sp' undeclared (first use in this function)
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c: In function 'main':
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:1718: warning: assignment from incompatible pointer type
> /usr/home/frank/temp/cogvm-64/platforms/unix/vm/sqUnixMain.c:1723: warning: assignment from incompatible pointer type
> *** Error code 1
> 
> Stop in /usr/home/frank/temp/cogvm-64/unixbuild/bld/vm.
> *** Error code 1
> 
> Stop in /usr/home/frank/temp/cogvm-64/unixbuild/bld.
> 
> frank



More information about the Vm-dev mailing list