www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/12/08/07:00:44

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
X-Authentication-Warning: smtp3.ihug.com.au: Host p24-max10.syd.ihug.com.au [203.173.155.24] claimed to be acceleron
Message-ID: <002301c17fdf$feb7af90$0102a8c0@acceleron>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Cc: <djgpp-workers AT delorie DOT com>
References: <002301c17fc5$47c9fff0$0102a8c0 AT acceleron> <5567-Sat08Dec2001130033+0200-eliz AT is DOT elta DOT co DOT il>
Subject: Re: groff-1.16 & GCC 3.02 broken, groff 1.17.2 & GCC 3.02 okay
Date: Sat, 8 Dec 2001 23:00:25 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Reply-To: djgpp-workers AT delorie DOT com

> > Today I updated to the latest CVS LIBC on my XP box which I now use GCC
3.02
> > (with Allegro fix). In checking that all the packages build I found that
> > groff-1.16 does not build due to C++ issues.
> >
> > I downloaded the latest stable release 1.17.2 from the GNU Groff home
page
> > and it compiles okay,
>
> IMHO, it's not a good idea to use 1.17, since the HTML device driver
> there is completely rewritten, and won't work with DJGPP unless
> ported.  Porting it is a non-trivial job.  (Volunteers are welcome,
> as always.)  That's the only reason I didn't release a port of 1.17
> several months ago, when it hit teh GNU FTP site.
>
> So I think it's better to fix whatever C++ problems you saw in 1.16,
> and release an updated port.  That way, we can also make sure Groff
> will build with older GCC versions as well (I think I tried 2.95
> series at the time).
>
> Perhaps posting the error messages you see in 1.16 would be a good
> starting point.

Below is the error message. Unfortunatly I don't have time for at least the
next two weeks to work on this isssue.

