Built Tclodbc 2.5 on Mac OS X 10.4

View: New views
1 Messages — Rating Filter:   Alert me  

Built Tclodbc 2.5 on Mac OS X 10.4

by Philipp Roessler :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I haven't figured out how to build Tclodbc 2.5 on my Intel Mac  
running OSX 10.4. I just installed the most recent version of  
ActiveTcl 8.5 (8.5.2.0.284846-macosx-universal-threaded) and  
downloaded the tclodbc_2.5.1 sources.

My build almost worked after with the following setup:

  1. 'configure':
  % CC = g++ configure --enable-gxx

  2. modify tclodbc.cxx:
(below #include "tclodbc.hxx":)
#define SDWORD SQLINTEGER

  3.  modify statemnt.cxx:
(below #include "tclodbc.hxx":)
#define SQLINTEGER long int

  4. 'make' leads to a linker error:
ld: Undefined symbols:
__Z10MapSqlTypel

Can anybody tell me how to improve my build settings?

Best regards

Philipp R.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac