freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] Compiling freetds 0.61 source in cygwin
- From: Anthony Kong <anthony.kong AT ufjia.com>
- To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Compiling freetds 0.61 source in cygwin
- Date: Mon, 28 Apr 2003 11:39:26 +0800
Hi,
Thanks for your reply.
First of all I did not find any include/config.h. Instead I have found
include/config.h.in.
Using grep I found this lines:
232:/* The size of a `short', as computed by sizeof. */
233:#undef SIZEOF_SHORT
In the config.log I see something interesting...
===========================================================
configure:8899: checking for __int64
configure:8920: gcc -c -g -O2 -D_FREETDS_LIBRARY_SOURCE conftest.c >&5
configure: In function `main':
configure:8942: `__int64' undeclared (first use in this function)
configure:8942: (Each undeclared identifier is reported only once
configure:8942: for each function it appears in.)
configure:8942: parse error before ')' token
configure:8923: $? = 1
configure: failed program was:
#line 8904 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
# include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
int
main ()
{
if ((__int64 *) 0)
return 0;
if (sizeof (__int64))
return 0;
;
return 0;
}
configure:8939: result: no
configure:8942: checking size of __int64
configure:9212: result: 0
configure:9223: error: No 16-bit int found.
===========================================================
The 16-bit int test seems to have very little output. Could __int64 interfer
the test of 16int or simply the test of 16int is skipped altogether by
configure?
Anyway, i have attached the full log file.
Regards,
Anthony
-----Original Message-----
From: Lowden, James K [mailto:LowdenJK AT bernstein.com]
Sent: Friday, April 25, 2003 11:15 PM
To: 'FreeTDS Development Group'
Subject: RE: [freetds] Compiling freetds 0.61 source in cygwin
> From: Anthony Kong [mailto:anthony.kong AT ufjia.com]
> Sent: April 25, 2003 12:21 AM
>
> When I run ./configure, I encountered the error message:
>
> [snip]
> checking size of char...
> checking for short... yes
> checking size of short...
> checking for long... yes
> checking size of long...
> checking for int... yes
> checking size of int...
> checking for float... yes
> checking size of float...
> checking for double... yes
> checking size of double...
> checking for long double... yes
> checking size of long double...
> checking for long long... yes
> checking size of long long...
> checking for __int64... no
> checking size of __int64... 0
> configure: error: No 16-bit int found.
>
> How can I get around this problem? The version of cygwin is
>
> CYGWIN_NT-5.0 WS054 1.3.15(0.63/3/2) 2002-11-06 22:41 i686 unknown
Nothing leaps out at me, Anthony. The message implies that the "short" type
isn't 16 bits, which if course it is....
Let's start with something simple. What says "grep -i short
include/config.h"? I get:
/* The size of a `short', as computed by sizeof. */
#define SIZEOF_SHORT 2
Also, does config.log offer any hint?
--jkl
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
-
[freetds] Compiling freetds 0.61 source in cygwin,
Anthony Kong, 04/25/2003
- <Possible follow-up(s)>
- RE: [freetds] Compiling freetds 0.61 source in cygwin, Lowden, James K, 04/25/2003
-
RE: [freetds] Compiling freetds 0.61 source in cygwin,
Anthony Kong, 04/27/2003
- Re: [freetds] Compiling freetds 0.61 source in cygwin, James K. Lowden, 04/28/2003
-
RE: [freetds] Compiling freetds 0.61 source in cygwin,
Anthony Kong, 04/29/2003
-
RE: [freetds] Compiling freetds 0.61 source in cygwin,
Frediano Ziglio, 04/29/2003
- Re: [freetds] Compiling freetds 0.61 source in cygwin, James K. Lowden, 04/29/2003
- Re: [freetds] Compiling freetds 0.61 source in cygwin, James K. Lowden, 04/29/2003
-
RE: [freetds] Compiling freetds 0.61 source in cygwin,
Frediano Ziglio, 04/29/2003
Archive powered by MHonArc 2.6.24.