9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Compile Problem...
@ 2004-01-23 16:43 Jim Choate
  2004-01-23 16:50 ` mirtchov
  0 siblings, 1 reply; 7+ messages in thread
From: Jim Choate @ 2004-01-23 16:43 UTC (permalink / raw)
  To: hangar18-general; +Cc: 9fans


Hi,

I was working on a project and rebuilt my machine from a image I burned
back in July of 2003 that I've been using as a base. Install went ok, config
went ok, compile went ok. Pretty much everything worked as expected.

I took the box down and did a reinstall from that initial image. This was
followed by the cp'ing the previously working config files over from a:,
reboot, and then a pull. Everything seemed to work until I got to a compile
of the pcauth kernel. It now throws the following:

../boot/libboot.a8 doesn't exist: assuming it will be an archive
8a $AFLAGS plan9l.s
8a: cannot create plan9l.8

If somebody has seen this before I'd appreciate a private ping with regard
to the solution you used.

Thanks.

 -- --

Open Forge, LLC  24/365 Onsite Support for PCs, Networks, & Game Consoles
512-695-4126 (Austin, Tx.)  help@open-forge.com  irc.open-forge.com

Hangar 18  Open Source Distributed Computing Using Plan 9 & Linux
512-451-7087  http://open-forge.org/hangar18  irc.open-forge.org

James Choate  512-451-7087  ravage@ssz.com  jchoate@open-forge.com



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

* Re: [9fans] Compile Problem...
  2004-01-23 16:43 [9fans] Compile Problem Jim Choate
@ 2004-01-23 16:50 ` mirtchov
  2004-01-23 18:12   ` Jim Choate
  0 siblings, 1 reply; 7+ messages in thread
From: mirtchov @ 2004-01-23 16:50 UTC (permalink / raw)
  To: 9fans

> ../boot/libboot.a8 doesn't exist: assuming it will be an archive
> 8a $AFLAGS plan9l.s
> 8a: cannot create plan9l.8

plan9-2% cd /sys/src/9/pc
plan9-2% mk 'CONF=pcdisk'
rc ../port/mkdevc pcdisk > pcdisk.c
pcdisk.c: rc: can't open: permission denied
8a $AFLAGS l.s
8a: cannot create l.8
mk: 8a $AFLAGS l.s  : exit status=rc 294461: 8a 294463: error
plan9-2% bind -bc /tmp .
plan9-2% mk 'CONF=pcdisk'
rc ../port/mkdevc pcdisk > pcdisk.c
8a $AFLAGS l.s
8a $AFLAGS plan9l.s
8c -FVw cga.c
8c -FVw i8253.c
8c -FVw i8259.c
8c -FVw kbd.c
mk: 8c -FVw kbd.c  : exit status=rc 294512: 8c 294514: interrupt
mk: interrupt
plan9-2%





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

* Re: [9fans] Compile Problem...
  2004-01-23 16:50 ` mirtchov
@ 2004-01-23 18:12   ` Jim Choate
  2004-01-23 18:34     ` mirtchov
  0 siblings, 1 reply; 7+ messages in thread
From: Jim Choate @ 2004-01-23 18:12 UTC (permalink / raw)
  To: 9fans; +Cc: hangar18-general


On Fri, 23 Jan 2004 mirtchov@cpsc.ucalgary.ca wrote:

> > ../boot/libboot.a8 doesn't exist: assuming it will be an archive
> > 8a $AFLAGS plan9l.s
> > 8a: cannot create plan9l.8
>
> plan9-2% cd /sys/src/9/pc
> plan9-2% mk 'CONF=pcdisk'
> rc ../port/mkdevc pcdisk > pcdisk.c
> pcdisk.c: rc: can't open: permission denied
> 8a $AFLAGS l.s
> 8a: cannot create l.8
> mk: 8a $AFLAGS l.s  : exit status=rc 294461: 8a 294463: error
> plan9-2% bind -bc /tmp .
> plan9-2% mk 'CONF=pcdisk'
> rc ../port/mkdevc pcdisk > pcdisk.c
> 8a $AFLAGS l.s
> 8a $AFLAGS plan9l.s
> 8c -FVw cga.c
> 8c -FVw i8253.c
> 8c -FVw i8259.c
> 8c -FVw kbd.c
> mk: 8c -FVw kbd.c  : exit status=rc 294512: 8c 294514: interrupt
> mk: interrupt
> plan9-2%

