Skip to Content.
Sympa Menu

freetds - Re: [freetds] compilation issue

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Martin Spott <mas AT plesnik.de>
  • To: freetds AT lists.ibiblio.org
  • Subject: Re: [freetds] compilation issue
  • Date: Wed, 5 Feb 2003 18:41:26 +0100

On Wed, Feb 05, 2003 at 12:17:14PM -0500, Castellano, Nicholas wrote:
> I think /usr/ucb/cc is intentionally brain damaged on Sun systems.
[...]

/usr/ucb/cc is a shell script that calls ....

On Wed, Feb 05, 2003 at 05:21:23PM -0000, Thompson, Bill D (London) wrote:
> again, for what its worth...
>
> $ cc -v
> ### ucbcc: [...]

crimson: 18:32:45 ~> grep -v \^# /usr/ucb/cc | uniq

if [ -f /usr/ccs/bin/ucbcc ]
then
[...]
/usr/ccs/bin/ucbcc
[...]
else
echo "/usr/ucb/cc: language optional software package not
installed"
exit 1
fi


O.k., he _has_ the commercial Sun compiler.


> /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


>From the ChangeLog:

Sun Sep 22 22:07:52 EDT 2002 nsc <Nicholas_Castellano AT acml.com>
[...]
- Migrate asprintf() and vasprintf() replacement functions to a
libtool convenience library. Use AC_REPLACE_FUNCS() autoconf
macro to test for them. Add and use a header replacements.h
with replacement prototypes.

Maybe this library is tailored for use with GCC only ?

Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page