| Title: | GNU Conference |
| Notice: | What's GNU With You? |
| Moderator: | TLE::FOSTER |
| Created: | Tue Mar 18 1986 |
| Last Modified: | Wed Jun 04 1997 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 845 |
| Total number of notes: | 4173 |
Has anyone successfully compiled v2.7.2 libg++ on Digital UNIX v4?
I'm running v4.0b, and the libg++ make fails with:
cd tests; make all ...
test -z "" || gcc -c -g -O2 -fno-implicit-templates -nostdinc++ -I.
-I../../libio -I. -I./../../libio -I./../../libstdc++ -I./../src
Regex.cc -o pic/Regex.o
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:32:
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'
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
Thanks for any hints!
Alan Sherlock
Colorado CSC
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 843.1 | here's a workaround | CSC32::A_SHERLOCK | Wed May 21 1997 17:31 | 7 | |
I got around this by commenting the following line out of
/usr/include/sys/lc_core.h:
#include <reg_types.h>
Alan Sherlock
Colorado CSC
| |||||