bug-bison
[Top][All Lists]
Advanced

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

Re: AIX compile problems


From: Paul Eggert
Subject: Re: AIX compile problems
Date: Tue, 20 Jul 2004 15:55:28 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Thanks for your bug report.  Unfortunately I don't have an AIX host to
use, so I'll have to ask for your help in fixing things.

One thing you might try is the latest Bison test release, to see
whether the AIX porting bugs are fixed there already: that might save
you some time.  <ftp://alpha.gnu.org/gnu/bison/bison-1.875d.tar.gz>

jeph Cowan <address@hidden> writes:

> I modified /usr/include/sys/context.h with the following:
>
>    diff context.h.orig context.h
> 20a21,27
>  > #ifndef KLUDGE
>  > #define KLUDGE
>  > typedef struct {
>  >       unsigned long long ss_set[4];
>  > } sigset64_t;
>  > #endif
>  >

Can you please explain why this change was needed?  For example, what
error message did you get when you did not have this change installed?
(We'd prefer to have Bison work with the standard AIX headers.)

> Then in each of the three files:
>    bison-1.875/src/muscle_tab.c
>    bison-1.875/src/symtab.c
>    bison-1.875/src/uniqstr.c
>
> included the line:
>
>    #include <stdlib.h>
>
> near the top.

Can you please explain why these changes were needed too?  For
example, the first file that muscle_tab.c includes is "system.h", and
"system.h" includes <stdlib.h> near the top (after <limits.h>,
<stddef.h>, and <stdio.h>).  So why does it help to include <stdlib.h>
before "system.h"?  Does AIX 5.1 have a bug that requires you to
include stdlib.h before some other system header?




reply via email to

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