Skip to Content.
Sympa Menu

freetds - Re: [freetds] The make is unsuccessful - Help pls -

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] The make is unsuccessful - Help pls -
  • Date: Fri, 25 Sep 2009 10:19:39 +0200

>
> Hi,
>
>
>
> I'm trying to build freetds on a HP-UX box but the make
> fails. Is my compiler not the good one ? Here is the message.
>
>
>
> Can someone tell me what the error really is and what I should do.
>
>
>
>
>
> cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> -D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE
> -D_XOPEN_SOURCE_EXTENDED -D_REENTRANT -D_THREAD_SAFE
> -DDEBUG=1 -D_REENTRANT -g -Wdeclaration-after-statement -c
> asprintf.c -Wp,-M.deps/asprintf.TPlo -DPIC
>
> (Bundled) cc: warning 480: The -g option is available only
> with the C/ANSI C product; ignored.
>
> (Bundled) cc: warning 422: Unknown option
> "-Wdeclaration-after-statement" ignored.
>
> (Bundled) cc: "../../include/replacements/readpassphrase.h", line 49:
> error 1000: Unexpected symbol: "size_t".
>
> (Bundled) cc: "../../include/replacements/readpassphrase.h", line 49:
> error 1705: Function prototypes are an ANSI feature.
>
> (Bundled) cc: "../../include/replacements.h", line 66: error 1000:
> Unexpected symbol: "va_list".
>
> (Bundled) cc: "../../include/replacements.h", line 66: error 1705:
> Function prototypes are an ANSI feature.
>
> (Bundled) cc: "../../include/replacements.h", line 70: error 1705:
> Function prototypes are an ANSI feature.
>
> (Bundled) cc: "../../include/replacements.h", line 80: error 1000:
> Unexpected symbol: "size_t".
>
> (Bundled) cc: "../../include/replacements.h", line 80: error 1705:
> Function prototypes are an ANSI feature.
>
> (Bundled) cc: "../../include/replacements.h", line 80: error
> 1573: Type of "len" is undefined due to an illegal declaration.
>
> (Bundled) cc: "../../include/replacements.h", line 86: error 1000:
> Unexpected symbol: "tds_strlcat".
>
> (Bundled) cc: error 2017: Cannot recover from earlier errors,
> terminating.
>
> *** Error exit code 1
>
>
>
> Thanks,
>
> Frederic
>
>
>
> BAC and proprietary
>

You need a ANSI/C compiler. Personally I use gcc, you can download
from http://hpux.connect.org.uk/ or from hp software. Or you can use
hp one.

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page