mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-users] NetBSD


From: D. E. Evans
Subject: [MIT-Scheme-users] NetBSD
Date: Tue, 16 Dec 2003 16:06:19 -0700
User-agent: Mutt/1.4.1i

I get the following when trying to compile scheme 7.7.1 on NetBSD
1.6.1 (after running ./configure in the src/microcode directory
from a fully extracted tar ball):

gcc -DMIT_SCHEME
-DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\"
-DHAVE_CONFIG_H  -I. -I. -I.  -g -O2 -Wall -I/usr/X11R6/include
-c bignum.c
bignum.c: In function `bignum_make_zero':
bignum.c:138: `CHAR_BIT' undeclared (first use in this function)
bignum.c:138: (Each undeclared identifier is reported only once
bignum.c:138: for each function it appears in.)
bignum.c: In function `bignum_make_one':
bignum.c:146: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_equal_p':
bignum.c:156: `CHAR_BIT' undeclared (first use in this function)
bignum.c:163: warning: control reaches end of non-void function
bignum.c: In function `bignum_test':
bignum.c:169: `CHAR_BIT' undeclared (first use in this function)
bignum.c:174: warning: control reaches end of non-void function
bignum.c: In function `bignum_compare':
bignum.c:181: `CHAR_BIT' undeclared (first use in this function)
bignum.c:198: warning: control reaches end of non-void function
bignum.c: In function `bignum_add':
bignum.c:205: `CHAR_BIT' undeclared (first use in this function)
bignum.c:216: warning: control reaches end of non-void function
bignum.c: In function `bignum_subtract':
bignum.c:223: `CHAR_BIT' undeclared (first use in this function)
bignum.c:236: warning: control reaches end of non-void function
bignum.c: In function `bignum_negate':
bignum.c:242: `CHAR_BIT' undeclared (first use in this function)
bignum.c:245: warning: control reaches end of non-void function
bignum.c: In function `bignum_multiply':
bignum.c:251: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_divide':
bignum.c:285: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_quotient':
bignum.c:355: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_remainder':
bignum.c:407: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `long_to_bignum':
bignum.c:467: `CHAR_BIT' undeclared (first use in this function)
bignum.c:467: size of array `result_digits' has non-integer type
bignum.c: In function `bignum_to_long':
bignum.c:496: `CHAR_BIT' undeclared (first use in this function)
bignum.c:509: warning: control reaches end of non-void function
bignum.c: In function `ulong_to_bignum':
bignum.c:514: `CHAR_BIT' undeclared (first use in this function)
bignum.c:514: size of array `result_digits' has non-integer type
bignum.c: In function `bignum_to_ulong':
bignum.c:574: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_to_double':
bignum.c:621: `CHAR_BIT' undeclared (first use in this function)
bignum.c:718: warning: control reaches end of non-void function
bignum.c: In function `bignum_fits_in_word_p':
bignum.c:766: `CHAR_BIT' undeclared (first use in this function)
bignum.c:783: warning: control reaches end of non-void function
bignum.c: In function `bignum_length_in_bits':
bignum.c:788: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_length_upper_limit':
bignum.c:809: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_shift_left':
bignum.c:816: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `unsigned_long_to_shifted_bignum':
bignum.c:867: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `digit_stream_to_bignum':
bignum.c:896: `CHAR_BIT' undeclared (first use in this function)
bignum.c:905: warning: `length' might be used uninitialized in this function
bignum.c: In function `bignum_to_digit_stream':
bignum.c:932: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_max_digit_stream_radix':
bignum.c:954: `CHAR_BIT' undeclared (first use in this function)
bignum.c:955: warning: control reaches end of non-void function
bignum.c: In function `bignum_equal_p_unsigned':
bignum.c:963: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_compare_unsigned':
bignum.c:982: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_add_unsigned':
bignum.c:1011: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_subtract_unsigned':
bignum.c:1093: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_multiply_unsigned':
bignum.c:1150: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_multiply_unsigned_small_factor':
bignum.c:1218: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_destructive_scale_up':
bignum.c:1235: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_destructive_add':
bignum.c:1264: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_divide_unsigned_large_denominator':
bignum.c:1300: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_divide_unsigned_normalized':
bignum.c:1346: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_divide_subtract':
bignum.c:1430: `CHAR_BIT' undeclared (first use in this function)
bignum.c:1433: warning: `pl' might be used uninitialized in this function
bignum.c: In function `bignum_divide_unsigned_medium_denominator':
bignum.c:1509: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_destructive_normalization':
bignum.c:1569: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_destructive_unnormalization':
bignum.c:1591: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_digit_divide':
bignum.c:1641: `CHAR_BIT' undeclared (first use in this function)
bignum.c:1639: warning: `guess' might be used uninitialized in this function
bignum.c:1640: warning: `comparand' might be used uninitialized in this function
bignum.c:1644: warning: `uj_uj1' might be used uninitialized in this function
bignum.c:1671: warning: control reaches end of non-void function
bignum.c: In function `bignum_digit_divide_subtract':
bignum.c:1715: `CHAR_BIT' undeclared (first use in this function)
bignum.c:1713: warning: `diff' might be used uninitialized in this function
bignum.c:1714: warning: `carry' might be used uninitialized in this function
bignum.c: In function `bignum_destructive_scale_down':
bignum.c:1774: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_remainder_unsigned_small_denominator':
bignum.c:1795: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_allocate':
bignum.c:1829: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_allocate_zeroed':
bignum.c:1841: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_shorten_length':
bignum.c:1857: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_trim':
bignum.c:1872: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_copy':
bignum.c:1893: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_new_sign':
bignum.c:1903: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_maybe_new_sign':
bignum.c:1913: `CHAR_BIT' undeclared (first use in this function)
bignum.c: In function `bignum_destructive_copy':
bignum.c:1931: `CHAR_BIT' undeclared (first use in this function)
*** Error code 1

Stop.
make: stopped in /usr/local/src/scheme-7.7.1/src/microcode

Any suggestions?
-- 
D. E. Evans <address@hidden>
<http://www.deevans.net>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]