freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Ian Jones <ian.jones AT adambank.com>
- To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Error in make on HP UX11
- Date: Wed, 5 Mar 2003 16:02:06 -0000
Hi
Is this the bit you require :- (yes using version 0.61)
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
long longval () { return (long) (sizeof (char)); }
unsigned long ulongval () { return (long) (sizeof (char)); }
#include <stdio.h>
#include <stdlib.h>
int
main ()
{
FILE *f = fopen ("conftest.val", "w");
if (! f)
exit (1);
if (((long) (sizeof (char))) < 0)
{
long i = longval ();
if (i != ((long) (sizeof (char))))
exit (1);
fprintf (f, "%ld\n", i);
}
else
{
unsigned long i = ulongval ();
if (i != ((long) (sizeof (char))))
exit (1);
fprintf (f, "%lu\n", i);
}
exit (ferror (f) || fclose (f) != 0);
;
return 0;
}
configure:6642: error: cannot compute sizeof (char), 77
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=hppa2.0w-hp-hpux11.00
Ian
-----Original Message-----
From: Lowden, James K [mailto:LowdenJK AT bernstein.com]
Sent: 05 March 2003 16:00
To: 'FreeTDS Development Group'
Subject: RE: [freetds] Error in make on HP UX11
> From: Ian Jones [mailto:ian.jones AT adambank.com]
> Sent: March 5, 2003 3:44 AM
> # ./configure
> checking for a BSD-compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for gawk... no
> checking for mawk... no
> checking for nawk... no
> checking for awk... awk
> checking whether make sets ${MAKE}... yes
> checking build system type... hppa2.0w-hp-hpux11.00
> checking host system type... hppa2.0w-hp-hpux11.00
> checking for gcc... gcc
> checking for C compiler default output... 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... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
...
> checking whether INADDR_NONE is defined... yes
> checking for char... yes
> checking size of char... configure: error: cannot compute
> sizeof (char), 77
Well, yes, that did help a little. :)
What the above makes clear is you're using GNU gcc 3.x -- I'm still at 2.95,
but others are using 3.x, I'm sure -- and HP's linker. I guess that's OK.
The configure script produces a file config.log that contains the test that
was used to try to determine sizeof(char). If config.log isn't clear, try
"sh +x configure".
What's weird is that "77" hanging out on the right, slouching, cigarette
drooping from his lips. He doesn't belong there and he's trouble, if you
ask me.
Remind me, please. Is this the 0.61 release you're using?
Regards,
--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
-------------
This message is confidential and for use by the addressee only. If the
message
is received by anyone other than the addressee, please return the message to
the sender by replying to it and then delete the message from your computer.
Because Internet communications are not secure Adam & Company does not
accept responsibility for changes made to this message after it was sent.
-------------
Adam & Company plc and Adam & Company Investment Management Limited
are regulated by the Financial Services Authority
Adam & Company International Limited is licenced under the Banking
Supervision
(Bailiwick of Guernsey) Law 1994 and regulated by the Guernsey Financial
Services Commission
-------------
Adam & Company plc
Registered in Scotland number 83026
Registered Office: 22 Charlotte Square, Edinburgh, EH2 4DF
Adam & Company Investment Management Limited
Registered in Scotland number 102144
Registered Office: 22 Charlotte Square, Edinburgh, EH2 4DF
Adam & Company International Limited
Registered in Guernsey number 21691
Registered Office: 22 High Street, St Peter Port, Guernsey, GY1 4BQ
-
RE: [freetds] Error in make on HP UX11
, (continued)
-
RE: [freetds] Error in make on HP UX11,
Ian Jones, 03/03/2003
-
Re: [freetds] Error in make on HP UX11,
Steve Langasek, 03/03/2003
- Re: [freetds] Error in make on HP UX11, David L. Zoll, 03/03/2003
-
Re: [freetds] Error in make on HP UX11,
Steve Langasek, 03/03/2003
-
RE: [freetds] Error in make on HP UX11,
Ian Jones, 03/03/2003
-
Re: [freetds] Error in make on HP UX11,
Steve Langasek, 03/03/2003
- Re: [freetds] Error in make on HP UX11, David Owen, 03/03/2003
-
Re: [freetds] Error in make on HP UX11,
Steve Langasek, 03/03/2003
- RE: [freetds] Error in make on HP UX11, Lowden, James K, 03/03/2003
- RE: [freetds] Error in make on HP UX11, Ian Jones, 03/04/2003
- RE: [freetds] Error in make on HP UX11, Ian Jones, 03/05/2003
- RE: [freetds] Error in make on HP UX11, Lowden, James K, 03/05/2003
- RE: [freetds] Error in make on HP UX11, Ian Jones, 03/05/2003
- RE: [freetds] Error in make on HP UX11, Ian Jones, 03/05/2003
- RE: [freetds] Error in make on HP UX11, Lowden, James K, 03/05/2003
-
RE: [freetds] Error in make on HP UX11,
Lowden, James K, 03/05/2003
- Re: [freetds] Error in make on HP UX11, Steve Langasek, 03/05/2003
-
RE: [freetds] Error in make on HP UX11,
Ian Jones, 03/03/2003
Archive powered by MHonArc 2.6.24.