Andrew Kenneth Milton wrote You have to do some serious munging of the freetds codebase including copying over all the Sybase include files from the sybase distribution, as well as commenting out a lot of stuff from the SybaseAdapter (the Linux Sybase libraries I had didn't seem to be as up to date as the ones the Adapter was linked against).
A few comments: You'll need a more recent release of Sybase than the old free 11.0.3 version. There's an 11.9.2 that you can download. I _suspect_ that most of the issues with the Sybase C adaptor are to do with it exposing just about every #defined constant from the Sybase include files - just commenting out the ones that FreeTDS doesn't have will probably get you most of the way there... Anthony
+----[ Anthony Baxter ]--------------------------------------------- | >>> Andrew Kenneth Milton wrote | > You have to do some serious munging of the freetds codebase including | > copying over all the Sybase include files from the sybase distribution, | > as well as commenting out a lot of stuff from the SybaseAdapter (the Linux | > Sybase libraries I had didn't seem to be as up to date as the ones the | > Adapter was linked against). | | A few comments: You'll need a more recent release of Sybase than the | old free 11.0.3 version. There's an 11.9.2 that you can download. I only really need it to talk to MS-SQL 6.5 and it is working so the 11.0.3 header files seem to be enough. I also didn't want to have anything radically divergent from the FreeTDS base, so I figured an earlier release was better. | I _suspect_ that most of the issues with the Sybase C adaptor are to | do with it exposing just about every #defined constant from the Sybase | include files - just commenting out the ones that FreeTDS doesn't have | will probably get you most of the way there... You are right on the money here, although once you transfer over the Sybase include files there's a lot less to comment out :-) -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 | M:+61 416 022 411 | Carpe Daemon PO Box 837 Indooroopilly QLD 4068 |akm@theinternet.com.au|
participants (2)
-
Andrew Kenneth Milton -
Anthony Baxter