🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2302

Re: Can't compile groff-1.10

#2302
From: Josh Stern
Date: Wed, 01 May 1996 00:00
34 lines
1668 bytes
Jack Ellis <jacke@hghed.com> wrote:
>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:
>-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'

That's part of the C++ std library.  Normally you
would already have string.o archived as part of
libstdc++.a  Try removing that file from your
make and just link with -lstdc++


- Josh



--
-------------------------------------------------------------------------------
jstern
jstern@primenet.com
-------------------------------------------------------------------------------
Technical Details
Message-ID: <4m8g7a$519@nnrp1.news.primenet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4m8e5e$77j@hilbert.dnai.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8e07f086f3c4b017
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1025b4,8e07f086f3c4b017
X-Google-Attributes: gid1025b4,public
From: jstern@primenet.com (Josh Stern)
Subject: Re: Can't compile groff-1.10
Date: 1996/05/01
Message-ID: <4m8g7a$519@nnrp1.news.primenet.com>
X-Deja-AN: 152457066
sender: root@primenet.com
references: <4m8e5e$77j@hilbert.dnai.com>
organization: Primenet Services for the Internet
x-posted-by: jstern@usr3.primenet.com
newsgroups: gnu.misc.discuss,gnu.gcc.help