Subject: Re: install floppy build prob
To: None <>
From: Takahiro Kambe <>
List: current-users
Date: 09/02/1999 02:08:24
In message <>
	on Wed, 1 Sep 1999 15:04:03 +0100 (BST),
	"Patrick Welche" <> wrote:
> /usr/lib/libc.a(yplib.o): In function `_yp_check':
> yplib.o(.text+0x680): multiple definition of `_yp_check'
> libhack.o(.text+0x14d8): first defined here
> Yet this seems to have been touch on in src/distrib/utils/libhack:
> # $NetBSD:,v 1.9 1999/06/30 22:21:57 fvdl Exp $
> # Include this fragment to build libhack.o
> # It is .o and not .a to make sure these are the
> # objects you get (and not the ones in libc.a)
I've tracked this problem, too.

> A work-around seems to be to remove yplib.o from
> src/distrib/i386/floppies/ramdisk/Makefile:75 HACKOBJS:=...
This problem is in changes in pax.

1. /usr/src/bin/pax/tar.c uses gid_from_group() and uid_from_user() in
2. These function uses setgroupent() and setpassent() in
   /usr/src/lib/gen/getgrent.c and /usr/src/lib/gen/getpwent.c.
3. And contain reference to YP fuctions which don't exist in libhack.o
   but yplib.o in libc.a.

I analyzed and tired now...

Takahiro Kambe <>