[Pkg-nagios-devel] Fwd: Nagios2 / Freetds unable to compile

Walter Sparbier walter.sparbier at googlemail.com
Thu May 18 15:59:23 UTC 2006

Hi !

First of all - thank you very much for providing these wonderful
nagios packages ;-)
We use Nagios a lot in the office.

Can you help me with this problem below ?
I have not entered a bug ticket because i am not sure if the problem
really is related to the nagios package. However i think it makes
sense to solve it in any way. A lot of people are monitoring MS SQL
Servers in Nagios and will face with the same problem sooner or later.


---------- Forwarded message ----------
From: Walter Sparbier <walter.sparbier at googlemail.com>
Date: 18.05.2006 17:51
Subject: Nagios2 / Freetds unable to compile
To: debian-user at lists.debian.org

Dear all,

I use freetds (www.freetds.org) to monitor MS SQL Servers with Nagios.

I used debian stable with nagios 1.x in the past and it worked perfectly.
I am now trying to migrate to Nagios2 (which is included in debian testing).

I can compile freetds without problems if nagios2 has not been
installed on the system. If i first install nagios2 and try to compile
the freetds package afterwards i get the following error message
during "make" (see below).

Any hints are more then welcome. I am a linux newbie. I asume that
some libaries are installed by the nagios2 packages and this is
causing the problem.

The strange thing - if i compile the nagios package from the nagios
homepage i can compile the freetds package afterwards. The problem
only occurs with the debian testing nagios2 package.


make[3]: Leaving directory `/home/walter/freetds-0.63/src/dblib'
make[2]: Leaving directory `/home/walter/freetds-0.63/src/dblib'
Making all in apps
make[2]: Entering directory `/home/walter/freetds-0.63/src/apps'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
-Wstrict-prototypes -Wmissing-prototypes -Wno-long-long  -g -O2 -MT
tsql.o -MD -M P -MF ".deps/tsql.Tpo" \
  -c -o tsql.o `test -f 'tsql.c' || echo './'`tsql.c; \
then mv ".deps/tsql.Tpo" ".deps/tsql.Po"; \
else rm -f ".deps/tsql.Tpo"; exit 1; \
/bin/sh ../../libtool --mode=link gcc  -g -O2   -o tsql  tsql.o
../tds/libtds_objects.la ../replacements/lib replacements.la
gcc -g -O2 -o tsql tsql.o -static-libgcc
../tds/.libs/libtds_objects.a ../replacements/.libs/libreplacement s.a
In function `__i686.get_ pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
c/tds/mem.c:86: first defined here
collect2: ld returned 1 exit status
make[2]: *** [tsql] Error 1
make[2]: Leaving directory `/home/walter/freetds-0.63/src/apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/walter/freetds-0.63/src'
make: *** [all-recursive] Error 1

More information about the Pkg-nagios-devel mailing list