9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Has Anyone compiled 9vx on snow leopard ?
@ 2010-02-26  9:43 prem
  2010-02-26 15:16 ` Oleg Finkelshteyn
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: prem @ 2010-02-26  9:43 UTC (permalink / raw)
  To: 9fans

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



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2010-03-04 18:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-26  9:43 [9fans] Has Anyone compiled 9vx on snow leopard ? prem
2010-02-26 15:16 ` Oleg Finkelshteyn
2010-03-02 17:02   ` [9fans] compiler warnings for libavl/avl.c EBo
2010-03-02 17:12     ` erik quanstrom
2010-03-02 17:40   ` EBo
2010-03-02 17:50     ` Edward E Elzey
2010-03-02 17:52     ` erik quanstrom
2010-03-02 18:41       ` EBo
2010-03-04 18:10         ` Russ Cox
2010-03-01  9:49 ` [9fans] Has Anyone compiled 9vx on snow leopard ? prem
2010-03-01  9:49 ` prem
2010-03-01 10:30   ` John Stalker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).