Subject: memset() missing from libkern or libcompat?
To: None <port-i386@NetBSD.ORG>
From: Todd C. Miller <Todd.Miller@cs.colorado.edu>
List: port-i386
Date: 03/10/1996 11:34:55
The new linux audio driver that was committed a few days
ago calls AUDIO_INITINFO() which is just a macro that
calls memset().  Since there is no memset() in libkern.o
(or libcompat.a) the kernel fails to link:

ld -z -Ttext F8100000 -e start -x -o netbsd ${SYSTEM_OBJ} vers.o
linux_audio.o: Undefined symbol `_memset' referenced from text segment
linux_audio.o: Undefined symbol `_memset' referenced from text segment
linux_audio.o: Undefined symbol `_memset' referenced from text segment
linux_audio.o: Undefined symbol `_memset' referenced from text segment

I did a sup -o the other day and a normal sup this morning
so I don't think I'm out of date...
Seems like memset.{c,S} need to be added to libkern.  Perhaps
this has already been done and sup just isn't up to date?

 - todd
---
Todd C. Miller   Sysadmin--University of Colorado   Todd.Miller@cs.colorado.edu