Subject: port-i386/2198: linux_audio.c can't find memset
To: None <gnats-bugs@NetBSD.ORG>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: netbsd-bugs
Date: 03/10/1996 13:56:34
>Number:         2198
>Category:       port-i386
>Synopsis:       linux_audio.c can't find memset
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 10 14:20:04 1996
>Last-Modified:
>Originator:     Gary D. Duzan
>Organization:
	Northeastern University
>Release:        March 10, 1996
>Environment:
	
System: NetBSD wheel.tiac.net 1.1A NetBSD 1.1A (WHEEL) #0: Sat Feb 24 23:17:23 EST 1996 gary@wheel.tiac.net:/root/src/sys/arch/i386/compile/WHEEL i386


>Description:
rm -f netbsd
ld -z -Ttext F8100000 -e start -X -o netbsd ${SYSTEM_OBJ} vers.o
../../../../compat/linux/linux_audio.c:59: Undefined symbol `_memset' referenced from text segment
../../../../compat/linux/linux_audio.c:75: Undefined symbol `_memset' referenced from text segment
../../../../compat/linux/linux_audio.c:100: Undefined symbol `_memset' referenced from text segment
../../../../compat/linux/linux_audio.c:139: Undefined symbol `_memset' referenced from text segment
*** Error code 1

>How-To-Repeat:
	Try to build a kernel with COMPAT_LINUX enabled.
>Fix:
	Link in memset or rewrite AUDIO_INITINFO (in audioio.h).
>Audit-Trail:
>Unformatted: