Subject: ramdiskbin link failure
To: None <tsubai@netbsd.org>
From: None <Havard.Eidnes@runit.sintef.no>
List: port-macppc
Date: 02/20/2000 18:58:27
Hi,

I just tried to build the boot floppy for 1.4.2, and it failed
with the following error:

/usr/lib/libc.a(opendir.o): In function `opendir':
opendir.o(.text+0x0): multiple definition of `opendir'
libhack.o(.text+0x2264): first defined here
/usr/bin/ld: Warning: size of symbol `opendir' changed from 272 to 36 in opendir.o
collect2: ld returned 1 exit status

I'm quite certain this is with a "clean" netbsd-1-4 tree.

Anyone know what's going on here?  Shouldn't the implementation in
libhack.o mask out the one from libc.a?  I'm confused (surprise!).

This is close to a showstopper for 1.4.2 on this port, and I'd
really appreciate hints (or even a pull-up request :-) on how to fix
this build problem.


- H=E5vard