Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: roy@popmail.med.nyu.edu (Roy Smith)
Subject: Re: Cannot compile libg++ on DU 4.0
Date: 1997/11/19	[thread overview]
Message-ID: <roy-1911972305450001@mcsv29-p7.med.nyu.edu> (raw)
In-Reply-To: sreoh3gfnjm.fsf@ptavv.es.net


Kevin Oberman <oberman@es.net> wrote:

>> Apply the following patch:
>> 
>> $ diff -c ./libg++/src/Regex.cc~ ./libg++/src/Regex.cc 
>> *** ./libg++/src/Regex.cc~      Mon Jun 17 17:30:25 1996
>> --- ./libg++/src/Regex.cc       Mon Nov 17 16:22:47 1997

> I did the patch, but the compile still fails. I get:
> gcc -c -g -O2 -fno-implicit-templates -nostdinc++ -I. -I../../libio -I.
-I./../../libio -I./../../libstdc++ -I./../src  Regex.cc
> In file included from Regex.cc:34:
> rx.h:1288: conflicting types for `typedef int regoff_t'
> /usr/include/reg_types.h:52: previous declaration as `typedef long int
regoff_t'
> rx.h:1299: conflicting types for `struct re_pattern_buffer'
> /usr/include/reg_types.h:50: previous declaration as `struct regex_t'
> rx.h:1308: conflicting types for `struct regmatch_t'
> /usr/include/reg_types.h:60: previous declaration as `struct regmatch_t'
> rx.h:1308: conflicting types for `struct regmatch_t'
> /usr/include/reg_types.h:60: previous declaration as `struct regmatch_t'

Hmmm, something doesn't sound right.  I had exactly the same problem on my
Digital Unix 4.0B alpha system, and applying the patch did indeed solve
the problem.  Maybe doing a "make clean" would help?  Hard to see how, but
it can't hurt to try.

If you want, I'd be glad to make my compiled libg++ libraries available
for anonymous ftp if you can't get it going yourself.



      reply	other threads:[~1997-11-19  5:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-11-18  5:00 Cannot compile libg++ on DU 4.0 Alexey Pushkin
1997-11-19  5:00 ` Joel Gallun
1997-11-19  5:00   ` Kevin Oberman
1997-11-19  5:00     ` Roy Smith [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox