Skip to Content.
Sympa Menu

freetds - [freetds] compilation issue

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <ThompBil AT exchange.uk.ml.com>
  • To: FreeTDS <freetds AT lists.ibiblio.org>
  • Subject: [freetds] compilation issue
  • Date: Wed, 5 Feb 2003 16:20:29 -0000

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
"../../include/replacements.h", line 38: syntax error before or at: const
"../../include/replacements.h", line 38: warning: undefined or missing type
for: const
"../../include/replacements.h", line 42: syntax error before or at: const
"../../include/replacements.h", line 42: warning: undefined or missing type
for: const
"../../include/replacements.h", line 42: warning: undefined or missing type
for: va_list
"asprintf.c", line 19: syntax error before or at: const
"asprintf.c", line 19: warning: undefined or missing type for: const
"asprintf.c", line 24: undefined symbol: __builtin_va_alist
"asprintf.c", line 25: undefined symbol: fmt

This makes no sense to me. I guess /usr/ucb/cc is an ANSI C compiler, but it
then complains that "warning: const is a keyword in ANSI C"

I'm probably being dumb here, but I'd appreciate any help....


¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Bill Thompson
Securities Services Division
Merrill Lynch Europe

For very important information relating to this e-mail please click on this
link: http://www.ml.com/legal_info.htm







Archive powered by MHonArc 2.6.24.

Top of Page