[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bgl-discuss] configure sizeof fix, perhaps
Hi my name is Ivan, and I'm a blue gene hacker [crowd says, "Hi, Ivan"],
I ran into this problem:
checking build system type... powerpc64-unknown-linux-gnu checking host
system type... powerpc64-unknown-linux-gnu checking for int... yes checking
size of int... configure: error: cannot compute sizeof (int), 77
Here's the fix:
1: grab the autoconf macro archive: http://www.gnu.org/software/ac-archive/
2: unpack it and put it someplace useful, say path <p>
3: Edit configure.in and replace:
AC_CHECK_SIZEOF(int)
AC_CHECK_SIZEOF(long)
with:
AC_COMPILE_CHECK_SIZEOF(int)
AC_COMPILE_CHECK_SIZEOF(long)
4: Then run aclocal -I <p>
5: run autoconf
6: run configure again and see if it works.
This recipe has worked for me, now I'm up to being hosed by pthreads. Is
there any special magic there?
--Ivan
PS You can find more about this at this url:
http://gcc.gnu.org/ml/java/2001-04/msg00480.html
- --------------------------------------------------------------------
To add or remove yourself from this mailing list, use the 'notifyme'
command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.