f



compiling Snack 2.2.10 vs tcl 8.6.1

I'm trying to compile snack 2.2.10 against tcl 8.6.1 on Windows 7 with
Visual Studio 2010.

Snack has the following in some .h

    #if TCL_MAJOR_VERSION == 8 && TCL_MINOR_VERSION < 4
    #define TCL_SEEK Tcl_Seek
    #define TCL_TELL Tcl_Tell
    #else
    #define TCL_SEEK Tcl_SeekOld
    #define TCL_TELL Tcl_TellOld
    #endif

and then uses TCL_SEEK(...) and TCL_TELL(...) in the C Code.

Now linking the DLL fails with two unresolved externals, Tcl_SeekOld()
and Tcl_TellOld().  (Linking against tcl 8.5.15 is fine).

Yes, the *Old() functions are deprecated, but this still puzzles me
since the prototypes are there, the stubs entries are there etc., and I
can't see any difference in the DLL-export status of the *Old functions
compared to the regular Tcl_Seek()/Tcl_Tell().

Short of changing the snack code, anyone else encountered this, hints?

TNX
R'
0
Ralf
5/6/2014 5:04:25 PM
comp.lang.tcl 23428 articles. 2 followers. Post Follow

1 Replies
735 Views

Similar Articles

[PageSpeed] 32

* Ralf Fassel <ralfixx@gmx.de>
| I'm trying to compile snack 2.2.10 against tcl 8.6.1 on Windows 7 with
| Visual Studio 2010.
--<snip-snip>--
| Now linking the DLL fails with two unresolved externals, Tcl_SeekOld()
| and Tcl_TellOld().  (Linking against tcl 8.5.15 is fine).
>
| Yes, the *Old() functions are deprecated, but this still puzzles me
| since the prototypes are there, the stubs entries are there etc., and I
| can't see any difference in the DLL-export status of the *Old functions
| compared to the regular Tcl_Seek()/Tcl_Tell().

Ok, seems that in tclDecls.h there are two lines

    #undef Tcl_SeekOld
    #undef Tcl_TellOld

which unconditionally take away the stubs definitions, but leave the
function declarations and stubs entries.  I can't find any hint why
these two are handled different from other functions, in fact right now
I can't find in 8.5.15 or 8.6.1 any hint that they are in fact to be
considered deprecated.

Any hints anyone?
R'
0
Ralf
5/7/2014 4:19:29 PM
Reply:

Similar Artilces:

Re: Puzzle: Converting 1-10 to 1,2,3,4,5,6,7,8,9,10 #2
I'm not sure I can actually do this, but I'll give an approach for doing = it; I think it could be done in a data step or in IML. Maybe someone = else can work out the code! =20 1. Take the original string and form a data set that creates an = observation for each value between the commas: 1-10,21,22,30-35,40,41 becomes 1-10 21 22 30-35 40 41 2. Take that new data set and search for a dash (using INDEX). If not = found, then output the value. If found, then assign the start value to = the part to the right of the dash, the ending value to the part to the = left of the dash, u...

ANN: Releases 2.2.1 and 2.2.2 of TclWS (Web Services for Tcl)
Announcing releases 2.2.1 and 2.2.2 of TclWS (Web Services for Tcl). They are available at http://core.tcl.tk/tclws -- +------------------------------------------------------------------------+ | Gerald W. Lester, President, KNG Consulting LLC | | Email: Gerald.Lester@kng-consulting.net | +------------------------------------------------------------------------+ ...

Java 1.4.2 Vs 1.5 Vs 1.6 #2
I'm sure this question has been posted but I've not found any definitive answer. I maintain a product line that consists of a dedicated Linux system running Java to provide a GUI interface as a control system for underlying hardware. I've been working to move to jdk 1.5 (not hard but I'm busy) and now this new DST thing which is not covered by the version I've been porting to (1.5.0-b64) makes me want to rething about going to the latest 1.6. It seems every version change had problems in the beginning and I didn't even try 1.6 because of that. Now I'm thinking abou...

