From nobody@FreeBSD.ORG Sun Apr  4 22:54:44 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 20AE71512B; Sun,  4 Apr 1999 22:54:44 -0700 (PDT)
Message-Id: <19990405055444.20AE71512B@hub.freebsd.org>
Date: Sun,  4 Apr 1999 22:54:44 -0700 (PDT)
From: chris@calldei.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: libstdc++ has strange 'undefined reference' errors.
X-Send-Pr-Version: www-1.0

>Number:         10956
>Category:       gnu
>Synopsis:       libstdc++ has strange 'undefined reference' errors.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr  4 23:00:01 PDT 1999
>Closed-Date:    Fri Apr 9 10:29:34 PDT 1999
>Last-Modified:  Fri Apr  9 10:30:45 PDT 1999
>Originator:     Chris Costello
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
none
>Environment:
FreeBSD 4.0-CURRENT with egcs, CVSup'd and built today.
>Description:
Compiling a C++ program always fails with this error:

/usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'
>How-To-Repeat:
Compile any C++ program with egcs.
>Fix:
   I can't attempt to fix it, as a file is missing in /usr/include
-- that is _G_config.h.  Without it, libstdc++ doesn't compile.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: obrien 
Responsible-Changed-When: Sun Apr 4 23:36:01 PDT 1999 
Responsible-Changed-Why:  
I'm the guilty party... 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Fri Apr 9 10:29:34 PDT 1999 
State-Changed-Why:  
Fixed with the return of _G_config.h to gnu/lib/libstdc++ rather than generating 
it at compile time. 
>Unformatted:
