Hi,
I am trying to get 9vx compiled on SnowLeopard 10.6.2

first of all it complains,
/usr/include/ucontext.h:42:2: error: #error ucontext routines are
deprecated, and require _XOPEN_SOURCE to be defined

I resolved this using other defines in the source, added -
D_XOPEN_SOURCE=500

then I get this error
libvx32/darwin.c:20:2: error: #error "vx32 on Darwin x86-64 is
unimplemented."

Then I added -m32 to all the CFLAGS (for 9vx and libvx32) then I ended
up in following errors

Undefined symbols:
  "_vxrun_cleanup", referenced from:
      _xscan in libvx32.a(emu.o)
      _xemit in libvx32.a(emu.o)
      _vxproc_run in libvx32.a(emu.o)
      _vxrun_cleanup$non_lazy_ptr in libvx32.a(sig.o)
      _vx32_sighandler in libvx32.a(darwin.o)
  "_vxrun", referenced from:
....
 A lot like this

I am using 9vx hg head from code.swtch.com

Cheers,
/Prem

Reply via email to