Mark,
I changes everything. New installation. Still some problem coming.
gcc -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -g -O2 -o libdw.so
-shared -o libdw.so -Wl,--soname,libdw.so.1,-z,defs \
-Wl,--enable-new-dtags,-rpath,/usr/local/lib/elfutils \
-Wl,--version-script,libdw.map,--no-undefined \
-Wl,--whole-archive libdw_pic.a ../libdwfl/libdwfl_pic.a ../libebl/libebl.a
../libelf/libelf.so -Wl,--no-whole-archive\
-ldl -lbz2 -lz
if readelf -d libdw.so | fgrep -q TEXTREL; then exit 1; fi
make[3]: *** [libdw.so] Error 1
make[3]: Leaving directory `/home/user/ranjitk/elfutils-0.152/libdw'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/ranjitk/elfutils-0.152/libdw'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/ranjitk/elfutils-0.152'
make: *** [all] Error 2
Regards
Ranjit Kumar
System Performance Analysis Group
Freescale Semiconductors
India