Re: The make is unsuccessful - Help pls -

Frediano Ziglio <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.