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 09:01:52 -0800

On Wed, 2003-02-05 at 08:53, Thompson, Bill D (London) wrote:
> Thanks guys, Im getting some quality responses here!
>
> $ uname -a
> SunOS pinto 5.6 Generic_105181-07 sun4m sparc SUNW,SPARCstation-20
> $
>
> doesn't mean a lot to me..

Old, but not *that* old.

Shot in the dark: What does cc -v (or cc -V) give you? (don't know if
those options are even supported)

I'd try to install gcc to get a stable situation.

Michael

> > -----Original Message-----
> > From: Michael Peppler [SMTP:mpeppler AT peppler.org]
> > Sent: 05 February 2003 16:39
> > To: freetds AT lists.ibiblio.org
> > Subject: Re: [freetds] compilation issue
> >
> > 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
> > _______________________________________________
> > FreeTDS mailing list
> > FreeTDS AT lists.ibiblio.org
> > http://lists.ibiblio.org/mailman/listinfo/freetds
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
--
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