9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] plan9port, NetBSD, sched_yield
@ 2004-06-14  2:24 Thomas Miller
  2004-06-14  3:19 ` William Josephson
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Miller @ 2004-06-14  2:24 UTC (permalink / raw)
  To: 9fans

Hi, 

On 

NetBSD aluminum.miller.net 2.0E NetBSD 2.0E (GENERIC) #0: 
Fri Apr 30 23:59:41 EDT 2004  
root@:/usr/obj/sys/arch/i386/compile/GENERIC i386

using a newly checked out from cvs plan9port, when I

cd /usr/local/plan9
./INSTALL

I get 

  [ many lines of .o's apparently successfully created ] 

followed by this error

+ 9l -o o.mk arc.o archive.o bufblock.o env.o file.o graph.o job.o lex.o main.o match.o mk.o parse.o recipe.o rule.o run.o sh.o shprint.o symtab.o var.o varsub.o word.o unix.o /usr/local/plan9/src/../lib/libregexp9.a /usr/local/plan9/src/../lib/libbio.a /usr/local/plan9/src/../lib/lib9.a
/usr/local/plan9/src/../lib/lib9.a(lock.o)(.text+0x6a): In function `lock':
/usr/local/plan9/src/lib9/lock.c:42: undefined reference to `sched_yield'
/usr/local/plan9/src/../lib/lib9.a(sleep.o)(.text+0xf): In function `p9sleep':
/usr/local/plan9/src/lib9/sleep.c:13: undefined reference to `sched_yield'
+ install -c o.mk /usr/local/plan9/src/../bin/mk
install: o.mk: stat: No such file or directory

Would someone please tell me how to fix this error? 

Thanks, 

Tom




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

* Re: [9fans] plan9port, NetBSD, sched_yield
  2004-06-14  3:19 ` William Josephson
@ 2004-06-14  3:14   ` Thomas Miller
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Miller @ 2004-06-14  3:14 UTC (permalink / raw)
  To: 9fans

William Josephson <jkw@eecs.harvard.edu> wrote:

>
> Do a NetBSD port :-)  

Significantly beyond my present skill level.

> I don't think anyone has bothered
> to do a NetBSD port since I stopped using NetBSD and that
> was several years ago when the Plan 9 port stuff was in
> a different (and much less complete) state.  Sched_yield
> is in libpthread under NetBSD, but I very much doubt that
> just linking against is sufficient; it may make the link
> error go away, however.  If I have time later in the week
> I can look into doing a port, 

Please don't spend a lot of time just for me. 
I'm merely having some fun, there's no real need. 
Nice of you to offer, though!  :-)

> but I don't have a NetBSD
> box here physically, so I can't test anything that uses
> X11.

I wish I had an extra one to lend to you.  :-)
But I only have one Intel machine, some older 
macs, and an IBM z50 (mips).  I use the Intel 
machine every day. 

If you don't mind my asking, what do you do 
at Harvard? 

Thanks again for your reply. 

Kindest regards, 

Tom



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

* Re: [9fans] plan9port, NetBSD, sched_yield
  2004-06-14  2:24 [9fans] plan9port, NetBSD, sched_yield Thomas Miller
@ 2004-06-14  3:19 ` William Josephson
  2004-06-14  3:14   ` Thomas Miller
  0 siblings, 1 reply; 3+ messages in thread
From: William Josephson @ 2004-06-14  3:19 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On Sun, Jun 13, 2004 at 10:24:35PM -0400, Thomas Miller wrote:
> NetBSD aluminum.miller.net 2.0E NetBSD 2.0E (GENERIC) #0: 
> 
> Would someone please tell me how to fix this error? 

Do a NetBSD port :-)  I don't think anyone has bothered
to do a NetBSD port since I stopped using NetBSD and that
was several years ago when the Plan 9 port stuff was in
a different (and much less complete) state.  Sched_yield
is in libpthread under NetBSD, but I very much doubt that
just linking against is sufficient; it may make the link
error go away, however.  If I have time later in the week
I can look into doing a port, but I don't have a NetBSD
box here physically, so I can't test anything that uses
X11.


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

end of thread, other threads:[~2004-06-14  3:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-14  2:24 [9fans] plan9port, NetBSD, sched_yield Thomas Miller
2004-06-14  3:19 ` William Josephson
2004-06-14  3:14   ` Thomas Miller

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).