RPM Community Forums

Mailing List Message of <rpm-devel>

Re: RPM_OS_QNX in snapshot 20080126

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Sun 27 Jan 2008 - 14:12:31 CET
Message-ID: <20080127131231.GA43483@engelschall.com>
On Sun, Jan 27, 2008, Peter Kalbus wrote:

> i just try to get last night snapshot compiled on qnx.
>
> everything (except the db 4.6.21 parts) seems to be included - cool.
>
> only problem, i currently have is, that in rpmio/fts.c the changes are
> #if-defed with RPM_OS_QNX.
>
> seems to be, that this is not defined anywhere, so far.
>
> what's the way, to get this arranged?
>
> something for system.h:
>
>   #if defined(__QNXNTO__)
>   #  define RPM_OS_QNX    1
>   #endif
>
> or something for macros.in? but i didn't know the mechanics from that file,
> so far.

No, RPM_OS_XXX is defined by "configure" and put into "Makefile". Look
for "RPM_OS_" in your top-level "Makefile". Perhaps your platform is not
recognized as "QNX" but as something else...

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Mon Jan 28 21:37:31 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.