Hi Mariano, On Norberts suggestion I'm cutting over to try with the DBXObcPlatform but I'm still getting a fatal error on odbx_bind.
I was wondering, if I'm using DBXOdbcPlatform won't I need to give it a DSN rather than a host name? Are there any special instructions for configuring DBXConnectionSettings on an ODBC connection? Regards, Miguel On 18 March 2011 21:55, Mariano Martinez Peck <[email protected]> wrote: > Hi Miguel, what happens if you try with 1.5.0 ?? > > As far as I can see in 1.4.5, odbxlib.c at the end there is a big if: > > #ifdef HAVE_WINDOWS_H > #include <windows.h> > #endif > > > static int _odbx_lib_register( struct odbx_t* handle, const char* library ) > > -...... > > > #else > #error "Building shared libraries requires capabilities to load libraries > dynamically" > #endif > > > I have no idea.....Norbert will probably help you. > > Cheers > > Mariano > > > > On Fri, Mar 18, 2011 at 12:10 PM, Miguel Sanchez <[email protected]> > wrote: >> >> Hi All, >> >> I'm trying to make opendbx-1.4.5 under MingW on Win XP SP3. I get the >> following error on make . >> (Despite this error I can see it has built >> ./backends/mssql/.libs/libmssqlbackend-1.dll). I presume what is not >> being built is libopendbx? >> . >> . >> . >> libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. >> -DLIBVERSION=10405 -D >> LOCALEDIR=\"/usr/local/share/locale\" -DLIBPATH=\"/usr/local/lib/opendbx\" >> -DLIB >> PREFIX=\"lib\" -DLIBSUFFIX=\"-1.dll\" -Ic:/mingw/msys/1.0/local/include -g >> -O2 - >> MT libopendbx_la-odbxlib.lo -MD -MP -MF .deps/libopendbx_la-odbxlib.Tpo -c >> odbxl >> ib.c -DDLL_EXPORT -DPIC -o .libs/libopendbx_la-odbxlib.o >> odbxlib.c:259:2: error: #error "Building shared libraries requires >> capabilities >> to load libraries dynamically" >> make[2]: *** [libopendbx_la-odbxlib.lo] Error 1 >> make[2]: Leaving directory `/opendbx/lib' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/opendbx' >> make: *** [all] Error 2 >> >> My configuration was as follows. >> >> $ CPPFLAGS="-Ic:/mingw/msys/1.0/local/include" >> LDFLAGS="-Lc:/mingw/msys/1.0/loc >> al/lib" configure --disable-utils --with-backends="mssql" >> >> >> Best Regards, >> >> >> Miguel >> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> libopendbx-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/libopendbx-devel >> http://www.linuxnetworks.de/doc/index.php/OpenDBX > > > ------------------------------------------------------------------------------ > Colocation vs. Managed Hosting > A question and answer guide to determining the best fit > for your organization - today and in the future. > http://p.sf.net/sfu/internap-sfd2d > _______________________________________________ > libopendbx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/libopendbx-devel > http://www.linuxnetworks.de/doc/index.php/OpenDBX > > ------------------------------------------------------------------------------ Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d _______________________________________________ libopendbx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libopendbx-devel http://www.linuxnetworks.de/doc/index.php/OpenDBX
