From dawes@rf900.physics.usyd.edu.au  Fri Nov 15 00:51:59 1996
Received: from rf900.physics.usyd.edu.au (rf900.physics.usyd.edu.au [129.78.129.109])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id AAA27689
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 15 Nov 1996 00:51:57 -0800 (PST)
Received: (from dawes@localhost) by rf900.physics.usyd.edu.au (8.8.2/8.7.3) id TAA07288; Fri, 15 Nov 1996 19:51:51 +1100 (EST)
Message-Id: <199611150851.TAA07288@rf900.physics.usyd.edu.au>
Date: Fri, 15 Nov 1996 19:51:51 +1100 (EST)
From: David Dawes <dawes@rf900.physics.usyd.edu.au>
Reply-To: dawes@xfree86.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: dawes@xfree86.org
Subject: static libtcl references symbols that are not included
X-Send-Pr-Version: 3.2

>Number:         2016
>Category:       bin
>Synopsis:       static libtcl references symbols that are not included
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 15 01:00:03 PST 1996
>Closed-Date:    Sat May 23 02:11:56 PDT 1998
>Last-Modified:  Sat May 23 02:12:18 PDT 1998
>Originator:     David Dawes
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
The XFree86 Project
>Environment:

>Description:

XF86Setup, as included in XFree86 3.2, links against static tcl and tk
libraries by default (although it could probably use the dynamic libtcl
since it is part of the base FreeBSD 2.2 -- but this is irrelevant since
there is a real problem).  When building it, the link phase fails with
the following error:

tclBasic.o: Undefined symbol `_Tcl_LoadCmd' referenced from data segment
tclCmdIL.o: Undefined symbol `_TclGetLoadedPackages' referenced from text segment

This is because the static library includes references to tcl functions
that don't get included when building static.

nm /usr/lib/libtcl.a | grep Tcl_LoadCmd shows:

         U _Tcl_LoadCmd

>How-To-Repeat:

Compile XF86Setup in XFree86 3.2.

>Fix:
	
I don't have one.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: phk 
State-Changed-When: Sat May 23 02:11:56 PDT 1998 
State-Changed-Why:  
fixed in some quasi-distant past. 
>Unformatted:
