I am not able to build elfutils-0.152.tar.bz2. The error I am getting is In file included from xstrndup.c:30:0: /usr/include/string.h:546:5: error: expected declaration specifiers or '...' before '__locale /usr/include/string.h:547:6: error: nonnull argument with out-of-range operand number (argument 1, operand 3) /usr/include/string.h:550:18: error: expected declaration specifiers or '...' before '__locale_t' /usr/include/string.h:551:6: error: nonnull argument with out-of-range operand number (argument 1, operand 4) cc1: warnings being treated as errors xstrndup.c: In function 'xstrndup': xstrndup.c:41:3: error: implicit declaration of function 'strnlen' make[2]: *** [xstrndup.o] Error 1 make[2]: Leaving directory `/home/user/ranjitk/elfutils-0.142/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/ranjitk/elfutils-0.142' make: *** [all] Error 2
I am using the gcc-4.51. Regards Ranjit Kumar System Performance Analysis Group Freescale Semiconductors India -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of ??? Sent: Tuesday, March 15, 2011 1:51 PM To: Kumar Ranjit-B04060 Cc: [email protected] Subject: Re: Building perf failed on Linux/SPARC Hi, Kumar Here is the information of elfutils on gentoo linux, dev-libs/elfutils Homepage: https://fedorahosted.org/elfutils And you might need to update the perf source code. HTH. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Parallel Processing Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 -- To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html N�����r��y����b�X��ǧv�^�){.n�+����{���ߺǫ�)����w*jg��������ݢj/���z�ޖ��2�ޙ����&�)ߡ�a�����G���h��j:+v���w��٥
