"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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to