Ok, result after execinfo.h and -I/stuff, also -DDEBUG and turning DEBUGVM=1 on.

$ ./squeak /home/dusty/pharo-image/pharo.image
ioFindExternalFunctionIn(display_X11, 0xfffffffe):
Unable to resolve symbol
ioFindExternalFunctionIn(sound_OSS, 0xfffffffe):
Unable to resolve symbol
ioFindExternalFunctionIn(sound_MacOSX, 0xfffffffe):
Unable to resolve symbol
ioFindExternalFunctionIn(sound_Sun, 0xfffffffe):
Unable to resolve symbol
ioFindExternalFunctionIn(sound_pulse, 0xfffffffe):
Unable to resolve symbol
ioFindExternalFunctionIn(sound_ALSA, 0xfffffffe):
Unable to resolve symbol
ioFindExternalFunctionIn(sound_null, 0xfffffffe):
Unable to resolve symbol
uxAllocateMemory: pageSize 0x1000 (4096), mask 0xfffff000
uxAllocateMemory: /dev/zero descriptor -1
uxAllocateMemory: min heap 27418528, desired 46292960
uxAllocateMemory: mapping 0x40000000 bytes (1024 Mbytes)
uxAllocateMemory: mapping 0x30000000 bytes (768 Mbytes)
uxAllocateMemory: mapping 0x24000000 bytes (576 Mbytes)
uxAllocateMemory: mapping 0x1b000000 bytes (432 Mbytes)

relocating call to invalid address

Squeak VM version: 4.0-2552 #1 Mon Jun 4 20:13:12 SAST 2012 gcc 4.2.1
Built from: CoInterpreter VMMaker.oscog-eem.159 uuid: cbf7f95a-6fe2-4578-898e-47afb8524be4 Jun 4 2012 With: StackToRegisterMappingCogit VMMaker.oscog-eem.159 uuid: cbf7f95a-6fe2-4578-898e-47afb8524be4 Jun 4 2012
Revision: VM: r2552 http://www.squeakvm.org/svn/squeak/branches/Cog
Plugins: r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins
Build host: OpenBSD dent.local 5.1 GENERIC#160 i386
plugin path: /home/dusty/CogVM/CogVM/unixbuild/bld/ [default: /home/dusty/CogVM/CogVM/unixbuild/bld/]


Abort trap (core dumped)
$

Please keep in mind I'm not a programmer. So any help is much appreciated.
Thanks

On , Stuart Henderson <s...@spacehopper.org> wrote:
On 2012/06/02 15:07, Dusty wrote:

> In my feeble and ignorance, I'm attempting to build CogVM on OpenBSD.

> I've come across some problems that my limited skills cannot solve.



> -I/home/dusty/CogVM/openCogVm/platforms/Cross/vm

> -I/home/dusty/CogVM/openCogVm/src/vm -I/usr/X11R6/include -c -o

> sqUnixMain.o /home/dusty/CogVM/openCogVm/platforms/unix/vm/sqUnixMain.c

> /home/dusty/CogVM/openCogVm/platforms/unix/vm/sqUnixMain.c:62:22:

> error: execinfo.h: No such file or directory



Build with -I/usr/local/include (and install the libexecinfo port if you haven't already)



> /home/dusty/CogVM/openCogVm/platforms/unix/vm/sqUnixMain.c:820:3:

> error: #error need to implement extracting pc from a ucontext_t on

> this system



If this is the ucontext.h stuff, afaik nobody has implemented ucontext

for OpenBSD, certainly it's not in-tree.




Reply via email to