* libg++, groff1.11
@ 1997-12-16 5:00 Siggi Engelbrecht
1997-12-16 5:00 ` Alexander Kogan
0 siblings, 1 reply; 3+ messages in thread
From: Siggi Engelbrecht @ 1997-12-16 5:00 UTC (permalink / raw)
Despite an apparently intact gcc 2.7.2.3. on my alpha (Dec
3000-300LX/Digital Unix 4.0B) I neither get libg++ nor groff 1.11 to
compile. Any suggestions are welcome.
Here are the messages I get:
(libg++)
277 uhu> make all
cd tests; make all ...
cd dbz; make all ...
cd stdio; make all ...
cd ../libio ; make "INSTALL=/usr/users/engel/bin/libg++-2.7.2/install.sh
-c" "INSTALL_DATA=/usr/users/engel/bin/libg++-2.7.2/install.sh -c -m
644" "INSTALL_PROGRAM=/usr/users/engel/bin/libg++-2.7.2/install.sh -c"
"prefix=/usr/local" "exec_prefix=/usr/local"
"tooldir=/usr/local/alpha-dec-osf4.0" "AR=ar" "AR_FLAGS=rc" "CC=gcc
-O2" "CXX=gcc" "CFLAGS=-g" "CXXFLAGS=-g -O2" "NM=nm"
"RANLIB=ranlib" "LIBCFLAGS=-g" "LIBCXXFLAGS=-g -O2
-fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=makeinfo
" "SHLIB=libstdc++.so.2.7.2" "SHCURSES=" "PICFLAG=" iostream.list
`iostream.list' is up to date.
`stl.list' is up to date.
cd stl; make all ...
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.
(groff 1.11, after tons of similar messages):
In file included from ../include/stringclass.h:22,
from groff.cc:33:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/include/stdio.h:2:
warning: Header file /usr/local/lib/g++-include/stdarg.h exists, but is
not readable
In file included from
/usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/include/stdio.h:2,
from ../include/stringclass.h:22,
from groff.cc:33:
/usr/local/lib/gcc-lib/alpha-dec-osf4.0/2.7.2.3/include/stdarg.h:36:
warning: Header file /usr/local/lib/g++-include/va-alpha.h exists, but
is not readable
In file included from groff.cc:34:
../include/cset.h:22: warning: Header file
/usr/local/lib/g++-include/limits.h exists, but is not readable
gcc -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1
-DHAVE_SYS_DIR_H=1 -DHAVE_STDLIB_H=1 -DSTDLIB_H_DECLARES_GETOPT=1
-DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1
-DSTDIO_H_DECLARES_POPEN=1 -DSTDIO_H_DECLARES_PCLOSE=1
-DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXCEPTION=1
-DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DSYS_SIGLIST_DECLARED=1
-g -O -c pipeline.c
pipeline.c: In function `xstrsignal':
pipeline.c:233: `sys_siglist' undeclared (first use this function)
pipeline.c:233: (Each undeclared identifier is reported only once
pipeline.c:233: for each function it appears in.)
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
Thanks a lot inadvance for your help.
Sig
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: libg++, groff1.11
1997-12-16 5:00 libg++, groff1.11 Siggi Engelbrecht
@ 1997-12-16 5:00 ` Alexander Kogan
1997-12-17 5:00 ` Groff problem (was: libg++, groff1.11) Thierry Baillon
0 siblings, 1 reply; 3+ messages in thread
From: Alexander Kogan @ 1997-12-16 5:00 UTC (permalink / raw)
To: Siggi Engelbrecht
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
Siggi Engelbrecht wrote:
>
> Despite an apparently intact gcc 2.7.2.3. on my alpha (Dec
> 3000-300LX/Digital Unix 4.0B) I neither get libg++ nor groff 1.11 to
> compile. Any suggestions are welcome.
Take a look at the letter from e.poor@auckland.ac.nz (Edouard Poor)
in the attachment.
I don't know about 2.7.2.3, but it worked for me for 2.7.2.2
Good luck!
--
_______________________________________________________________________
Alexander B. Kogan Parametric Technology Corporation
E-mail: kogan@ptc.com 128 Technology Drive, Waltham MA 02154
Voice: (617) 398-5172 Fax: (617) 398-5633
[-- Attachment #2: Type: message/rfc822, Size: 3708 bytes --]
[-- Attachment #2.1: Type: message/news, Size: 2901 bytes --]
From: Alexander Kogan <kogan@poster.ptc.com>
To: kogan
Subject: [Fwd: Re: gcc, g++, libg++, g77]
Date: Mon, 09 Jun 1997 14:47:00 -0400
Message-ID: <339C4FA4.3F54@ptc.com>
From: e.poor@auckland.ac.nz (Edouard Poor)
Subject: Re: gcc, g++, libg++, g77
Date: Thu, 05 Jun 1997 11:24:42 +1200
Message-ID: <e.poor-0506971124420001@news.auckland.ac.nz>
In article <uevi424d10.fsf@erdos.dsm.fordham.edu>, Art Werschulz
<agw@erdos.dsm.fordham.edu> wrote:
> Hi.
Gidday.
> We are running DU 4.0 on a DEC AlphaServer 1000. Has anybody managed
> to compile working versions of gcc, g++, libg++, and g77 for such a
> setup?
gcc, g++ and libg++, yes, but not out of the box. g77 I havn't tried.
After the standard "./configure" and following the instructions in the
"INSTALL" file, I got to making the stage 2 compiler when I had an error
from in the file "gcc-2.7.2.2/cp/errfn.c" about the redeclaration of
sprintf().
Somehow the system stdio.h (or maybe the fixed version) is getting
included at this point, and causing the problem.
The easiest fix is the change the source file to remove the prototype.
Things should compile OK at that point.
libg++ was a little trickier -- the make process fails when trying to
compile the file "libg++-2.7.2/libg++/src/Regex.cc". The problem is
"Regex.cc" includes <ctype.h> that includes <sys/localedef.h> that
includes <sys/lc_core.h> that includes <reg_types.h> which clashes with
the types in the regular expression the "Regex.cc" is using (i.e. gnu's
"rx.h").
The simplest way I found to deal with that was to change the behaviour of
<ctype.h> to something simpler by defining some symbols that <standard.h>
can take note of.
In my case adding the following three lines to the beginning of "Regex.cc"
(before any #include directives are processed) fixed the problem:
/* fix screwy includes -- modified by Edouard Poor <e.poor@auckland.ac.nz> */
#define _POSIX_SOURCE
#define _ANSI_C_SOURCE
Now this changes the locale specific behaviour to not use the code
specified within the conditional compilation section goverend by the
_XOPEN_SOURCE symbol -- whether there are any hidden problems for people
who depend on strange locales within the Regex class, I don't know,
although I guess there is a vanishingly small chance that there is. I'm
not to fussed about it though.
I hope this helps you, and anyone else who is having the same problems I was.
> Thanks.
Cheers,
Edouard.
--
Edouard Poor
^ permalink raw reply [flat|nested] 3+ messages in thread
* Groff problem (was: libg++, groff1.11)
1997-12-16 5:00 ` Alexander Kogan
@ 1997-12-17 5:00 ` Thierry Baillon
0 siblings, 0 replies; 3+ messages in thread
From: Thierry Baillon @ 1997-12-17 5:00 UTC (permalink / raw)
Alexander Kogan <kogan@ptc.com> writes:
> Siggi Engelbrecht wrote:
> >
> > Despite an apparently intact gcc 2.7.2.3. on my alpha (Dec
> > 3000-300LX/Digital Unix 4.0B) I neither get libg++ nor groff 1.11 to
> > compile. Any suggestions are welcome.
>
> Take a look at the letter from e.poor@auckland.ac.nz (Edouard Poor)
> in the attachment.
> I don't know about 2.7.2.3, but it worked for me for 2.7.2.2
>
I tried to compile GNU groff too with gcc 2.7.2.2 on a Dec Station
3300 running DU 4.0B, and I couldn't because It wanted the libg++ and
the README says you don't need it since gcc 2.5.8
All compiles fine, but He wants to link with libg++.
What can I do.
Regards, Thierry.
--
Thierry Baillon (System Manager) |"Emacs makes my life easier"
mailto:Thierry.Baillon@Meta-x.Org | -- Me (All opinions expressed are mine)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-12-17 5:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-16 5:00 libg++, groff1.11 Siggi Engelbrecht
1997-12-16 5:00 ` Alexander Kogan
1997-12-17 5:00 ` Groff problem (was: libg++, groff1.11) Thierry Baillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox