I tried to build the snapshot on SGI Irix 5.3, and hit a few problems.
First, inttypes.h and sys/types.h aren't compatible on this system:
/usr/people/bil/test/guile-core-20010820/ make
{...]
cc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -c alist.c -DPIC -o alist.o
cfe: Warning 753: /usr/include/sys/types.h, line 105: declaration must at least
declare an identifier, tag, or the
member of an enumeration
typedef unsigned long int ;
^
cfe: Error: /usr/include/stddef.h, line 37: redeclaration of 'ptrdiff_t'; previous
declaration at line 283 in file
'../libguile/__scm.h'
typedef int ptrdiff_t;
------------ ^
cfe: Error: /usr/include/inttypes.h, line 61: redeclaration of 'int8_t'; previous
declaration at line 211 in file
'/usr/include/sys/types.h'
typedef signed char int8_t;
------- ----------- ^
cfe: Error: /usr/include/inttypes.h, line 63: redeclaration of 'int16_t'; previous
declaration at line 212 in file
'/usr/include/sys/types.h'
typedef signed short int16_t;
------- ------------ ^
cfe: Error: /usr/include/inttypes.h, line 65: redeclaration of 'int32_t'; previous
declaration at line 213 in file
'/usr/include/sys/types.h'
typedef signed int int32_t;
------- ---------- ^
make[1]: *** [alist.lo] Error 1
make[1]: Leaving directory `/usr/people/bil/test/guile-core-20010820/libguile'
make: *** [all-recursive] Error 1
/usr/people/bil/test/guile-core-20010820/
I reported this earlier to autoconf, and they fixed it in some way:
from autoconf Changelog:
2001-06-23 Akim Demaille <[EMAIL PROTECTED]>
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider
inttypes.h is missing if it conflicts with sys/types.h, as on IRIX
5.3.
Next, the ptrdiff_t complaint -- I couldn't immediately see what it's problem was, so
I set that flag by hand and:
cc -DHAVE_CONFIG_H -I.. -I./.. -I../libltdl -g -c gc_os_dep.c -DPIC -o gc_os_dep.o
cfe: Warning 753: /usr/include/sys/types.h, line 105: declaration must at least
declare an identifier, tag, or the
member of an enumeration
typedef unsigned long int ;
^
cfe: Error: gc_os_dep.c, line 1765: redeclaration of 'GC_noop1'; previous declaration
at line 1753 in file 'gc_os_dep.c'
GC_noop1(x)
----^
cfe: Error: gc_os_dep.c, line 1765: Incompatible function return type for this
function.
GC_noop1(x)
------------^
I couldn't find GC_noop1.
_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile