From owner-freebsd-bugs Fri Nov 15 01:00:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA28240 for bugs-outgoing; Fri, 15 Nov 1996 01:00:07 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA28222; Fri, 15 Nov 1996 01:00:06 -0800 (PST) Resent-Date: Fri, 15 Nov 1996 01:00:06 -0800 (PST) Resent-Message-Id: <199611150900.BAA28222@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, dawes@xfree86.org 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 ; 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 Reply-To: dawes@xfree86.org To: FreeBSD-gnats-submit@freebsd.org Cc: dawes@xfree86.org X-Send-Pr-Version: 3.2 Subject: bin/2016: static libtcl references symbols that are not included Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2016 >Category: bin >Synopsis: static libtcl references symbols that are not included >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Nov 15 01:00:03 PST 1996 >Last-Modified: >Originator: David Dawes >Organization: The XFree86 Project >Release: FreeBSD 2.2-CURRENT i386 >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. >Audit-Trail: >Unformatted: