From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Choate To: <9fans@cse.psu.edu> Cc: Subject: Re: [9fans] Compile Problem... In-Reply-To: <7b14bae25a32cf6e6894adc7c8007927@plan9.ucalgary.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Fri, 23 Jan 2004 12:12:07 -0600 Topicbox-Message-UUID: bfbf0c22-eacc-11e9-9e20-41e7f4b1d025 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