Re: 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]

 



same fprintf even sleep is not working
 
reason is clear to me with bellow link
http://stackoverflow.com/questions/8427450/multiple-definition-error-from-dl-addr-c-with-addition-of-printf-in-glibc-compi

Thanks,
Akhilesh
 
On Thu, Dec 8, 2011 at 11:02 PM, Mulyadi Santosa <mulyadi.santosa@xxxxxxxxx> wrote:
Hi...

On Thu, Dec 8, 2011 at 15:59, solmac john <johnsolmac@xxxxxxxxx> 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
> error:

i sense symbol clash. Quite likely implicitly printf() means
substituted into something which unfortunately means redefinition,
perhaps something like double macro definition with same name etc.

How about using fprintf etc?

--
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

_______________________________________________
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