Thanks.

It certainly gets farther along but still no go. The latest log is below.

The compile I speak of is the pcauth that is breaking, sorry for not making
that clear. I do a pull, verify that pcauth is the one I was using before with
no errors and then do the compile, mk 'CONF=pcauth'. It is at this point that
it blows up. Three months ago this same setup went perfect with no errors or
objections on this exact hardware and media (as well as at least two other
boxes that I don't have access to now). The only things that have changed is
a reconfig of the machine for DHCP instead of dedicated IP (which will be
undone once the compile is over) and the data I'm getting from the pull.

Here's my sequence,

cd /sys/src/9/pc
pwd
mk clean
mk 'CONF=pcauth' >> $home/compile#.log  {Where # is the compile attempt #)

The resultant log is:

rc ../port/mkdevc pcauth > pcauth.c
8a $AFLAGS l.s
8a $AFLAGS plan9l.s
8c -FVw cga.c
8c -FVw i8253.c
8c -FVw i8259.c
8c -FVw kbd.c
8c ../port/initcode.c
8c init9.c
8l -l -R1 -o init.out init9.8 initcode.8 /386/lib/libc.a
{echo 'uchar initcode[]={'
 strip < init.out | xd -1x |
	sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
 echo '};'} > init.h
8c -FVw memory.c
8c -FVw mmu.c
8c -FVw random.c
8c -FVw -I. ../port/rdb.c
8c -FVw trap.c
8c -FVw -I. ../port/print.c
8c -FVw ether82557.c
8c -FVw uarti8250.c
8c -FVw etherwavelan.c
8c -FVw ether2000.c
8c -FVw -I. ../port/devtls.c
8c -FVw etherec2t.c
8c -FVw vgax.c
8c -FVw etherelnk3.c
8c -FVw vgamga4xx.c
8c -FVw ether79c970.c
8c -FVw vgabt485.c
8c -FVw -I. ../port/devmouse.c
8c -FVw dma.c
8c -FVw -I. ../port/devpnp.c
8c -FVw -I. ../port/edf.c
8c -FVw -I. ../ip/arp.c
8c -FVw ether83815.c
8c -FVw vgaclgd542x.c
8c -FVw vgacyber938x.c
8c -FVw screen.c
8c -FVw -I. ../port/cis.c
8c -FVw -I. ../ip/loopbackmedium.c
8c -FVw mouse.c
8c -FVw pci.c
8c -FVw vga.c
8c -FVw ether2114x.c
8c -FVw wavelan.c
8c -FVw vgargb524.c
8c -FVw devi82365.c
8c -FVw ether8139.c
8c -FVw -I. ../port/devenv.c
8c -FVw -I. ../ip/tcp.c
8c -FVw ethersink.c
8c -FVw devarch.c
8c -FVw vga3dfx.c
8c -FVw vgaet4000.c
8c -FVw -I. ../port/devcons.c
8c -FVw apic.c
8c -FVw sdmylex.c
8c -FVw -I. ../port/devaudio.c
8a $AFLAGS ptclbsum386.s
8c -FVw -I. ../ip/pktmedium.c
8c -FVw vgaark2000pv.c
8c -FVw vgamach64xx.c
8c -FVw -I. ../port/devfs.c
8c -FVw vganeomagic.c
8c -FVw -I. ../port/devssl.c
8c -FVw -I. ../ip/icmp6.c
8c -FVw sdata.c
8c -FVw -I. ../port/devmnt.c
8c -FVw vgas3.c
8c -FVw -I. ../port/devdup.c
8c -FVw usbuhci.c
8c -FVw -I. ../ip/ipifc.c
8c -FVw ether82543gc.c
8c -FVw pcmciamodem.c
8c -FVw -I. ../port/devsrv.c
8c -FVw -I. ../ip/chandial.c
8c -FVw -I. ../port/devproc.c
../port/devproc.c:1448 name not declared: Extratime

And I get a single error message back on the cli that doesn't appear in
the log (I'm hand typing this in so the spacing may be off here or there):

mk: 8c -FVw -I. ../port/devproc.c  : exit status=rc 1032: 8c 1034:error

So, it looks to me like /port/devproc.c has a variable that hasn't been
declared (ie Extratime).

Here's my pcauth file:

dev
	root
	cons
	arch
	pnp		pci
	env
	pipe
	proc
	mnt
	srv
	dup
	rtc
	ssl
	tls
	cap
	kprof
	realtime	realtimesub edf

	ether		netif
	ip		arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsum386 inferno

	draw		screen vga vgax
	mouse		mouse
	vga

	sd
	fs
	floppy		dma
	lpt

	audio		dma
	pccard
	i82365		cis
	uart
	usb

link
	devpccard
	devi82365
	apm		apmjump
	ether2000	ether8390
	ether2114x	pci
	ether589	etherelnk3
	ether79c970	pci
	ether8003	ether8390
	ether8139
	ether82543gc	pci
	ether82557	pci
	ether83815	pci
	etherec2t	ether8390
	etherelnk3	pci
	etherga620	pci

	ethersink
	ethersmc	devi82365 cis
	etherwavelan	wavelan devi82365 cis pci
	ethermedium
	pcmciamodem
	netdevmedium
	loopbackmedium
	usbuhci

misc
	archmp		mp apic

	sdata		pci sdscsi
	sd53c8xx		pci sdscsi
	sdmylex		pci sdscsi

	uarti8250
	uartpci		pci

	vga3dfx		+cur
	vgaark2000pv	+cur
	vgabt485	=cur
	vgaclgd542x	+cur
	vgaclgd546x	+cur
	vgact65545	+cur
	vgacyber938x	+cur
	vgaet4000	+cur
	vgahiqvideo	+cur
	vgai81x	+cur
	vgamach64xx	+cur
	vgamga2164w	+cur
	vgamga4xx	+cur
	vganeomagic	+cur
	vganvidia	+cur
	vgargb524	=cur
	vgas3		+cur vgasavage
	vgat2r4		+cur
	vgatvp3020	=cur
	vgatvp3026	=cur
	vgavmware	+cur

ip
	il
	tcp
	udp
	ipifc
	icmp
	icmp6

port
	int cpuserver = 1;

boot cpu boot #S/sdC0/
	il
	tcp
	local

bootdir
	bootpcauth.out boot
	/386/bin/ip/ipconfig
	/386/bin/auth/factotum
	/386/bin/disk/kfs

 -- --

Open Forge, LLC  24/365 Onsite Support for PCs, Networks, & Game Consoles
512-695-4126 (Austin, Tx.)  help@open-forge.com  irc.open-forge.com

Hangar 18  Open Source Distributed Computing Using Plan 9 & Linux
512-451-7087  http://open-forge.org/hangar18  irc.open-forge.org

James Choate  512-451-7087  ravage@ssz.com  jchoate@open-forge.com



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

* Re: [9fans] Compile Problem...
  2004-01-23 18:12   ` Jim Choate
@ 2004-01-23 18:34     ` mirtchov
  2004-01-23 18:41       ` David Presotto
  0 siblings, 1 reply; 7+ messages in thread
From: mirtchov @ 2004-01-23 18:34 UTC (permalink / raw)
  To: 9fans


> ../port/devproc.c:1448 name not declared: Extratime

> So, it looks to me like /port/devproc.c has a variable that hasn't been
> declared (ie Extratime).

yep, it just appeared in yesterday's pull on sources.  go back to a
devproc.c from the 21st of january and you'll be fine.

or wait until it's fixed on sources:

	plan9-2% grep Extratime /n/dump/2004/0123/sys/src/9/port/devproc.c
			p->edf->flags |= Extratime;
	plan9-2% grep Extratime /n/dump/2004/0122/sys/src/9/port/devproc.c
	plan9-2% ls -lm /n/sources/plan9/sys/src/9/port/devproc.c
	[sape] --rw-rw-r-- M 1217 glenda sys 28636 Jan 22 08:25 devproc.c
	plan9-2%

my venti dumps are done at 4 am, that's why you don't see it in the
0122 directory.

andrey



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

* Re: [9fans] Compile Problem...
  2004-01-23 18:34     ` mirtchov
@ 2004-01-23 18:41       ` David Presotto
  2004-01-23 20:34         ` Jim Choate
  0 siblings, 1 reply; 7+ messages in thread
From: David Presotto @ 2004-01-23 18:41 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 108 bytes --]

Or better still, wait for the next scan and just pull.  SOme stuff
rode in with an update we did yesterday.

[-- Attachment #2: Type: message/rfc822, Size: 2486 bytes --]

From: mirtchov@cpsc.ucalgary.ca
To: 9fans@cse.psu.edu
Subject: Re: [9fans] Compile Problem...
Date: Fri, 23 Jan 2004 11:34:11 -0700
Message-ID: <65c82d4af25a19009d87ff4145335a05@plan9.ucalgary.ca>


> ../port/devproc.c:1448 name not declared: Extratime

> So, it looks to me like /port/devproc.c has a variable that hasn't been
> declared (ie Extratime).

yep, it just appeared in yesterday's pull on sources.  go back to a
devproc.c from the 21st of january and you'll be fine.

or wait until it's fixed on sources:

	plan9-2% grep Extratime /n/dump/2004/0123/sys/src/9/port/devproc.c
			p->edf->flags |= Extratime;
	plan9-2% grep Extratime /n/dump/2004/0122/sys/src/9/port/devproc.c
	plan9-2% ls -lm /n/sources/plan9/sys/src/9/port/devproc.c
	[sape] --rw-rw-r-- M 1217 glenda sys 28636 Jan 22 08:25 devproc.c
	plan9-2%

my venti dumps are done at 4 am, that's why you don't see it in the
0122 directory.

andrey

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

* Re: [9fans] Compile Problem...
  2004-01-23 18:41       ` David Presotto
@ 2004-01-23 20:34         ` Jim Choate
  2004-01-23 21:41           ` David Presotto
  0 siblings, 1 reply; 7+ messages in thread
From: Jim Choate @ 2004-01-23 20:34 UTC (permalink / raw)
  To: 9fans; +Cc: hangar18-general


David & Andrey,

Thanks for the help.

On Fri, 23 Jan 2004, David Presotto wrote:

> Or better still, wait for the next scan and just pull.  SOme stuff
> rode in with an update we did yesterday.

I have zero problem giving it some time and doing another pull. Would
tomorrow (Sat.) be soon enough for the scan to take effect and move the
new source out to the repository? I'm heading out of the office as soon as
I send this ;) I'll check email later tonight.

 -- --

Open Forge, LLC  24/365 Onsite Support for PCs, Networks, & Game Consoles
512-695-4126 (Austin, Tx.)  help@open-forge.com  irc.open-forge.com

Hangar 18  Open Source Distributed Computing Using Plan 9 & Linux
512-451-7087  http://open-forge.org/hangar18  irc.open-forge.org

James Choate  512-451-7087  ravage@ssz.com  jchoate@open-forge.com



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

* Re: [9fans] Compile Problem...
  2004-01-23 20:34         ` Jim Choate
@ 2004-01-23 21:41           ` David Presotto
  0 siblings, 0 replies; 7+ messages in thread
From: David Presotto @ 2004-01-23 21:41 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 75 bytes --]

Sure, it scans once every half hour on the half hour to see what's changed.

[-- Attachment #2: Type: message/rfc822, Size: 2867 bytes --]

From: Jim Choate <ravage@einstein.ssz.com>
To: <9fans@cse.psu.edu>
Cc: <hangar18-general@open-forge.com>
Subject: Re: [9fans] Compile Problem...
Date: Fri, 23 Jan 2004 14:34:19 -0600 (CST)
Message-ID: <Pine.LNX.4.33.0401231430480.12084-100000@einstein.ssz.com>


David & Andrey,

Thanks for the help.

On Fri, 23 Jan 2004, David Presotto wrote:

> Or better still, wait for the next scan and just pull.  SOme stuff
> rode in with an update we did yesterday.

I have zero problem giving it some time and doing another pull. Would
tomorrow (Sat.) be soon enough for the scan to take effect and move the
new source out to the repository? I'm heading out of the office as soon as
I send this ;) I'll check email later tonight.

 -- --

Open Forge, LLC  24/365 Onsite Support for PCs, Networks, & Game Consoles
512-695-4126 (Austin, Tx.)  help@open-forge.com  irc.open-forge.com

Hangar 18  Open Source Distributed Computing Using Plan 9 & Linux
512-451-7087  http://open-forge.org/hangar18  irc.open-forge.org

James Choate  512-451-7087  ravage@ssz.com  jchoate@open-forge.com

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

end of thread, other threads:[~2004-01-23 21:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-23 16:43 [9fans] Compile Problem Jim Choate
2004-01-23 16:50 ` mirtchov
2004-01-23 18:12   ` Jim Choate
2004-01-23 18:34     ` mirtchov
2004-01-23 18:41       ` David Presotto
2004-01-23 20:34         ` Jim Choate
2004-01-23 21:41           ` David Presotto

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