Subject: closer and closer...
To: None <port-pmax@NetBSD.ORG>
From: Michael Burgett <burgett@mv.us.adobe.com>
List: port-pmax
Date: 10/04/1995 12:25:27
Proceeding on the (probably bogus) assumption that the reason I don't have a
src/sys/arch/sparc/rcons directory is that it's made it from something
experimental to become normal code (in sys/dev/rcons) so I boldly commented
out the following from file.pmax, ran config.netbsd and proceeded to build:

[By the way, just as a side issue, how *would* someone that had been building
for awhile know if a directory they were depending on moved, does SUP delete
directory trees too?? <ack.. scary thought>]

(I commented these out)

#file   arch/sparc/rcons/raster_op.c            rcons
#file   arch/sparc/rcons/rcons_kern.c           rcons
#file   arch/sparc/rcons/rcons_subr.c           rcons
#file   arch/sparc/rcons/raster_text.c          rcons

This got close, but no cigar. Though the number of files I had to mod to add
some casts to keep the compiler happy dropped to 1 (good deal!)
(src/sys/arch/pmax/tc/if_le.c, line 283 if anyone's counting :)

I still get some unresolved symbols when the final link is done:

cc -O2 -Werror -fno-builtin -I. -I../../../../arch -I../../../.. -I../../../../sys -DDS5000 -DDS5000_240 -DDS5000_100 -DDS5000_25 -DDS5000_200 -DDS3100 -DTIMEZONE="8*60" -DDST="1" -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DDEBUG -DCOMPAT_43 -DNKMEMCLUSTERS=1024 -DFIFO -DFFS -DQUOTA -DMFS -DNFSCLIENT -DNFSSERVER -DKERNFS -DNULLFS -DINET -DTCP_COMPAT_42 -DGATEWAY -DCOMPAT_ULTRIX -D_KERNEL -Dpmax -D__NetBSD__  -c vers.c
rm -f netbsd
ld -x -N -o netbsd -e start -Ttext 80030000 ${SYSTEM_OBJ} vers.o lib/kern/libkern.a
rcons.o(.text+0x130): undefined reference to `rcons_init'
rcons.o(.text+0x168): undefined reference to `rcons_cnputc'
ioconf.o(.data+0x33c): undefined reference to `rconsattach'
*** Error code 1 (ignored)
mv netbsd netbsd.elf;  elf2aout netbsd.elf netbsd;  chmod 755 netbsd
mv: rename netbsd to netbsd.elf: No such file or directory
*** Error code 1

(Since the undefined symbols point squarely back to the rcons stuff, I seem to
be in a loop thrashing around this same problem no matter what I do...)

Thanks,
Mike

(ps, still can't get through to [sup, ftp].netbsd.org tried several times over
a period of several hours last night and this morning.)