*BSD News Article 60933


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.hawaii.edu!ames!agate!howland.reston.ans.net!gatech!news.mathworks.com!fu-berlin.de!news.uni-potsdam.de!gs.dfn.de!news.coli.uni-sb.de!not-for-mail
From: ib14-3@broccoli.cs.uni-sb.de (Joerg Wallerich)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Help Installing libg++-2.7.1 on FreeBsd 2.1.0
Date: 1 Feb 1996 10:22:55 GMT
Organization: Computational Linguistics Dept., U Saarbruecken
Lines: 45
Message-ID: <4eq49v$cmg@coli-gate.coli.uni-sb.de>
References: <310F0B6E.41C67EA6@cst.com.au>
NNTP-Posting-Host: broccoli.cs.uni-sb.de
X-Newsreader: TIN [UNIX 1.3 950427BETA PL0]

Bala PERIASAMY (bala@cst.com.au) wrote:
: FreeBSD 2.1.0
: gcc 2.7.2 (with repo patch)
: GNU assembler version 1.92.3, FreeBSD $Revision: 1.4 $
: 
: 
: I have got gcc 2.7.2 installed with the repo patch.
: 
: I tried to get libg++2.7.1 install.
: when i do 
: /tmp/libg++-2.7.1> make
: 
: The following errors occur
: -------------------------------------------------------------
:                  from
: /usr/home/bala/libg++-2.7.1/libg++/src/../../libstdc++/cstdlib:5,
:                  from std.h:24,
:                  from builtin.h:32,
:                  from
: /usr/home/bala/libg++-2.7.1/libg++/src/SLList.cc:25:
: /usr/include/stdlib.h:42: warning: abstract declarator used as
: declaration
: /var/tmp/cc010200.s: Assembler messages:
: /var/tmp/cc010200.s:1169: Error: Unknown pseudo-op:  `.weak'
: *** Error code 1
: 
: Stop.
: *** Error code 1
: 
: Stop.
: *** Error code 1
: -----------------------------------------------------------------
: 
: Any help!!!!!!!!!



I have heard adding

#define SUPPORTS_WEAK 0

to config/xm-freebsd.h of GCC-2.7.2 and then recompile
the compiler would solve this problem, but i never tried myself.