Subject: lib/20365: libhack/libc getgrent.c error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <naoki@fukaumi.org>
List: netbsd-bugs
Date: 02/16/2003 15:58:25
>Number:         20365
>Category:       lib
>Synopsis:       libhack/libc getgrent.c error
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 15 22:59:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     FUKAUMI Naoki
>Release:        NetBSD 1.6N
>Organization:
	FUKAUMI Naoki
>Environment:
System: NetBSD nforce.naobsd.org 1.6N NetBSD 1.6N (NFORCE) #0: Sun Feb 16 00:18:10 JST 2003 fun@nforce.naobsd.org:/usr/obj/i386/sys/arch/i386/compile/NFORCE i386
Architecture: i386
Machine: i386
>Description:
	from today's -curernt building...
  :
/home/t/i386/bin/i386--netbsdelf-gcc  -static -o ramdiskbin -nostdlib  -Wl,-rpath-link,/home/d/i386/lib:/home/d/i386/usr/lib  -L/home/d/i386/lib /home/d/i386/usr/lib/crt0.o /home/d/i386/usr/lib/crti.o /home/d/i386/usr/lib/crtbegin.o ramdiskbin.o cat.cro chio.cro chmod.cro cp.cro dd.cro df.cro ed.cro ln.cro ls.cro mkdir.cro mt.cro mv.cro pax.cro pwd.cro rcmd.cro rm.cro sh.cro stty.cro sync.cro dhclient.cro disklabel.cro fdisk.cro fsck.cro fsck_ffs.cro ifconfig.cro init.cro mbrlabel.cro mknod.cro mount.cro mount_cd9660.cro mount_ext2fs.cro mount_ffs.cro mount_kernfs.cro mount_msdos.cro mount_nfs.cro mount_ntfs.cro newfs.cro ping.cro ping6.cro reboot.cro restore.cro route.cro rtsol.cro scsictl.cro shutdown.cro slattach.cro swapctl.cro umount.cro ftp.cro gzip.cro less.cro sed.cro tip.cro installboot.cro bad144.cro chown.cro chroot.cro wiconfig.cro sysinst.cro progress.cro  libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -L/home/d/i386/usr/lib  -lgcc -lc -l!
gcc /home/d/i386/usr/lib/crtend.o /home/d/i386/usr/lib/crtn.o
/home/d/i386/usr/lib/libc.a(getgrent.o): In function `getgrent':
getgrent.o(.text+0x0): multiple definition of `_getgrent'
libhack.o(.text+0xf1c): first defined here
/home/d/i386/usr/lib/libc.a(getgrent.o): In function `endgrent':
getgrent.o(.text+0x200): multiple definition of `_endgrent'
libhack.o(.text+0x1068): first defined here
/home/t/i386/i386--netbsdelf/bin/ld: Warning: size of symbol `_endgrent' changed from 46 to 41 in getgrent.o
/home/d/i386/usr/lib/libc.a(getgrent.o): In function `_getgrgid':
getgrent.o(.text+0xb8): multiple definition of `_getgrgid'
libhack.o(.text+0xf9c): first defined here
/home/t/i386/i386--netbsdelf/bin/ld: Warning: size of symbol `_getgrgid' changed from 70 to 69 in getgrent.o
/home/d/i386/usr/lib/libc.a(getgrent.o): In function `getgrnam':
getgrent.o(.text+0x70): multiple definition of `_getgrnam'
libhack.o(.text+0xf54): first defined here
/home/t/i386/i386--netbsdelf/bin/ld: Warning: size of symbol `_getgrnam' changed from 70 to 69 in getgrent.o
/home/d/i386/usr/lib/libc.a(getgrent.o): In function `_setgrent':
getgrent.o(.text+0x1c8): multiple definition of `_setgrent'
libhack.o(.text+0x1030): first defined here
/home/d/i386/usr/lib/libc.a(getgrent.o): In function `_setgroupent':
getgrent.o(.text+0x1dc): multiple definition of `_setgroupent'
libhack.o(.text+0x1044): first defined here
collect2: ld returned 1 exit status
*** [ramdiskbin] Error code 1
1 error

nbmake: stopped in /usr/obj/i386/distrib/i386/floppies/ramdisk-big
>How-To-Repeat:
	build.sh release
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: