From owner-freebsd-questions Sun Jan 28 04:28:42 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA26569 for questions-outgoing; Sun, 28 Jan 1996 04:28:42 -0800 (PST) Received: from MediaCity.com (root@easy1.mediacity.com [205.216.172.10]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA26562 for ; Sun, 28 Jan 1996 04:28:38 -0800 (PST) Received: (from brian@localhost) by MediaCity.com (8.6.11/8.6.9) id EAA16783 for freebsd-questions@freebsd.org; Sun, 28 Jan 1996 04:31:10 -0800 From: Brian Litzinger Message-Id: <199601281231.EAA16783@MediaCity.com> Subject: troubles with tcl/tk To: freebsd-questions@freebsd.org Date: Sun, 28 Jan 1996 04:31:09 -0800 (PST) X-Mailer: ELM [version 2.4 PL24 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk I wrote a simple tcl/tk program called xtmplay. When I run it I keep getting brian@easysc>./xtmplay application-specific initialization failed: wrong version of Tk loaded (4.0): ne ed 3.4 or later % My compile/link looks like: cc -g -I/usr/local/include -I/usr/X11R6/include -o xtmplay xtmplay.c -L/usr/loca l/lib -ltk40 -ltcl74 -L/usr/X11R6/lib -lX11 -lm I just installed tk-4.0.2 & tcl-7.4 from FreeBSD-current/packages tk.h looks like .... #ifndef _TK #define _TK #define TK_VERSION "4.0" #define TK_MAJOR_VERSION 4 #define TK_MINOR_VERSION 0 ... I got the tkMainApp.c from /usr/local/lib/tk4.0 Where have I gone wrong? -- Brian Litzinger Powered by FreeBSD http[s]://www.mpress.com speakfree.mpress.com [use -t (GSM)] How to program in c++: //