Subject: Minor problem.
To: None <HLS@oce.nl>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 02/16/1995 13:00:29
> From: "Harry Schreurs" <HLS@oce.nl>
> Date: Thu, 16 Feb 1995 18:09:03 GMT +0100
> I came across the following problem when compiling the latest
> sun3 kernel sources:
> loading netbsd
> ld -S -n -N -e start -T 0E004000 -o netbsd ${SYSTEM_OBJ} vers.o
> ld: Undefined symbol
> _suibyte
The reference to that was in kern_subr.o which has been updated:
*** kern_subr.c.~1~ Wed Jun 29 06:29:01 1994
--- kern_subr.c Thu Feb 9 06:13:40 1995
***************
*** 75,81 ****
switch (uio->uio_segflg) {
case UIO_USERSPACE:
- case UIO_USERISPACE:
if (uio->uio_rw == UIO_READ)
error = copyout(cp, iov->iov_base, cnt);
else
--- 75,80 ----
***************
*** 132,142 ****
case UIO_SYSSPACE:
*iov->iov_base = c;
break;
-
- case UIO_USERISPACE:
- if (suibyte(iov->iov_base, c) < 0)
- return (EFAULT);
- break;
}
iov->iov_base++;
iov->iov_len--;
--- 131,136 ----
***************
*** 176,185 ****
case UIO_SYSSPACE:
c = *(u_char *) iov->iov_base;
- break;
-
- case UIO_USERISPACE:
- c = fuibyte(iov->iov_base);
break;
}
if (c < 0)
--- 170,175 ----
[ new zupdate.tar.gz ]
> Thank you for this effort.
You're welcome. Actually, I missed one program, savecore,
which needs to be recompiled for the right KERNBASE value.
No hurry to fix this one since we don't have crash dumps...
Gordon