RPM Community Forums

Mailing List Message of <rpm-users>

Errors - API for rpm

From: Manoj Palhade <mpalhade@googlemail.com>
Date: Fri 18 Sep 2009 - 11:36:27 CEST
Message-ID: <67f63fb0909180236u6d2fc1c0q53d2f1ea95f92493@mail.gmail.com>
Hi,

I am trying to implement sample program mentioned in “Maximum RPM”. My
understanding is that this content is not update with current version
of RPM source code.

1.      In sample program I am getting following error.

undefined reference to `headerDump'
undefined reference to `headerFreeIterator'
undefined reference to `headerGetEntry'
undefined reference to `headerInitIterator'
undefined reference to `headerNextIterator'
undefined reference to `rpmFreeSignature'
undefined reference to `rpmReadPackageInfo'

2.      Also As mentioned in “Maximum RPM”; I included rpmlib.h but not
able to find header.h.

Thanks and Regards,
Manoj
Received on Fri Sep 18 12:00:04 2009
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.