From owner-freebsd-hackers Thu Aug 10 13:12:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from thehousleys.net (frenchknot.ne.mediaone.net [24.147.224.201]) by hub.freebsd.org (Postfix) with ESMTP id 39B8637BC2C for ; Thu, 10 Aug 2000 13:12:33 -0700 (PDT) (envelope-from jim@thehousleys.net) Received: from thehousleys.net (baby.int.thehousleys.net. [192.168.0.24]) by thehousleys.net (8.9.3/8.9.3) with ESMTP id QAA19685; Thu, 10 Aug 2000 16:12:23 -0400 (EDT) (envelope-from jim@thehousleys.net) Message-ID: <39930CA7.3D672027@thehousleys.net> Date: Thu, 10 Aug 2000 16:12:23 -0400 From: James Housley Organization: The Housleys dot Net X-Mailer: Mozilla 4.73 [en] (X11; U; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: "Jacques A. Vidrine" Cc: hackers@FreeBSD.ORG Subject: Re: What exactly does this mean? (ld: size of symbol changed) References: <20000810150131.A79323@hamlet.nectar.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Jacques A. Vidrine" wrote: > > I hope someone might be able to clue me in. I'm having a hard time tracking > this down. I've added some code to libc, and while building the world I get > this misery in src/sbin/dhclient: > > cc -O -pipe -I/usr/src/sbin/dhclient/../../contrib/isc-dhcp/includes -I/usr/src/sbin/dhclient/../../contrib/isc-dhcp -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"' -static -o dhclient clparse.o dhclient.o alloc.o bpf.o conflex.o convert.o dispatch.o errwarn.o ethernet.o hash.o icmp.o inet.o inet_addr.o memory.o nit.o options.o packet.o parse.o print.o raw.o socket.o tables.o tree.o upf.o > /usr/lib/libc.a(err.o): In function `warn': > err.o(.text+0x1e0): multiple definition of `warn' > errwarn.o(.text+0xd8): first defined here > /usr/libexec/elf/ld: Warning: size of symbol `warn' changed from 141 to 30 in err.o > *** Error code 1 > My guess is that you (or someone) have redefined the function warn(). errwarn.c is dhclient. Are you compiling dhclient from /usr/src/contrib/isc-dhcp instead of /usr/src/sbin/dhclient? The second is the correct locaion. Jim -- Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message