Hi Norbert!
On Thu, Jul 7, 2011 at 4:42 AM, Norbert Sendetzky
<norb...@linuxnetworks.de>wrote:
> Hi Guille
>
> > I'm having problems to setup an opendbx-windows environment with mssql,
> > using latest MinGW and MSys. I've been already be able to compile and
> put
> > freetds to work, and I'm now having problems compiling opendbx :).
>
> If you want to connect to an MS SQL server in an windows environment,
> please prefer the OpenDBX odbc backend :-)
>
Actually, I'm one of the mantainers of the DBXTalk project (before known as
SqueakDBX) and It'll be wonderful to compile it in both ways :).
>
> > I run the configure this way:
> >
> > *CPPFLAGS="-I/c/MinGW/msys/1.0/local/freetds/include"
> > LDFLAGS="-L/c/MinGW/msys/1.0/local/freetds/lib" ./configure
> --disable-utils
> > --with-backends="mssql"*
> >
> > When I run the make, I have some errors like the following:
> >
> > *undefined reference to `libintl_snprintf'*
> >
> > And in the config.log file I see the next lines:
> >
> > *configure:18866: gcc -std=gnu99 -o conftest.exe -g -O2
> > -I/c/MinGW/msys/1.0/local/freetds/include
> > -L/c/MinGW/msys/1.0/local/freetds/lib conftest.c>&5
> > conftest.c:72:6: warning: conflicting types for built-in function
> 'snprintf'
> > *
>
> Can you send me the make output including the output of STDERR? Based on
> your sent make.log I would assume everthing is OK.
>
The standard error output is the following:
.libs/libmssqlbackend_la-mssql_basic.o: In function `mssql_odbx_row_fetch':
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:502:
undefined reference to `libintl_snprintf'
.libs/libmssqlbackend_la-mssql_basic.o: In function `mssql_odbx_bind':
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:139:
undefined reference to `libintl_dgettext'
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:139:
undefined reference to `libintl_dgettext'
.libs/libmssqlbackend_la-mssql_basic.o: In function `mssql_err_handler':
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:816:
undefined reference to `libintl_snprintf'
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:818:
undefined reference to `libintl_snprintf'
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:809:
undefined reference to `libintl_fprintf'
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:810:
undefined reference to `libintl_fprintf'
.libs/libmssqlbackend_la-mssql_basic.o: In function `mssql_msg_handler':
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:848:
undefined reference to `libintl_snprintf'
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:842:
undefined reference to `libintl_fprintf'
C:\MinGW\msys\1.0\home\Administrador\libopendbx-1.5.0\backends\mssql/mssql_basic.c:850:
undefined reference to `libintl_snprintf'
collect2: ld returned 1 exit status
make[3]: *** [libmssqlbackend.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Do you think it's a problem with my minGW instalation? I've also installed
the package in http://gnuwin32.sourceforge.net/packages/gettext.htm to see
if it makes some difference.
Thanks in advance!
Guille
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
libopendbx-devel mailing list
libopendbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libopendbx-devel
http://www.linuxnetworks.de/doc/index.php/OpenDBX