Skip to Content.
Sympa Menu

freetds - [freetds] freetds 0.6.3 / unable to compile on debian if nagios2 has been installed before

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Walter Sparbier" <walter.sparbier AT googlemail.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] freetds 0.6.3 / unable to compile on debian if nagios2 has been installed before
  • Date: Thu, 18 May 2006 17:41:51 +0200

Dear all,

I use freetds 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.

Regards,
Walter

________________
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
-D_FREETDS_LIBRARY_SOURCE -D_REENTRANT -D_T HREAD_SAFE -DDEBUG=1 -Wall
-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; \
fi
/bin/sh ../../libtool --mode=link gcc -g -O2 -o tsql tsql.o
../tds/libtds_objects.la ../replacements/lib replacements.la
-static-libgcc
gcc -g -O2 -o tsql tsql.o -static-libgcc
../tds/.libs/libtds_objects.a ../replacements/.libs/libreplacement s.a
/usr/lib/libc_nonshared.a(elf-init.oS)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):
In function `__i686.get_ pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
../tds/.libs/libtds_objects.a(mem.o)(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0):/home/walter/freetds-0.63/sr
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
etch:/home/walter/freetds-0.63#



  • [freetds] freetds 0.6.3 / unable to compile on debian if nagios2 has been installed before, Walter Sparbier, 05/18/2006

Archive powered by MHonArc 2.6.24.

Top of Page