[Top][All Lists]

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

Re: bison-1.49b: bitset problems

From: Martin MOKREJŠ
Subject: Re: bison-1.49b: bitset problems
Date: Thu, 12 Sep 2002 16:22:19 +0200 (CEST)

On 12 Sep 2002, Akim Demaille wrote:

> |Hi,
> |  I tried bison-1.49b and on Irix 6.5.15 using cc and I got:
> |


> Thanks for the report!  But we have already sent some patches to
> Michael, the author of the bitset stuff, and we have no news from him.
> I guess that once he has time back to work on his bitset
> implementation, he will fixe these issues.

But actually my real problem was:

depmode=sgi /bin/sh ../config/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../src -I../lib  -O3 -n32 
-I/usr/local/include -I/software/@sys/usr/include 
-I/usr/local/openssl/include  -O3 -n32 -TARG:platform=IP22 -I/usr/local/include
-I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include 
-I/usr/local/openssl/include  -c `test
-f 'tempname.c' || echo './'`tempname.c
cc-1020 cc: ERROR File = tempname.c, Line = 297
  The identifier "O_RDWR" is undefined.

          fd = __open (tmpl, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);

It seems I have to add to config.h:

#define HAVE_FCNTL_H 1

which is already ifdef'ed in tempname.c and will include fcntl.h.

Tnen bison compiles fine.
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585

reply via email to

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