Skip to Content.
Sympa Menu

freetds - Re: compile fails on solaris 2.6(fatal error in reader)

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: compile fails on solaris 2.6(fatal error in reader)
  • Date: Wed, 10 May 2000 07:56:30 -0400 (EDT)



you must use gmake. standard make won't work.

Brian

On Wed, 10 May 2000, Madhu wrote:

> Hello,
>
> I have problems compiling freetds on a Solaris 2.6 box. Here is the output
> I got for configure and make, I dont know what to make of the error. The
> compilation worked fine for my linux box, just not the solaris.
>
> bash-2.03# ./configure
> creating cache ./config.cache
> checking for a BSD compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking whether make sets ${MAKE}... yes
> checking for working aclocal... found
> checking for working autoconf... found
> checking for working automake... found
> checking for working autoheader... found
> 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 whether make sets ${MAKE}... (cached) yes
> checking for a BSD compatible install... ./install-sh -c
> checking for ranlib... :
> checking host system type... sparc-sun-solaris2.6
> checking build system type... sparc-sun-solaris2.6
> checking for ld used by GCC... /usr/ccs/bin/ld
> checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
> checking for BSD-compatible nm... /usr/ccs/bin/nm -p
> 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/ccs/bin/ld) is GNU ld... no
> checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
> yes
> checking command to parse /usr/ccs/bin/nm -p output... ok
> checking how to hardcode library paths into programs... immediate
> checking for /usr/ccs/bin/ld option to reload object files... -r
> checking dynamic linker characteristics... solaris2.6 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 how to run the C preprocessor... gcc -E
> checking for ANSI C header files... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for unistd.h... yes
> checking whether struct tm is in sys/time.h or time.h... time.h
> checking whether byte ordering is bigendian... yes
> checking for strftime... yes
> checking for socket... no
> updating cache ./config.cache
> creating ./config.status
> creating include/tdsver.h
> creating Makefile
> creating include/Makefile
> creating src/dblib/Makefile
> creating src/ctlib/Makefile
> creating src/Makefile
> creating src/tds/Makefile
> creating src/server/Makefile
> creating src/odbc/Makefile
> creating samples/Makefile
> creating src/dblib/unittests/Makefile
>
> bash-2.03# make
> Making all in src
> Making all in tds
> mksh: Fatal error in reader: = missing from replacement macro reference
> Current working directory /usr/local/src/freetds/src/tds
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr/local/src/freetds/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> bash-2.03#
>





Archive powered by MHonArc 2.6.24.

Top of Page