Skip to Content.
Sympa Menu

freetds - RE: [freetds] Error in make on HP UX11

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "'FreeTDS Development Group'" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Error in make on HP UX11
  • Date: Wed, 5 Mar 2003 11:55:57 -0500

> From: Ian Jones [mailto:ian.jones AT adambank.com]
> Sent: March 5, 2003 11:02 AM
>
> Is this the bit you require :- (yes using version 0.61)

Maybe. It builds and runs on my box (as expected), see below. Does it on
yours? If it does, what does the next chunk of config.log look like?

--jkl

Script started on Wed Mar 5 11:10:21 2003
$ cat >t.c
#define HAVE_UNISTD_H 1 /* had to insert this line myself of course */
#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;
}
^D
$ make t
cc -O2 -o t t.c
$ ./t && echo OK
OK
$ exit
Script done on Wed Mar 5 11:12:09 2003


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.





Archive powered by MHonArc 2.6.24.

Top of Page