From: Kevin Oberman <oberman@es.net>
Subject: Re: Cannot compile libg++ on DU 4.0
Date: 1997/11/19 [thread overview]
Message-ID: <sreoh3gfnjm.fsf@ptavv.es.net> (raw)
In-Reply-To: xofyb2k7ui5.fsf@gwyn.tux.org
Joel Gallun <joel@gwyn.tux.org> writes:
> 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
> ***************
> *** 23,29 ****
> --- 23,31 ----
> #pragma implementation
> #endif
> #include <std.h>
> + #if (!defined(__alpha) || !defined(__osf__))
> #include <ctype.h>
> + #endif
> #include <new.h>
> #include <builtin.h>
>
> Joel
> --
> finger joel@gwyn.tux.org for my pgp public key
[Patch elided]
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'
I can fix these by brute force, but I wonder if there is a "right way"
to do it?
--
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net Phone: +1 510 486-8634
next prev parent 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 [this message]
1997-11-19 5:00 ` Roy Smith
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