From owner-freebsd-libh Wed Dec 12 7:32:10 2001 Delivered-To: freebsd-libh@freebsd.org Received: from icicle.winternet.com (icicle.winternet.com [198.174.169.13]) by hub.freebsd.org (Postfix) with ESMTP id AAC0C37B405 for ; Wed, 12 Dec 2001 07:32:07 -0800 (PST) Received: from tundra.winternet.com (nrahlstr@tundra.winternet.com [198.174.169.11]) by icicle.winternet.com (8.12.1/8.12.1/sci) with ESMTP id fBCFW6w8024657 for ; Wed, 12 Dec 2001 09:32:06 -0600 (CST) SMTP "HELO" (ESMTP) greeting from tundra.winternet.com But _really_ from :: nrahlstr@tundra.winternet.com [198.174.169.11] SMTP "MAIL From:" = nrahlstr@mail.winternet.com (Nathan Ahlstrom) SMTP "RCPT To:" = Received: (from nrahlstr@localhost) by tundra.winternet.com (8.8.7/8.8.4) id JAA08979 for freebsd-libh@FreeBSD.org; Wed, 12 Dec 2001 09:32:05 -0600 (CST) Date: Wed, 12 Dec 2001 09:32:05 -0600 From: Nathan Ahlstrom To: freebsd-libh@FreeBSD.org Subject: hello_world example error. Message-ID: <20011212093205.A8968@winternet.com> Mail-Followup-To: freebsd-libh@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Has anyone seen this error when trying to run doc/examples/hello_world.tcl? Does anyone know how to fix this, I have tried adding an explicit 'load' call for libtvision and libncurses, but without success. ahlstn1-laptop {27} % tclsh8.3 hello_world.tcl couldn't load file "../../compile/text+graphics/libhui.so.0": ../../compile/text+graphics/libhui.so.0: Undefined symbol "__ti7TWindow" while executing "load ../../compile/text+graphics/libhui.so.$H_VERSION" (file "hello_world.tcl" line 26) I had to adjust the 'load' path in the file, apply the following diff to see the changes. Index: hello_world.tcl =================================================================== RCS file: /home/libh/cvs/libh/doc/examples/hello_world.tcl,v retrieving revision 1.4 diff -u -r1.4 hello_world.tcl --- hello_world.tcl 2001/06/17 12:48:25 1.4 +++ hello_world.tcl 2001/12/12 15:30:37 @@ -20,11 +20,11 @@ # ---------------------------------------------------------------------- -load ../../lib/common/libh.so.$H_VERSION -load ../../lib/tcl/libhtcl.so.$H_VERSION -load ../../lib/file/libhfile.so.$H_VERSION -load ../../lib/hui/libhui.so.$H_VERSION -load ../../lib/tcl/libhtclhui.so.$H_VERSION +load ../../compile/text+graphics/libh.so.$H_VERSION +load ../../compile/text+graphics/libhtcl.so.$H_VERSION +load ../../compile/text+graphics/libhfile.so.$H_VERSION +load ../../compile/text+graphics/libhui.so.$H_VERSION +load ../../compile/text+graphics/libhtclhui.so.$H_VERSION # ---------------------------------------------------------------------- Nathan -- Nathan Ahlstrom / nra@NetBSD.org / nra@FreeBSD.org / GPG: 0x67BC9D19 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message