[Dwarf-Discuss] DWARF2 Make Error

Rigdon, Gerald (STP) gerald.rigdon at bsci.com
Wed Sep 14 14:19:14 PDT 2011

From: Rigdon, Gerald (STP)
Sent: Wednesday, September 14, 2011 4:09 PM
To: 'dwarf-discuss at lists.dwarfstd.org'
Cc: Sharma, Shailesh
Subject: DWARF2 Make Error

I followed the instructions from the Readme file:

"To build dwarfdump2, first build libdwarf in the neighboring

directory then type



Results Below:

./configure appeared to work but when I ran "make", I got the following errors:

g++ -g -O2 -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./tag_common.cc
g++ -g -O2 -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib   -c -o naming.onaming.cc
g++ -g -O2 -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib -c ./common.cc
g++ -g -O2 -I. -I. -I./../libdwarf -DCONFPREFIX=/usr/local/lib ./tag_tree.cc naming.o tag_common.o common.o -L../libdwarf -ldwarf -lelf -o tag_tree_build
/usr/bin/ld: cannot find -ldwarf
collect2: ld returned 1 exit status
make: *** [tag_tree_build] Error 1

Can you help?



Gerald T. Rigdon
Fellow, Firmware Design Engineering
Boston Scientific Corporation
4100 Hamline Avenue North
St. Paul, MN 55112-5798 USA
Tel: 651.582.7106
gerald.rigdon at bsci.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dwarfstd.org/private.cgi/dwarf-discuss-dwarfstd.org/attachments/20110914/f09ca930/attachment-0001.htm>

More information about the Dwarf-Discuss mailing list