NetBSD Problem Report #9047

Received: (qmail 595 invoked from network); 24 Dec 1999 02:01:16 -0000
Message-Id: <199912240155.CAA03481@opus.augustsson.net>
Date: Fri, 24 Dec 1999 02:55:11 +0100 (CET)
From: Lennart Augustsson <augustss@augustsson.net>
Reply-To: augustss@augustsson.net
To: gnats-bugs@gnats.netbsd.org
Subject: sysutils/mkhybrid doesn't build
X-Send-Pr-Version: 3.95

>Number:         9047
>Category:       pkg
>Synopsis:       sysutils/mkhybrid doesn't build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 23 18:03:00 +0000 1999
>Closed-Date:    Mon Dec 27 06:37:01 +0000 1999
>Last-Modified:  Mon Dec 27 06:37:44 +0000 1999
>Originator:     Lennart Augustsson
>Release:        NetBSD-current 1999-12-23
>Organization:
Department of Computing Science, Chalmers University
>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.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: tron 
State-Changed-When: Fri Dec 24 05:15:22 PST 1999 
State-Changed-Why:  
The problem is probably related to the "hfs" shared library from the "libhfs" 
package. I just checked in a patch to avoid this. Could you please test if 
"mkhybrid" builds now for you? 
State-Changed-From-To: feedback->closed 
State-Changed-By: tron 
State-Changed-When: Sun Dec 26 22:37:01 PST 1999 
State-Changed-Why:  
Originator confirms that recent change fixes the problem. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.