Skip to Content.
Sympa Menu

freetds - Any issues compiling FreeTDS v0.51 on FreeBSD v4.1?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Frank J. Lundy" <flundy AT verio.net>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Any issues compiling FreeTDS v0.51 on FreeBSD v4.1?
  • Date: Fri, 01 Dec 2000 09:57:12 -0500


I am trying to compile FreeTDS v0.51 on a FreeBSD-based host.
The following error occurs:

Error expanding embedded variable.
*** Error code 1

Are there any known issues compiling for FreeBSD, and/or use
w/ Sybase ASE v11.5.1, ASE v11.9.x and ASE v12.x?

A complete listing of `configure` and `make` follows. Thanks
in advance.
-FJL

------

gizmo(sybase):/usr/shared/sybase/freetds-0.51[113]% configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking host system type... i386-unknown-freebsd4.1
checking build system type... i386-unknown-freebsd4.1
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/libexec/elf/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd4.1 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for socket in -lsocket... no
checking for ANSI C header files... yes
checking is FIONBIO defined... yes
checking whether byte ordering is bigendian... no
updating cache ./config.cache
creating ./config.status
creating include/tdsver.h
creating Makefile
creating include/Makefile
creating src/Makefile
creating src/tds/Makefile
creating src/tds/unittests/Makefile
creating src/dblib/Makefile
creating src/dblib/unittests/Makefile
creating src/ctlib/Makefile
creating src/ctlib/unittests/Makefile

creating src/server/Makefile
creating src/odbc/Makefile
gizmo(sybase):/usr/shared/sybase/freetds-0.51[114]% make
Making all in include
Making all in src
Making all in tds
Making all in unittests
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c mem.c
mkdir .libs
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
mem.c -o .libs/mem.lo
In file included from ../../include/tds.h:52,
from mem.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c mem.c -o mem.
o >/dev/null 2>&1
mv -f .libs/mem.lo mem.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c token.c
rm -f .libs/token.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
token.c -o .libs/token.lo
In file included from ../../include/tds.h:52,
from token.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c token.c -o to
ken.o >/dev/null 2>&1
mv -f .libs/token.lo token.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c util.c
rm -f .libs/util.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
util.c -o .libs/util.lo
In file included from ../../include/tds.h:52,
from ../../include/tdsutil.h:23,
from util.c:44:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c util.c -o uti
l.o >/dev/null 2>&1
mv -f .libs/util.lo util.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c login.c
rm -f .libs/login.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
login.c -o .libs/login.lo
In file included from ../../include/tds.h:52,
from login.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c login.c -o lo
gin.o >/dev/null 2>&1
mv -f .libs/login.lo login.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c read.c

rm -f .libs/read.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
read.c -o .libs/read.lo
In file included from ../../include/tds.h:52,
from read.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c read.c -o rea
d.o >/dev/null 2>&1
mv -f .libs/read.lo read.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c write.c
rm -f .libs/write.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
write.c -o .libs/write.lo
In file included from ../../include/tds.h:52,
from write.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c write.c -o wr
ite.o >/dev/null 2>&1
mv -f .libs/write.lo write.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c convert.c
rm -f .libs/convert.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
convert.c -o .libs/convert.lo
In file included from ../../include/tds.h:52,
from ../../include/tdsutil.h:23,
from convert.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c convert.c -o
convert.o >/dev/null 2>&1
mv -f .libs/convert.lo convert.lo
/bin/sh ../../libtool --mode=compile gcc -DPACKAGE=\"freetds\"
-DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I. -I../../i
nclude -g -O2 -DTDS50 -c numeric.c
rm -f .libs/numeric.lo
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c -fPIC -DPIC
numeric.c -o .libs/numeric.lo
In file included from ../../include/tds.h:52,
from numeric.c:20:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
which is deprecated, use <stdlib.h> instead
"
gcc -DPACKAGE=\"freetds\" -DVERSION=\"0.51\" -DSTDC_HEADERS=1 -I. -I.
-I../../include -g -O2 -DTDS50 -c numeric.c -o
numeric.o >/dev/null 2>&1
mv -f .libs/numeric.lo numeric.lo
/bin/sh ../../libtool --mode=link gcc -g -O2 -DTDS50 -o libtds.la -rpath
/usr/local/freetds/lib mem.lo token.lo uti
l.lo login.lo read.lo write.lo convert.lo numeric.lo
rm -fr .libs/libtds.la .libs/libtds.* .libs/libtds.*
gcc -shared mem.lo token.lo util.lo login.lo read.lo write.lo convert.lo
numeric.lo -lc -Wl,-soname -Wl,libtds.so.
0 -o .libs/libtds.so.0
(cd .libs && rm -f libtds.so && ln -s libtds.so.0 libtds.so)
(cd .libs && rm -f libtds.so && ln -s libtds.so.0 libtds.so)

ar cru .libs/libtds.a mem.o token.o util.o login.o read.o write.o convert.o
numeric.o
ranlib .libs/libtds.a
creating libtds.la
(cd .libs && rm -f libtds.la && ln -s ../libtds.la libtds.la)
Making all in ctlib
Error expanding embedded variable.
*** Error code 1

Stop in /usr/shared/sybase/freetds-0.51/src.
*** Error code 1

Stop in /usr/shared/sybase/freetds-0.51.
gizmo(sybase):/usr/shared/sybase/freetds-0.51[115]%

*EOF*




Archive powered by MHonArc 2.6.24.

Top of Page