From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net Date: Fri, 26 Feb 2010 09:43:18 +0000 From: prem Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Subject: [9fans] Has Anyone compiled 9vx on snow leopard ? Topicbox-Message-UUID: dc660e26-ead5-11e9-9d60-3106f5b1d025 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