multiple definition error from dl-addr.c with addition of printf, in glibc compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,
 
in glibc-2.13/nptl/sigaction.c, i just put a simple printf("test\n"); and my glibc compilation fails. Just adding a printf gives me multiple definitions of _itoa from dl-addr.c and i have no idea why. Can any body please tell me why is this happening and possible solution. For better clarity here is the error:
 
Error msg :-

test/glibc-build/libc_pic.a(_itoa.os): In function `_itoa': test/glibc-2.13/stdio-common/_itoa.c:215: multiple definition of `_itoa' test/glibc-build/elf/dl-allobjs.os:test/glibc-2.13/elf/dl-minimal.c:300: first defined here test/glibc-build/libc_pic.a(dl-addr.os): In function `_dl_addr_inside_object': test/SOURCE/glibc-2.13/elf/dl-addr.c:156: multiple definition of `_dl_addr_inside_object' test/glibc-build/elf/dl-allobjs.os:glibc-2.13/elf/dl-open.c:658: first defined here

 

Thanks,
Akhilesh

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux