Skip to Content.
Sympa Menu

freetds - [freetds] Problems building

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Brian Ipsen" <Brian.Ipsen AT andebakken.dk>
  • To: <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Problems building
  • Date: Sun, 24 Nov 2002 23:07:52 +0100

Hi!

I've been broiwsing through the documentation, the Install and Readme
files - but haven't foudn a clue to why the building of freetds 0.60 fails
on my RedHat 7.2 system.

I run configure like this:

CFLAGS="-O3 -march=`uname -m` -mcpu=`uname -m` -funroll-loops" \
LDFLAGS="-lz" \
./configure \
--prefix=/usr \
--bindir=/usr/bin \
--mandir=/usr/share/man \
--libexecdir=/usr/libexec/freetds \
--sbindir=/usr/sbin \
--sysconfdir=/etc/freetds \
--localstatedir=/var \
--enable-msdblib \
--enable-dbmfix \
--with-ssl \
--with-tdsver=8.0

When doing "make" I end up with:

gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -O3 -march=i686
-mcpu=i686 -funroll-loops -I/usr/include/openssl -DTDS80 -c
dblib.c -fPIC -DPIC -o .libs/dblib.o
dblib.c: In function `dbsetversion':
dblib.c:2232: `g_dblib_version' undeclared (first use in this function)
dblib.c:2232: (Each undeclared identifier is reported only once
dblib.c:2232: for each function it appears in.)
make[3]: *** [dblib.lo] Error 1
make[3]: Leaving directory `/var/tmp/freetds-0.60/src/dblib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/freetds-0.60/src/dblib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/freetds-0.60/src'
make: *** [all-recursive] Error 1

Can anyone tell me why ? - And maybe how to fix it ??

Thanks in advance

/Brian





Archive powered by MHonArc 2.6.24.

Top of Page