Date: Thu, 10 Aug 2000 16:12:23 -0400 From: James Housley <jim@thehousleys.net> To: "Jacques A. Vidrine" <n@nectar.com> Cc: hackers@FreeBSD.ORG Subject: Re: What exactly does this mean? (ld: size of symbol changed) Message-ID: <39930CA7.3D672027@thehousleys.net> References: <20000810150131.A79323@hamlet.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39930CA7.3D672027>