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

solmac john johnsolmac at gmail.com
Thu Dec 8 04:34:35 EST 2011


i am using only printf("test\n");

Thanks,
Akhilesh

On Thu, Dec 8, 2011 at 2:35 PM, Daniel Baluta <daniel.baluta at gmail.com>wrote:

> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111208/a7d09656/attachment.html 


More information about the Kernelnewbies mailing list