RPM Community Forums

Mailing List Message of <rpm-devel>

Re: error in rpmconstant

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Tue 25 Dec 2007 - 00:58:53 CET
Message-ID: <20071224235853.GA69778@engelschall.com>
On Mon, Dec 24, 2007, Jason Corley wrote:

> Getting this error with HEAD:
>     rpmconstanttbl.c:287: error: 'RPMBUILD_FETCHSOURCE' undeclared
> here (not in a function)
> It looks like the error is with rpmconstant/rpmh2tbl not dealing
> properly with an OpenPKG #ifdef, but exactly where and how I haven't
> figured out yet.  Deleting the RPMBUILD_FETCHSOURCE line from
> rpmconstantbl.c allows build to succeed.

I've removed the wrapping #ifdef/#endif now as this seems to be the only
solution. Now my favorite solution, but currently the only possible one
AFAIK...
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Tue Dec 25 00:59:40 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.