help-global
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling on IRIX


From: Shigio Yamaguchi
Subject: Re: compiling on IRIX
Date: Mon, 19 Mar 2001 21:38:23 +0900

Hi,
> I'm having trouble compiling global on an SGI Origin 200, running IRIX 6.5.
> 
> The header libdb/db.h in the global distribution has some incompatibility 
> with the IRIX system types when it does "typedef u_int32_t pgno_t;" since 
> pgno_t has already been declared as "long" in /usr/include/sys/types.h. 
> 
> I tried changing all inlcusions of "db.h" to <db.h> and even 
> "/usr/include/db.h" but then after compiling, the gtags program didn't 
> work. It parsed all of the files (I watched its progress with -v on) and 
> then after the last file it freezes.

Following changes may solve your problem.
The cvs version of GLOBAL already includes this changes.

[libdb/db.h]

typedef u_int32_t       pgno_t;
...
typedef u_int16_t       indx_t;
...
typedef u_int32_t       recno_t;

        |
        v
#define pgno_t  u_int32_t
...
#define indx_t  u_int16_t
...
#define recno_t u_int32_t
--
Shigio Yamaguchi - Tama Communications Corporation
Mail: address@hidden, (Spare mail: address@hidden)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]