make.exe[2]: Entering directory `d:/dj204/gnu/groff-1.16/src/roff/groff'
gcc -I. -Id:/dj204/gnu/groff-1.16/src/roff/groff -Id:/dj204/gnu/groff-1.16/s
rc/include -Id:/dj204/gnu/groff-1.16/src/include -DHAVE_UNISTD_H=1  -DHAVE_D
IRENT_H=1  -DHAVE_LIMITS_H=1  -DHAVE_SYS_DIR_H=1  -DHAVE_STDLIB_H=1  -DHAVE_
STRINGS_H=1  -DSTDLIB_H_DECLARES_PUTENV=1  -DSTDIO_H_DECLARES_POPEN=1  -DSTD
IO_H_DECLARES_PCLOSE=1  -DHAVE_SYS_NERR=1  -DHAVE_SYS_ERRLIST=1  -DHAVE_CC_O
SFCN_H=1  -DHAVE_CC_LIMITS_H=1  -DRETSIGTYPE=void  -DHAVE_STRUCT_EXCEPTION=1
  -DHAVE_UNISTD_H=1  -DHAVE_GETPAGESIZE=1  -DHAVE_FMOD=1  -DHAVE_STRTOL=1  -
DHAVE_GETCWD=1  -DHAVE_STRERROR=1  -DHAVE_PUTENV=1  -DHAVE_RENAME=1  -DHAVE_
MKSTEMP=1  -DHAVE_STRCASECMP=1  -DHAVE_STRSEP=1  -DHAVE_STRDUP=1  -DSYS_SIGL
IST_DECLARED=1   -g -O2  -c groff.cc
gcc -I. -Id:/dj204/gnu/groff-1.16/src/roff/groff -Id:/dj204/gnu/groff-1.16/s
rc/include -Id:/dj204/gnu/groff-1.16/src/include -DHAVE_UNISTD_H=1  -DHAVE_D
IRENT_H=1  -DHAVE_LIMITS_H=1  -DHAVE_SYS_DIR_H=1  -DHAVE_STDLIB_H=1  -DHAVE_
STRINGS_H=1  -DSTDLIB_H_DECLARES_PUTENV=1  -DSTDIO_H_DECLARES_POPEN=1  -DSTD
IO_H_DECLARES_PCLOSE=1  -DHAVE_SYS_NERR=1  -DHAVE_SYS_ERRLIST=1  -DHAVE_CC_O
SFCN_H=1  -DHAVE_CC_LIMITS_H=1  -DRETSIGTYPE=void  -DHAVE_STRUCT_EXCEPTION=1
  -DHAVE_UNISTD_H=1  -DHAVE_GETPAGESIZE=1  -DHAVE_FMOD=1  -DHAVE_STRTOL=1  -
DHAVE_GETCWD=1  -DHAVE_STRERROR=1  -DHAVE_PUTENV=1  -DHAVE_RENAME=1  -DHAVE_
MKSTEMP=1  -DHAVE_STRCASECMP=1  -DHAVE_STRSEP=1  -DHAVE_STRDUP=1  -DSYS_SIGL
IST_DECLARED=1   -g -O2   -c pipeline.c
gcc -g -O2  -o groff groff.o pipeline.o
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a  -lm
groff.o: In function `possible_command::~possible_command()':
groff.cc:422: undefined reference to `operator delete[](void*)'
groff.cc:423: undefined reference to `operator delete[](void*)'
groff.o: In function `possible_command::~possible_command()':
groff.cc:422: undefined reference to `operator delete[](void*)'
groff.cc:423: undefined reference to `operator delete[](void*)'
groff.o: In function `possible_command::set_name(char const*)':
groff.cc:428: undefined reference to `operator delete[](void*)'
groff.o:groff.cc:434: more undefined references to `operator
delete[](void*)' follow
groff.o: In function `possible_command::set_name(char const*, char const*)':
groff.cc:435: undefined reference to `operator new[](unsigned long)'
groff.o: In function `possible_command::build_argv()':
groff.cc:481: undefined reference to `operator new[](unsigned long)'
groff.o(.eh_frame+0x12):groff.cc: undefined reference to
`__gxx_personality_v0'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(string.o): In function
`salloc(int, int*)':
string.cc:37: undefined reference to `operator new[](unsigned long)'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(string.o): In function
`sfree(char*, int)':
string.cc:42: undefined reference to `operator delete[](void*)'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(string.o): In function
`sfree_alloc(char*, int, int, int*)':
string.cc:51: undefined reference to `operator delete[](void*)'
string.cc:57: undefined reference to `operator new[](unsigned long)'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(string.o): In function
`srealloc(char*, int, int, int, int*)':
string.cc:72: undefined reference to `operator new[](unsigned long)'
string.cc:75: undefined reference to `operator delete[](void*)'
string.cc:67: undefined reference to `operator delete[](void*)'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(string.o): In function
`string::extract() const':
string.cc:288: undefined reference to `operator new[](unsigned long)'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(string.o)(.eh_frame+0x1
1):string.cc: undefined reference to `__gxx_personality_v0'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(fontfile.o): In
function `font::open_file(char const*, char**)':
fontfile.cc:61: undefined reference to `operator new[](unsigned long)'
fontfile.cc:64: undefined reference to `operator delete[](void*)'

LOOKS LIKE MORE OF THE SAME.... and then the following:


d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(nametoindex.o)(.eh_fram
e+0x11):nametoindex.cc: undefined reference to `__gxx_personality_v0'
d:/dj204/gnu/groff-1.16/src/libs/libgroff/libgroff.a(ptable.o)(.eh_frame+0x1
1):ptable.cc: undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
make.exe[2]: *** [groff] Error 1
make.exe[2]: Leaving directory `d:/dj204/gnu/groff-1.16/src/roff/groff'
make.exe[1]: *** [src/roff/groff] Error 2
make.exe[1]: Leaving directory `d:/dj204/gnu/groff-1.16'
make.exe: *** [all] Error 2


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019