Subject: pkg/9001: package audio/mikmod doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@augustsson.net>
List: netbsd-bugs
Date: 12/16/1999 13:34:23
>Number:         9001
>Category:       pkg
>Synopsis:       package audio/mikmod doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 16 13:33:00 1999
>Last-Modified:
>Originator:     Lennart Augustsson
>Organization:
Department of Computing Science, Chalmers University
>Release:        NetBSD-current 1999-12-16
>Environment:
System: NetBSD opus 1.4P NetBSD 1.4P (OPUS) #132: Mon Nov 29 22:14:03 CET 1999 augustss@opus:/extra/NetBSD/src/sys/arch/i386/compile/OPUS i386


>Description:
	The audio/mikmod doesn't link.
>How-To-Repeat:
	cd pkgsrc/audio/mikmod; make
cc -o mikmod mikmodux.o mlist.o display.o marchive.o ../playercode/munitrk.o ../playercode/virtch.o ../playercode/npertab.o  -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L../lib -lmikmod -lmmio -lncurses
mikmodux.o: In function `main':
mikmodux.o(.text+0x28): undefined reference to `md_dmabufsize'
mikmodux.o(.text+0x73): undefined reference to `MD_RegisterDriver'
mikmodux.o(.text+0x7d): undefined reference to `MD_RegisterDriver'
mikmodux.o(.text+0x87): undefined reference to `MD_RegisterDriver'
mikmodux.o(.text+0x11a): undefined reference to `MD_InfoDriver'
mikmodux.o(.text+0x137): undefined reference to `ML_InfoLoader'
mikmodux.o(.text+0x48b): undefined reference to `MikMod_LoadSong'
mikmodux.o(.text+0x6af): undefined reference to `MP_NextPosition'
mikmodux.o(.text+0x6c3): undefined reference to `MP_PrevPosition'
mikmodux.o(.text+0x7e3): undefined reference to `MikMod_FreeSong'
marchive.o: In function `MA_dearchive':
marchive.o(.text+0x140): undefined reference to `modfp'
marchive.o(.text+0x162): undefined reference to `modfp'
marchive.o(.text+0x170): undefined reference to `modfp'
marchive.o: In function `MA_FindFiles':
marchive.o(.text+0x288): undefined reference to `modfp'
marchive.o(.text+0x2aa): undefined reference to `modfp'
marchive.o(.text+0x2b8): more undefined references to `modfp' follow
/usr/pkg/lib/libmikmod.so: undefined reference to `pthread_mutex_unlock'
/usr/pkg/lib/libmikmod.so: undefined reference to `pthread_mutex_lock'
/usr/pkg/lib/libmikmod.so: undefined reference to `esd_play_stream'
collect2: ld returned 1 exit status

>Fix:
	None provided
>Audit-Trail:
>Unformatted: