Re: Noobie, please help!
Gal Rubinstein <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <[email protected]> |
dumpbin is not available with mingw, so I used nm tool, there is a .def file, but, as you guessed, non of the missing symbols appear there, the DLL only contains the SQL*** symbols + some other ones. I guess it didn't include the db** symbols, I have to figure out what to build in order to make it work.... I'm guessing its src/dblib... m i right? Thanks. On Mon, Mar 9, 2009 at 7:03 PM, James K. Lowden <[email protected]>wrote: > Gal Rubinstein wrote: > > the dev-c++ created a FreeTDS.DLL file and the libFreeTDS.a. > > But we don't know what libFreeTDS.a is. I'll guess it's a static library > and not built correctly. You can check that with lib.exe. And you can > ignore it, since you want to use FreeTDS.DLL. > > IGI (I Googled it). > > > http://sig9.com/node/35 > http://www.adp-gmbh.ch/win/misc/mingw/dll.html > > It looks like your syntax is right, although it could be that, given a > choice between FreeTDS.DLL and libFreeTDS.a, "-lFreeTDS" chooses the .a. > You could try deleting it. > > Also, make sure your DLL exports the symbols it should e.g. dbinit. Use > dumpbin.exe: > > $ dumpbin -exports ntwdblib.dll | findstr dbinit > 43 55 00007A10 dbinit > > --jkl > _______________________________________________ > FreeTDS mailing list > [email protected] > http://lists.ibiblio.org/mailman/listinfo/freetds > -- Yours, Gal [email protected]