[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Problem build 4.0.3 on Tru64 5.1A
- From: Chris Adams <cmadams hiwaay net>
- To: rpm-list redhat com
- Subject: Re: Problem build 4.0.3 on Tru64 5.1A
- Date: Sun, 23 Dec 2001 12:33:25 -0600
To follow up to my own message (since nobody else has):
Once upon a time, Chris Adams <cmadams@hiwaay.net> said:
> I am trying to build rpm 4.0.3 on a new install of Compaq Tru64 5.1A. I
> built gcc-3.0.2 and zlib-1.1.3 (in a special directory; I'm trying to
<snip>
> db3.c:601:45: macro "stat" passed 3 arguments, but takes just 2
This happens because on Tru64, stat() is defined as a macro (with two
arguments). The referenced line in rpmdb/db3.c is:
rc = db->stat(db, &dbi->dbi_stats, flags);
which the C preprocessor tries to expand with the stat() macro.
I can't see a way around this except to "#undef stat" before the line
above (but then if someone wants to use stat() later in the same file it
will be broken). Any suggestions?
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]