Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 1996 19:51:51 +1100 (EST)
From:      David Dawes <dawes@rf900.physics.usyd.edu.au>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dawes@xfree86.org
Subject:   bin/2016: static libtcl references symbols that are not included
Message-ID:  <199611150851.TAA07288@rf900.physics.usyd.edu.au>
Resent-Message-ID: <199611150900.BAA28222@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611150851.TAA07288>