Article View: gnu.misc.discuss
Article #2301Can't compile groff-1.10
From: Jack Ellis
Date: Wed, 01 May 1996 00:00
Date: Wed, 01 May 1996 00:00
41 lines
2109 bytes
2109 bytes
Can someone help me with this?? I am desparately trying to compile groff-1.10 on a Sparc IPX running SunOS 4.1.3. I'm using gcc 2.7.0 with libg++. Every time I try to make (with either gmake or Sun's make I get this: /home/jacke/src/groff-1.10>make c++ -I. -I. -I../include -I./../include -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DHA VE_LIMITS_H=1 -DHAVE_SYS_DIR_H=1 -DHAVE_STDLIB_H=1 -DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1 -DSTDIO_H_DECLARES_POPEN=1 -DSTDIO_H_DECLARES_PCLOS E=1 -DHAVE_CC_OSFCN_H=1 -DHAVE_CC_LIMITS_H=1 -DRETSIGTYPE=void -DHAVE_STRUCT_EXC EPTION=1 -DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DWCOREFLAG=0200 -g -O -c string.cc string.cc: In method `int string::search(char) const': string.cc:273: call of overloaded `memchr' is ambiguous /usr/local/lib/g++-include/std/cstring.h:61: candidates are: memchr(void *, int, long unsigned int) /usr/local/lib/g++-include/std/cstring.h:58: memchr(const void * , int, long unsigned int) *** Error code 1 make: Fatal error: Command failed for target `string.o' Current working directory /usr/local/src/groff-1.10/libgroff *** Error code 1 make: Fatal error: Command failed for target `libgroff' Current working directory /usr/local/src/groff-1.10 *** Error code 1 make: Fatal error: Command failed for target `all' Can any C++ gurus out there figure out what the problem is, and more importantly, how to fix it? Please help if you can! Any assistance will be greatly appreciated. Thanks!
Technical Details
Message-ID:
<4m8e5e$77j@hilbert.dnai.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8e07f086f3c4b017,start X-Google-Attributes: gid11318c,public X-Google-Thread: 1025b4,8e07f086f3c4b017,start X-Google-Attributes: gid1025b4,public From: jacke@hghed.com (Jack Ellis) Subject: Can't compile groff-1.10 Date: 1996/05/01 Message-ID: <4m8e5e$77j@hilbert.dnai.com> X-Deja-AN: 152446743 sender: jacke@hopf.dnai.com x-authenticated: jacke on POP host hopf.dnai.com organization: Direct Network Access x-posted-from: InterNews 1.0.7@d-84.dnai.com newsgroups: gnu.misc.discuss,gnu.gcc.help