Bug 861841 - lvm2app.h declares float lvm_percent_to_float(percent_t v) but linking fails
lvm2app.h declares float lvm_percent_to_float(percent_t v) but linking fails
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: lvm2 (Show other bugs)
Unspecified Unspecified
medium Severity unspecified
: rc
: ---
Assigned To: LVM and device-mapper development team
Cluster QE
Depends On:
  Show dependency treegraph
Reported: 2012-10-01 01:34 EDT by benscott
Modified: 2013-02-21 03:14 EST (History)
11 users (show)

See Also:
Fixed In Version: lvm2-2.02.98-1.el6
Doc Type: Bug Fix
Doc Text:
The function lvm_percent_to_float() declared in lvm2app.h did not have implementation in the library. Any program, which has tried to use this function failed at linking time. It has been fixed by adding proper code into lvm2app library.
Story Points: ---
Clone Of:
Last Closed: 2013-02-21 03:14:02 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description benscott 2012-10-01 01:34:16 EDT
Description of problem:

lvm2app.h declares float lvm_percent_to_float(percent_t v) but linking fails. I don't think the source really implements the function anywhere.

Version-Release number of selected component (if applicable):
  LVM version:     2.02.98(2)-git (2012-08-24)
  Library version: 1.02.77-git (2012-08-24)
  Driver version:  4.22.0
Comment 2 Zdenek Kabelac 2012-10-11 11:31:59 EDT
Fixed upstream:

Comment 3 Zdenek Kabelac 2012-10-12 05:19:37 EDT
Simple linkage test should pass now, if the user is using this declared function.
Comment 7 errata-xmlrpc 2013-02-21 03:14:02 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.