Skip to Content.
Sympa Menu

freetds - Re: [freetds] compilation issue

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] compilation issue
  • Date: 05 Feb 2003 08:39:19 -0800

On Wed, 2003-02-05 at 08:20, Thompson, Bill D (London) wrote:
> Hi,
>
> I'm trying to compile FreeTDS on a SUN solaris box that's unfamiliar to me.
>
> I'm getting some errors that I'm at pains to understand. I know there's some
> people out there with much more knowledge of the different compilers than
> me, so I'll throw myself on your tender mercies.
>
> On this box the default cc compiler appears to be /usr/ucb/cc . There is no
> gcc on the box.
>
> Out of configure , Ive gotten:
>
> checking for /usr/ucb/cc option to accept ANSI C... none needed
> ...
> checking for asprintf... no
> checking for vasprintf... no
> ...
>
> then out of make I've gotten:
>
> /usr/ucb/cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -DTDS50 -g -c asprintf.c -KPIC -DPIC
> -o .libs/asprintf.o
> "asprintf.c", line 24: va_start: argument mismatch
> "../../include/replacements.h", line 38: warning: const is a keyword in ANSI
> C

Err - what version of Solaris is this?

These errors look suspiciously like those coming from the old K&R C
compiler from SunOS 4.x...

Michael
--
Michael Peppler Data Migrations, Inc.
mpeppler AT peppler.org http://www.mbay.net/~mpeppler
Sybase T-SQL/OpenClient/OpenServer/C/Perl developer available for short or
long term contract positions - http://www.mbay.net/~mpeppler/resume.html




Archive powered by MHonArc 2.6.24.

Top of Page