Bug 193153

Summary: libdw.h does not have extern C { }
Product: [Fedora] Fedora Reporter: Adam Jocksch <ajocksch>
Component: elfutilsAssignee: Roland McGrath <roland>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: drepper
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.121-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-15 08:37:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Jocksch 2006-05-25 18:03:46 UTC
Description of problem:
When trying to compile libdw against a C++ program it fails to link. Any symbols
used from the library will not be found by the linker:

(i.e.: .//libfrysk-imports.so: undefined reference to `dwarf_begin_elf(Elf*,
Dwarf_Cmd, Elf_Scn*)' )

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Ulrich Drepper 2006-05-27 18:12:33 UTC
I fixed it upstream.


Comment 2 Adam Jocksch 2006-05-29 15:41:31 UTC
Has this been fixed just for libdw.h, or for all the headers in the library?
I've found the same problem for libdwfl.h and suspect it may also be present in
others.

Comment 3 Ulrich Drepper 2006-05-29 16:11:27 UTC
All headers have been fixed.

Comment 4 Roland McGrath 2006-06-15 08:37:47 UTC
This is fixed in 0.121, which is in rawhide, or perhaps held back until
fc6-test1 gets cut, but it's built.