I downloaded the source at: https://fedorahosted.org/releases/e/l/elfutils/0.148/
applied the patches listed, and then configure, make and got the following errors: make[2]: Entering directory `/home/tteikhua/Downloads/elfutils-0.148/libdw' make all-am make[3]: Entering directory `/home/tteikhua/Downloads/elfutils-0.148/libdw' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/tteikhua/Downloads/elfutils-0.148/libdw' make[2]: Leaving directory `/home/tteikhua/Downloads/elfutils-0.148/libdw' Making all in libcpu make[2]: Entering directory `/home/tteikhua/Downloads/elfutils-0.148/libcpu' gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/usr/local/share/locale"' -I. -I.. -I. -I. -I../lib -I.. -I./../libelf -I./../libebl -I./../libdw -I./../libasm -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -fgnu89-inline -Wformat=2 -DNMNES="`wc -l < i386.mnemonics`" -fpic -fdollars-in-identifiers -g -O2 -MT i386_parse.o -MD -MP -MF .deps/i386_parse.Tpo -c -o i386_parse.o i386_parse.c i386_parse.y:1110:3: error: #error "bogus NMNES value" make[2]: *** [i386_parse.o] Error 1 make[2]: Leaving directory `/home/tteikhua/Downloads/elfutils-0.148/libcpu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tteikhua/Downloads/elfutils-0.148' make: *** [all] Error 2 msiati:/home/tteikhua/Downloads/elfutils-0.148> This is caused by NMNES having numerical value of zero, as derived via "wc -l i386.mnemonics". Yes, if I were to go into the libcpu subdirectory: -rw-r--r-- 1 root root 0 2010-08-17 09:19 i386.mnemonics this file is having zero bytes? I tried the whole steps again without applying the two patches, and it got through make and make install successfully, and i386.mnemonics not having zero bytes. What is the condition to apply the patches then? Thanks. PS: this ubuntu 10.04 / AMD64. -- Regards, Peter Teoh _______________________________________________ elfutils-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/elfutils-devel
