freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] The make is unsuccessful - Help pls - Thank you - Suggestion -
- From: "Petit, Frederic" <frederic.petit AT bankofamerica.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] The make is unsuccessful - Help pls - Thank you - Suggestion -
- Date: Fri, 25 Sep 2009 09:57:22 -0400
Thank you very much for this. I thought the compiler was the issue but
the configure does not choke on this. Maybe configure should throw an
error (suggestion).
Here is the msg I have on the compiler from configure
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking dependency style of cc... hp
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) no
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ANSI C... (cached) none needed
checking dependency style of cc... (cached) hp
checking how to run the C preprocessor... cc -E
checking whether cc understands -c and -o together... yes
checking for a sed that does not truncate output... /usr/bin/sed
And the end of the configure which does not end up with an error.
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing depfiles commands
(sdsc729a:freetds)$
Thanks again,
Frederic
BAC and proprietary
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Frediano Ziglio
Sent: Friday, September 25, 2009 3:20 AM
To: FreeTDS Development Group
Subject: Re: [freetds] The make is unsuccessful - Help pls -
>
> 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
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
[freetds] The make is unsuccessful - Help pls -,
Petit, Frederic, 09/24/2009
- <Possible follow-up(s)>
-
Re: [freetds] The make is unsuccessful - Help pls -,
Frediano Ziglio, 09/25/2009
-
Re: [freetds] The make is unsuccessful - Help pls - Thank you - Suggestion -,
Petit, Frederic, 09/25/2009
- Re: [freetds] The make is unsuccessful - Help pls - Thank you -Suggestion -, Petit, Frederic, 09/25/2009
-
Re: [freetds] The make is unsuccessful - Help pls - Thank you - Suggestion -,
Petit, Frederic, 09/25/2009
Archive powered by MHonArc 2.6.24.