Subject: Kernel Compile
To: None <port-alpha@NetBSD.ORG>
From: Trevor Mendez <tmendez@BBN.COM>
List: port-alpha
Date: 01/05/1996 21:18:04
At the risk of ask another dumb question, does anyone have no why the
951220 kernel gave failed linking for me as shown below? I fetched Chris's
"sys.tar.gz" (which BTW could not be un-tarred with the SunOS 4.1.x provided
tar -- only GNU tar worked -- thought SunOS's tar worked for the NetBSD current
tar files), did a config for the provided "NONAME" kernel config. file, and
then tried to make it. Didn't see anything obvious immediately. If no one
knows what's wrong without thinking, I'll figure it out when I return. Thanks.
/tdm
-----
vers.c
loading netbsd
ld -X -G 4 -N -e __start -Ttext fffffc0000230000 -o netbsd ${SYSTEM_OBJ} vers.o
vnd.o: In function `vndattach':
../../../../dev/vnd.c:162: undefined reference to `bzero'
vnd.o: In function `vndstrategy':
../../../../dev/vnd.c:302: undefined reference to `__divl'
../../../../dev/vnd.c:311: undefined reference to `__reml'
vnd.o: In function `vndioctl':
../../../../dev/vnd.c:604: undefined reference to `bzero'
kern_acct.o: In function `acct_process':
../../../../kern/kern_acct.c:194: undefined reference to `__divq'
../../../../kern/kern_acct.c:196: undefined reference to `__divq'
kern_clock.o: In function `initclocks':
../../../../kern/kern_clock.c:133: undefined reference to `__divl'
kern_clock.o: In function `hzto':
../../../../kern/kern_clock.c:372: undefined reference to `__divq'
../../../../kern/kern_clock.c:374: undefined reference to `__divl'
kern_descrip.o: In function `fdalloc':
../../../../kern/kern_descrip.c:513: undefined reference to `bzero'
../../../../kern/kern_descrip.c:516: undefined reference to `bzero'
kern_descrip.o: In function `falloc':
../../../../kern/kern_descrip.c:574: undefined reference to `bzero'
kern_fork.o: In function `fork1':
../../../../kern/kern_fork.c:176: undefined reference to `bzero'
kern_lkm.o: In function `lkmioctl':
../../../../kern/kern_lkm.c:294: undefined reference to `bzero'
kern_malloc.o: In function `kmeminit':
../../../../kern/kern_malloc.c:390: undefined reference to `__divl'
kern_prot.o: In function `crget':
../../../../kern/kern_prot.c:440: undefined reference to `bzero'
kern_resource.o: In function `calcru':
../../../../kern/kern_resource.c:369: undefined reference to `__divqu'
../../../../kern/kern_resource.c:372: undefined reference to `__divqu'
../../../../kern/kern_resource.c:376: undefined reference to `__divqu'
kern_synch.o: In function `schedcpu':
../../../../kern/kern_synch.c:193: undefined reference to `__divlu'
../../../../kern/kern_synch.c:202: undefined reference to `__divlu'
kern_synch.o: In function `updatepri':
../../../../kern/kern_synch.c:242: undefined reference to `__divlu'
kern_time.o: In function `sys_adjtime':
../../../../kern/kern_time.c:166: undefined reference to `__remq'
../../../../kern/kern_time.c:167: undefined reference to `__divq'
subr_autoconf.o: In function `config_make_softc':
../../../../kern/subr_autoconf.c:366: undefined reference to `bzero'
../../../../kern/subr_autoconf.c:393: undefined reference to `bzero'
subr_disk.o: In function `diskerr':
../../../../kern/subr_disk.c:214: undefined reference to `__divlu'
<More similar stuff omitted>
---