9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Building Tools on Plan 9 qemu
@ 2006-08-11 20:17 Eric Van Hensbergen
  2006-08-11 20:25 ` geoff
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Van Hensbergen @ 2006-08-11 20:17 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Just did a qemu based install of a Plan 9 cdrom, but when I went to
try and build qc (or 8c or ?c) I'm getting a bunch of undefined
symbols:

term% cd ../8c
term% mk
8l  -o 8.out bound.8 cgen.8 cgen64.8 div.8 enam.8 list.8 machcap.8
mul.8 peep.8 pgen.8 pswt.8 reg.8 sgen.8 swt.8 txt.8 ../cc/cc.a8
cgen: undefined: nullwarn in cgen
zaddr: undefined: ieeedtod in zaddr
tcomo: undefined: outlstring in tcomo
yyparse: undefined: codgen in yyparse
mk: 8l  -o ...  : exit status=rc 2567: 8l 2569: error

No amount of mk clean, and mk install (at higher levels) seems to
help.  Tried pulling an update from sources to make sure it wasn't a
transient problem and didn't seem to get anything signifigant.
Pointers? Clues?

     -eric


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

* Re: [9fans] Building Tools on Plan 9 qemu
  2006-08-11 20:17 [9fans] Building Tools on Plan 9 qemu Eric Van Hensbergen
@ 2006-08-11 20:25 ` geoff
  2006-08-11 21:03   ` Eric Van Hensbergen
  0 siblings, 1 reply; 3+ messages in thread
From: geoff @ 2006-08-11 20:25 UTC (permalink / raw)
  To: 9fans

codgen is defined in ../cc/pgen.c, so doing

	mk ../cc/cc.a$O

first should help.  You could be more aggressive:

	cd ../cc
	mk nuke
	mk

To build all the compilers, it looks like

	cd ../cc
	mk everything

will do the job.



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

* Re: [9fans] Building Tools on Plan 9 qemu
  2006-08-11 20:25 ` geoff
@ 2006-08-11 21:03   ` Eric Van Hensbergen
  0 siblings, 0 replies; 3+ messages in thread
From: Eric Van Hensbergen @ 2006-08-11 21:03 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 8/11/06, geoff@plan9.bell-labs.com <geoff@plan9.bell-labs.com> wrote:
> codgen is defined in ../cc/pgen.c, so doing
>
>         mk ../cc/cc.a$O
>
> first should help.  You could be more aggressive:
>
>         cd ../cc
>         mk nuke
>         mk
>
> To build all the compilers, it looks like
>
>         cd ../cc
>         mk everything
>
> will do the job.
>

Should have noticed it before, but apparently pgen.c was a 0 length file for me.
Looks like my install got screwed up somehow.  Rectified things from
sources and it seems to be cranking along. Thanks for your help Geoff.

     -eric


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

end of thread, other threads:[~2006-08-11 21:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-11 20:17 [9fans] Building Tools on Plan 9 qemu Eric Van Hensbergen
2006-08-11 20:25 ` geoff
2006-08-11 21:03   ` Eric Van Hensbergen

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