ANNOUNCE: Tcl/Tk 8.4.6 rpm specification with thread 2.5.2 extension #2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 http://jfontain.free.fr/tcltk-8.4.6-2.spec Generated and tested on an up-to-date Red Hat Fedora Core 1 i386 system. The rpms install under /opt/tcltk and therefore do not conflict and peacefully coexist with the stock Redhat Tcl and Tk rpms. To build the rpms, download the Tcl/Tk 8.4.6 and Thread 2.5.2 sources from http://download.sourceforge.net/tcl/ into the /usr/src/redhat/SOURCES/ directory, place the specification file in the /usr/src/redhat/SPECS/ directory, then from that directory, type: ~ # rpmbuild -bb --clean tcltk-8.4.6-2.spec Note...

Python 2.6.1 + wxPython 2.8.9.1 compiled form source
Hi, I have a Red Hat 4.6 machone and I compiled and installed python 2.6.1 from source. Then, I compiled wxPython 2.8.9.1 form source too. And then, when I try to run it: # python Python 2.6.1 (r261:67515, Mar 4 2009, 20:10:49) [GCC 3.4.6 20060404 (Red Hat 3.4.6-10)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import wx Aborted Any hint? Anything I am missing? Anyhere to check? Read? Thanks in advance. This in my environment: LD_LIBRARY_PATH=/opt/wxPython/2.8.9.1/lib:/opt/py...

Upgrade from VO 1 - 2 - 2..1 -2.2 - 2.3 -2.4 - 2.5 - 2.6 - 2.7
About upgrade 2.5 - 2.7 at $ 384.00 For most products I'm using - the updates (2.0 - 2.1 - 2.7) are free... 2.0 to 3.0 might be worth + 10-30% of the original price? VO is + full price again & again - Full program price for every minor upgrade/bug-fix? I dropped out of the money/bugs [VO] at 2.5 after starting at 1.0 more than 10 years ago. Certainly whoever is making VO have to make a living; earning moneys: - that is OK! A 10 years old VO site; - 10 years later, how much have changed? http://www.yi.com/prany/cavo/cavofront.htm Even MS is not ...

Upgrade of Xalan 1.2.2 and Xerces 1.4.4 to Xalan 2.6 and Xerces 2.6.2
I've been tasked with upgrading the JVM from 1.3 to 1.4, and the third party libraries used by my company on our existing Java framework. I'm most worried about any problems that may occur due to upgrading Xalan and Xerces as our framework performs much XML transformation and processing. Does anyone have a link to known issues with such an upgrade (besides the Xalan / Xerces sites) ? Or has anyone done such an upgrade and can share their pearls of wisdom? Thanks Chris ...

Re: Puzzle: Converting 1-10 to 1,2,3,4,5,6,7,8,9,10 #6
All positive ranges? Thinking about a way to get SAS to do most of the work this is what I came up with.... 7227 %let string = 1-10,21,22,30-35,40,41; 7228 data _null_; 7229 length newstring $256; 7230 do _n_ = %qsysfunc(tranwrd(%superq(string),-,%str( to ))); 7231 newstring = catx(',',newstring,_n_); 7232 end; 7233 put 'NOTE: ' newstring=; 7234 run; NOTE: newstring=1,2,3,4,5,6,7,8,9,10,21,22,30,31,32,33,34,35,40,41 On 10/3/08, Paul Walker <walker.627@osu.edu> wrote: > What is the best way to convert a string like 1-10 to a string ...

Re: Puzzle: Converting 1-10 to 1,2,3,4,5,6,7,8,9,10 #8
You program does not work "the first time" becasue NUMSTR does not exist. 7235 Data _Null_; 7236 Length NewString $ 200 ; 7237 String = '1-10,21,22,30-35,40,41' ; 7238 7239 7240 call execute ( "proc format; value numstr " || 7241 String || 7242 " ='Nums'; run ;"); 7243 7244 Do _K = input(Scan( String , 1 , ',-' ),best12.) To 7245 input(Scan( String , -1 , ',-'),best12.); 7246 if put(_K,numstr.)='Nums' then ------- 484 NOTE 48...

XCode (2.4.1) Linking issue, wx 2.8.6, OS X 10.4.10, GCC4.0
Platform: Mac mini - intel dual core. I'm working through the examples in the "Cross-Platform GUI Programming with wxWidgets" books and I'm stuck on an XCode linking issue. The demos on the base wxMac code base build and work fine. So I know it's the XCode setup. I can't find the entry where the libraries are described. I've setup XCode using the wx-config --cxxflags and wx-config --libs When building the minimal code example in chapter two, the build completes and goes to the link stage where: "Linking /Volumes//u01/work/wx - example...

