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

Daniel Baluta daniel.baluta at gmail.com
Thu Dec 8 04:05:29 EST 2011


On Thu, Dec 8, 2011 at 10:59 AM, solmac john <johnsolmac at gmail.com> wrote:
> 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

Are there any variable declarations after printf?

thanks,
Daniel.



More information about the Kernelnewbies mailing list