freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Wayne Simmons <wsimmons AT unicircuit.com>
- To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] need help installing on HP-UX 10.2
- Date: Fri, 4 Nov 2005 15:38:46 -0700
> christos said:
> The autoconf script should be fixed to provide socklen_t as an int if it
> is not present. As a quick hack, comment out the test in configure so that
> it does not fail, and then after you run configure edit config.h and
> add:
> #define socklen_t int
> or
> typedef int socklen_t;
Thank you for the expanded response, following your direction I have
modified the configure file to pass that test.
However, make failed (as expected I didn't change the config.h yet) so
I changed the ./include/config.h from #undef socklen_t to your first
suggestion "#define socklen_t int" still no luck. I removed that and tried
the second option: "typedef int socklen_t". Finally I tried the typedef with
the original "undef" but it still fails. Make fails at the same spot for
each attempt, perhaps it's not the socklen_t at the point where it's
failing, the errors are listed below:
(Bundled) cc: "../../include/replacements.h", line 46: error 1000:
Unexpected symbol: "va_list".
(Bundled) cc: "../../include/replacements.h", line 42: error 1705: Function
prototypes are an ANSI feature.
(Bundled) cc: "../../include/replacements.h", line 46: error 1705: Function
prototypes are an ANSI feature.
(Bundled) cc: "../../include/replacements.h", line 50: error 1705: Function
prototypes are an ANSI feature.
(Bundled) cc: "asprintf.c", line 25: error 1705: Function prototypes are an
ANSI feature.
(Bundled) cc: "asprintf.c", line 31: warning 526: Pointer implicitly
converted to integral value in assignment.
(Bundled) cc: "asprintf.c", line 31: warning 563: Argument #3 is not the
correct type.
replacements.h lines 45-47 are:
#if !HAVE_VASPRINTF
int vasprintf(char **ret, const char *fmt, va_list ap);
#endif /* !HAVE_VASPRINTF */
Why is it not recognizing a va_list, that's elementry ANSI C isn't it?
Thank you,
-Wayne
--
CAM Automation Programmer
Unicircuit Inc.
Littleton, Colorado
303-738-5390
> -----Original Message-----
> From: christos AT zoulas.com [mailto:christos AT zoulas.com]
> Sent: Friday, November 04, 2005 3:00 PM
> To: FreeTDS Development Group
> Subject: Re: [freetds] need help installing on HP-UX 10.2
>
> On Nov 4, 2:35pm, wsimmons AT unicircuit.com (Wayne Simmons) wrote:
> -- Subject: Re: [freetds] need help installing on HP-UX 10.2
>
> | Thank you for your help, but could you elaborate? I don't really know
> how to
> | "make it 'int'" can I just change socklen_t to int in the file
> configure?
> |
>
>
-
[freetds] need help installing on HP-UX 10.2,
Wayne Simmons, 11/04/2005
- Re: [freetds] need help installing on HP-UX 10.2, Christos Zoulas, 11/04/2005
- <Possible follow-up(s)>
-
Re: [freetds] need help installing on HP-UX 10.2,
Wayne Simmons, 11/04/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
Christos Zoulas, 11/04/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
James K. Lowden, 11/05/2005
- Re: [freetds] need help installing on HP-UX 10.2, Christos Zoulas, 11/05/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
James K. Lowden, 11/05/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
Christos Zoulas, 11/04/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
Wayne Simmons, 11/04/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
Frediano Ziglio, 11/05/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
will trillich, 11/10/2005
- Re: [freetds] need help installing on HP-UX 10.2, Frediano Ziglio, 11/10/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
will trillich, 11/10/2005
- Re: [freetds] need help installing on HP-UX 10.2, Christos Zoulas, 11/05/2005
-
Re: [freetds] need help installing on HP-UX 10.2,
Frediano Ziglio, 11/05/2005
Archive powered by MHonArc 2.6.24.