Skip to Content.
Sympa Menu

freetds - Re: [freetds] build broken on OS X

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] build broken on OS X
  • Date: Fri, 28 Aug 2015 16:45:32 +0100

2015-08-28 0:54 GMT+01:00 Craig A. Berry <craigberry AT mac.com>:
> This is what I see with master as of 6ac57ef9e7eed5fcbcfa80. I don’t see
> anything obvious or recent that caused it, though 9b57e2ad99f7cc32 ("Allow
> to include replacements/readpassphrase.h directly”) from back in May is
> surely part of the picture. fisql.c itself has not changed in a year.
>
> Making all in apps
> Making all in fisql
> CC fisql.o
> fisql.c:414:3: warning: implicit declaration of function 'readpassphrase'
> is invalid in C99 [-Wimplicit-function-declaration]
> readpassphrase("Password: ", password,
> READPASSPHRASE_MAXLEN, RPP_ECHO_OFF);
> ^
> fisql.c:414:65: error: use of undeclared identifier 'RPP_ECHO_OFF'
> readpassphrase("Password: ", password,
> READPASSPHRASE_MAXLEN, RPP_ECHO_OFF);
>
> ^
> 1 warning and 1 error generated.
> make[3]: *** [fisql.o] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> I am getting this defined:
>
> $ grep READPASS include/config.h
> #define HAVE_READPASSPHRASE 1
>
> ________________________________________
> Craig A. Berry
> mailto:craigberry AT mac.com
>
> "... getting out of a sonnet is much more
> difficult than getting in."
> Brad Leithauser
>


I didn't test it but I think last commit will help Mac OS X :)

https://github.com/FreeTDS/freetds/commit/be1ec52d1cfe14a80a886d1e2edccf40eeff69d8

(happily I have a Mac to test the header source).

Frediano




Archive powered by MHonArc 2.6.24.

Top of Page