Subject: pkg/9047: sysutils/mkhybrid doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@augustsson.net>
List: netbsd-bugs
Date: 12/23/1999 18:03:38
>Number:         9047
>Category:       pkg
>Synopsis:       sysutils/mkhybrid doesn't build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 23 18:03:00 1999
>Last-Modified:
>Originator:     Lennart Augustsson
>Organization:
Department of Computing Science, Chalmers University
>Release:        NetBSD-current 1999-12-23
>Environment:
System: NetBSD opus 1.4P NetBSD 1.4P (OPUS) #149: Wed Dec 22 23:02:25 CET 1999 augustss@opus:/extra/NetBSD/src/sys/arch/i386/compile/OPUS i386


>Description:
	The package sysutils/mkhybrid doesn't link.
>How-To-Repeat:
	cd sysutils/mkhybrid; make
===>  Building for mkhybrid-1.12b5.2
cd libhfs_iso && make CC="cc" COPTS="-O2" DEFINES="-DAPPLE_HYB" RANLIB="ranlib"
cd libfile && make CC="cc" COPTS="-O2" DEFINES="-DAPPLE_HYB" RANLIB="ranlib"
cc -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Llibhfs_
iso -Llibfile -o mkhybrid mkisofs.o tree.o write.o hash.o rock.o multi.o  joliet
.o match.o name.o fnmatch.o eltorito.o  getopt.o getopt1.o  apple.o volume.o des
ktop.o mac_label.o -lhfs -lfile
apple.o: In function `get_cap_info':
apple.o(.text+0x3cb): undefined reference to `d_getw'
apple.o(.text+0x3e5): undefined reference to `d_getl'
apple.o(.text+0x3eb): undefined reference to `d_toutime'
apple.o(.text+0x401): undefined reference to `d_getl'
apple.o(.text+0x407): undefined reference to `d_toutime'
apple.o: In function `get_es_info':
apple.o(.text+0x4d4): undefined reference to `d_getw'
apple.o(.text+0x4e4): undefined reference to `d_getl'
apple.o(.text+0x50c): undefined reference to `d_getw'
apple.o(.text+0x522): undefined reference to `d_getl'
apple.o(.text+0x537): undefined reference to `d_getl'
apple.o: In function `get_mb_info':
apple.o(.text+0x73f): undefined reference to `d_getl'
apple.o(.text+0x745): undefined reference to `d_toutime'
apple.o(.text+0x752): undefined reference to `d_getl'
apple.o(.text+0x758): undefined reference to `d_toutime'
apple.o(.text+0x783): undefined reference to `d_getl'
apple.o(.text+0x790): undefined reference to `d_getl'
apple.o: In function `get_dbl_info':
apple.o(.text+0xae1): undefined reference to `d_getw'
apple.o: In function `get_sgl_info':
apple.o(.text+0xe68): undefined reference to `d_getw'
apple.o: In function `get_hfs_fe_info':
apple.o(.text+0xfad): undefined reference to `d_getw'
volume.o: In function `write_fork':
volume.o(.text+0x110): undefined reference to `hfs_get_drAllocPtr'
volume.o(.text+0x182): undefined reference to `hfs_set_drAllocPtr'
desktop.o: In function `make_desktop':
desktop.o(.text+0xa3): undefined reference to `d_putw'
desktop.o(.text+0xae): undefined reference to `d_putw'
desktop.o(.text+0xbc): undefined reference to `d_putw'
desktop.o(.text+0xc7): undefined reference to `d_putw'
desktop.o(.text+0xd4): undefined reference to `d_putl'
desktop.o(.text+0xe1): undefined reference to `d_putl'
desktop.o(.text+0xef): undefined reference to `d_putw'
desktop.o(.text+0xfd): undefined reference to `d_putw'
desktop.o(.text+0x10e): undefined reference to `d_putw'
desktop.o(.text+0x11c): undefined reference to `d_putw'
desktop.o(.text+0x12d): undefined reference to `d_putw'
desktop.o(.text+0x13e): undefined reference to `d_putl'
desktop.o(.text+0x152): undefined reference to `d_putl'
mac_label.o: In function `gen_mac_label':
mac_label.o(.text+0x17a): undefined reference to `d_getw'
collect2: ld returned 1 exit status
*** Error code 1

>Fix:
	Dunno.
>Audit-Trail:
>Unformatted: