Displaying 5 results from an estimated 5 matches for "ulongval".
Did you mean:
longval
2002 Dec 05
1
R configure fails on solaris: configure:12951: error: cannot compute sizeof (int), 77
...FILE *f = fopen ("conftest.val", "w");
if (! f)
exit (1);
if (((long) (sizeof (int))) < 0)
{
long i = longval ();
if (i != ((long) (sizeof (int))))
exit (1);
fprintf (f, "%ld\n", i);
}
else
{
unsigned long i = ulongval ();
if (i != ((long) (sizeof (int))))
exit (1);
fprintf (f, "%lu\n", i);
}
exit (ferror (f) || fclose (f) != 0);
;
return 0;
}
configure:12951: error: cannot compute sizeof (int), 77
---
Vince Carey, PhD
Ass't Prof Med (Biostatistics)
Harvard Medical...
2005 May 12
2
Problem configuring speex 1.1.8
Can you send me the config.log?
Jean-Marc
Le vendredi 13 mai 2005 ? 00:16 +0200, Pierre a ?crit :
> Jean-Marc Valin wrote:
> > What platform (OS, compiler/version)
>
> GNU/Linux
> kernel 2.6.11.8
> gcc 3.4.3
>
> > Also, does it work with no options.
>
> No, I just tried with just "./configure" and I have the same error.
>
>
--
Jean-Marc
2005 May 13
0
Problem configuring speex 1.1.8
...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
| long longval () { return (long) (sizeof (short)); }
| unsigned long ulongval () { return (long) (sizeof (short)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| exit (1);
| if (((long) (sizeof (short))) < 0)
| {
| long i = longval ();
| if...
2005 May 13
1
Problem configuring speex 1.1.8
...TYPES_H
> | # include <inttypes.h>
> | #else
> | # if HAVE_STDINT_H
> | # include <stdint.h>
> | # endif
> | #endif
> | #if HAVE_UNISTD_H
> | # include <unistd.h>
> | #endif
> | long longval () { return (long) (sizeof (short)); }
> | unsigned long ulongval () { return (long) (sizeof (short)); }
> | #include <stdio.h>
> | #include <stdlib.h>
> | int
> | main ()
> | {
> |
> | FILE *f = fopen ("conftest.val", "w");
> | if (! f)
> | exit (1);
> | if (((long) (sizeof (short))) < 0...
2005 May 08
2
Problem configuring speex 1.1.8
...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
| long longval () { return (long) (sizeof (short)); }
| unsigned long ulongval () { return (long) (sizeof (short)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| exit (1);
| if (((long) (sizeof (short))) < 0)
| {
| long i = longval ();
| if...