[ace-bugs] FW: building ACE 6.2.0/6.2.2 win XL C/C++ v12.1 on AIX7.1 results in compiler error when instantiating ace templates
--_004_80317163A516B94B988E1615F9FAFB1989DFD215otwlxg22opentex_ Content-Type: multipart/alternative; boundary="_000_80317163A516B94B988E1615F9FAFB1989DFD215otwlxg22opentex_" --_000_80317163A516B94B988E1615F9FAFB1989DFD215otwlxg22opentex_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable To: ace-bugs@list.isis.vanderbilt.edu<mailto:ace-bugs@list.isis.vanderbilt.= edu> Subject: [area]: [synopsis] ACE VERSION: 6.2.2 HOST MACHINE and OPERATING SYSTEM: AIX 7.1 TARGET MACHINE and OPERATING SYS...

Upgrading from 2.6.2.1 to 2.8.9
[Please do not mail me a copy of your followup] Hi, We have an older application that works fine when built against 2.6.2.1. When we tried upgrading to a newer version (2.8.6 is what we tried), it messed up our GUI. What should I be looking for as the likely culprit in our code? Is there a way I can see a CHANGELOG type file for wxWidgets to see what changes have been made between 2.6.2 and 2.8.9? Thanks! -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> ...

problems compile apache 2.2.8 under AIX 6.1
Hey all, I am trying to compile apache 2.2.8 with gcc 4.0.0 under AIX. I have no idea why it fails. The configure runs fine without any errors, but the make always fails. I've already tried to use gcc 4.2.2 without success. here the output of make: Making all in srclib Making all in apr /bin/sh /image/httpd-2.2.8/srclib/apr/libtool --silent -- mode=compile gcc -g -O2 -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE - I./include -I/image/httpd-2.2.8/srclib/apr/include/arch/unix -I./ include/arch/unix -I/image/httpd-2.2.8/srclib/apr/include -o passwd/ apr_getpass.lo -c passwd/apr_get...

Rere: cppunit 1.8.0
Hi Herard, I got exactly the same error when translating cppunit 1.9.10 with SuSE 9.0 and gcc 3.3.1 (I believe - I am here on a different system right now). I hoped it would run immediately, as usualy it does with ../configure, make, make install. I will investigate the problem this weekend. Cheers, Markus ...

Web resources about - compiling Snack 2.2.10 vs tcl 8.6.1 - comp.lang.tcl

Rust 1.1 speeds compiling, adds new APIs
The open source Rust systems language, developed by Mozilla Research with an emphasis on speed and thread safety, has been upgraded with a 1.1 ...

Feds put protest activity under microscope in compiling national 'risk forecast'
Use of social media, the spread of "citizen journalism," and the involvement of young people are among the key trends highlighted by a federal ...

10 Tips For Compiling A Deal Sheet
Compiling a deal sheet is a great way of taking stock of your experience and of seeing where your experience may be lacking.

Compiling 64-Bit Code
Describes the 64-bit features available in OS X.

Is there a benefit to compiling your code as you go?
Compiling allows you to fix errors quickly.

6 cool tools for compiling to JavaScript
Every programmer has a favorite language or two. JavaScript lovers are the luckiest these days because their language is taking over the Internet ...

Andrew Wiggins Is Already Compiling His NBA Highlight Reel
Sure, it's NBA Summer League action but Andrew Wiggins is still out there doing it. The Cavaliers and Sixers summer squads are playing tonight ...

We're Compiling Every Police-Involved Shooting In America. Help Us.
The United States has no database of police shootings. There is no standardized process by which officers log when they've discharged their weapons ...

Flat UI Pro Tutorial: Setting and Compiling Using LESS
In this video tutorial, you use components from Flat UI Pro to create a complete simple mail app using LESS. He takes you through the steps to ...

Industrious 4chan user is compiling a list of every videogame ever made
... me to enter a few hundreds of games into my Backloggery account , and I haven't even finished it yet. Ambitious 4chan user Data_baser is compiling ...

Resources last updated: 1/26/2016 11:19:10 PM