1.6.24b update 2 [long]

1.6.24b update 2 [long]

Post by Will Ro » Wed, 20 Jan 1993 02:43:47



Report on Probability A
=======================

After building the PC 1.6.24 filetree as described in my last note,
I went on to compile the libraries, and then the kernel and commands
using ACK 1.3.  Below are the errors found.

Libraries
=========

The following functions are shown in ast's liborder message, but
are missing from the distribution:
  csa4.s
  csb4.s
  exec.s
  fp8087.s
  getutil.s

  error.s exists in the current Libc.a, but is not mentioned in
ast's liborder.

The main Makefile needs the base path redefining, and the string library
Makefile uses .o (not .s) only with no use of cpp.  In fact, the .s files
generated from the new .x files don't match the distributed .s files,
though they may function the same.  The syscall library has .s files only.

The following errors were found in compiling the library, but they
don't seem significant.

======================== directory lib/other ==========================
"fprintk.c", line 113: (warning) incompatible pointers in =
"fprintk.c", line 127: (warning) incompatible pointers in =
"fprintk.c", line 162: (warning) incompatible pointers in =
"fprintk.c", line 165: (warning) incompatible pointers in =
"fprintk.c", line 173: (warning) incompatible pointers in =
"fprintk.c", line 180: (warning) incompatible pointers in =
"fprintk.c", line 196: (warning) incompatible pointers in =
"fprintk.c", line 201: (warning) incompatible pointers in =
Warning: dummy floating point constant(s)
"printk.c", line 98: (warning) incompatible pointers in =
"printk.c", line 112: (warning) incompatible pointers in =
"printk.c", line 148: (warning) incompatible pointers in =
"printk.c", line 151: (warning) incompatible pointers in =
"printk.c", line 159: (warning) incompatible pointers in =
"printk.c", line 166: (warning) incompatible pointers in =
"printk.c", line 182: (warning) incompatible pointers in =
"printk.c", line 187: (warning) incompatible pointers in =
"putenv.c", line 35: (warning) incompatible pointers in !=
"putenv.c", line 36: (warning) incompatible pointers in !=
"putenv.c", line 64: (warning) incompatible pointers in =
"putenv.c", line 72: (warning) incompatible pointers in =
"putenv.c", line 77: (warning) incompatible pointers in =
======================== directory lib/posix ==========================
"_exec.c", line 77: (warning) incompatible pointers in !=
"_exec.c", line 79: (warning) incompatible pointers in !=
"_fcntl.c", line 30: (warning) incompatible pointers in =
"_fcntl.c", line 35: (warning) incompatible pointers in =
"_open.c", line 22: (warning) incompatible pointers in =

No errors were found in compiling mm, fs, kernel, test or tools.

The command makefiles often needed reconfiguring by hand, and the
following changes were made:

advent: O set to s
bawk: O set to s
de: O set to s
elle: .o present and not parameterised. Changed to .s.
      Removed -ma from CFLAGS and added -D_POSIX_SOURCE.
elvis: Added _D_POSIX_SOURCE
ibm: O set to s
     Removed -m option from CFLAGS
ic: O set to s
kermit: added -D_POSIX_SOURCE
m4: O set to s
make: O set to s
      Added -D_POSIX_SOURCE
mined: O set to s
patch: O set to s
       Removed -m option from CFLAGS
sh: O set to s
    Removed -m option from CFLAGS

After the Makefiles had been changed, the following errors were
found in compiling the commands.  About half the messages are of
no importance, but there seem to be some significant problems.

======================== directory aal ==========================
rd.s, 396: _offset multiple declared
======================== directory advent ==========================
"/usr/include/unistd.h", line 37: (warning) redefine "NULL"
======================== directory bc ==========================
yacc: not found
The alternative is a set of *dist files, which are not present either.
======================== directory commands ==========================
------------------------------ comic ------------------------------
"/usr/include/string.h", line 8: (warning) redefine "NULL"
"comic.c", line 918: (warning) incompatible pointers in !=
"comic.c", line 954: (warning) incompatible pointers in !=
"comic.c", line 967: (warning) incompatible pointers in !=
"comic.c", line 1003: (warning) incompatible pointers in !=
"comic.c", line 1009: (warning) incompatible pointers in !=
"comic.c", line 1068: (warning) incompatible pointers in ==
"comic.c", line 1185: (warning) incompatible pointers in =
"comic.c", line 1193: (warning) incompatible pointers in !=
"comic.c", line 1290: (warning) incompatible pointers in =
"comic.c", line 1304: (warning) incompatible pointers in ==
"comic.c", line 1305: (warning) illegal conversion of int to pointer
"comic.c", line 1311: (warning) incompatible pointers in ==
"comic.c", line 1322: (warning) incompatible pointers in ==
"comic.c", line 1606: (warning) incompatible pointers in =
"comic.c", line 2137: (warning) incompatible pointers in :
"comic.c", line 2137: (warning) incompatible pointers in =
"comic.c", line 2137: (warning) incompatible pointers in !=
"comic.c", line 2151: (warning) incompatible pointers in !=
comic.s, 3249: _put_bit multiple declared
comic.s, 3287: _get_bit multiple declared
comic.s, 3866: _new_std multiple declared
comic.s, 4680: _decode_ multiple declared
comic.s, 6392: _output_ multiple declared
------------------------------ compress ------------------------------
"compress.c", line 1509: (warning) conversion of long to pointer loses accuracy
------------------------------ gomoku ------------------------------
"/usr/include/stdlib.h", line 7: (warning) redefine "NULL"
curses.s, 581: _new_tty multiple declared
curses.s, 583: _old_tty multiple declared
unresolved references:
        _ACS_LRC
        _ACS_LTE
        _stdscr
        _waddch
        _ACS_RAR
        _mvprint
        _ACS_PLU
        _wclear
        _ACS_DAR
        _ACS_UAR
        _wmove
        _waddstr
        _wgetch
        _ACS_RTE
        _ACS_BTE
        _noecho
        _ACS_ULC
        _LINES
        _ACS_TTE
        _ACS_URC
        _wrefres
        _ACS_HLI
        _ACS_LAR
        _raw
        _wclrtoe
        _ACS_LLC
------------------------------ hyphenate ------------------------------
"hyphenate.c", line 1460: (warning) incompatible pointers in =
"hyphenate.c", line 1461: (warning) incompatible pointers in =
------------------------------ life ------------------------------
"/usr/include/stdlib.h", line 7: (warning) redefine "NULL"
curses.s, 581: _new_tty multiple declared
curses.s, 583: _old_tty multiple declared
unresolved references:
        _stdscr
        _waddch
        _newwin
        _wclear
        _wprintw
        _wmove
        _wgetch
        _noecho
        _scrollo
        _wrefres
        _curs_se
        _wclrtoe
------------------------------ ls ------------------------------
This is the re-posted version.
"ls.c", line 474: INT_MAX undefined
"ls.c", line 792: INT_MAX undefined
"ls.c", line 1116: operator : on non-numerical operand (void)
"ls.c", line 1118: operator : on non-numerical operand (void)
------------------------------ more ------------------------------
"more.c", line 677: (warning) incompatible pointers in =
"more.c", line 680: (warning) incompatible pointers in =
------------------------------ tar ------------------------------
"tar.c", line 1059: (warning) incompatible pointers in =
"tar.c", line 1062: (warning) incompatible pointers in =
"tar.c", line 1066: (warning) incompatible pointers in =
"tar.c", line 1069: (warning) incompatible pointers in =
------------------------------ term ------------------------------
"term.c", line 152: (warning) incompatible pointers in =
"term.c", line 172: (warning) incompatible pointers in !=
"term.c", line 178: (warning) incompatible pointers in ==
------------------------------ uname ------------------------------
"uname.c", line 49: (warning) incompatible pointers in =
======================== directory de ==========================
unresolved references:
        _vfprint
        _vprintf
======================== directory elle ==========================
/usr/lib/opt: error on line 7289: out of memory
"./sbproto.h", line 6: redeclaration of bcopy with different type
"./eeproto.h", line 339: fatal error -- out of memory
etc..
======================== directory elvis ==========================
"cmd1.c", line 1755: _addCR undefined
"cmd1.c", line 1757: _addCR undefined
======================== directory ibm ==========================
The file sdump.c needs relative, not absolute paths to fs etc.
----------------------------- ncc -------------------------------
"ncc.c", line 445: (warning) incompatible pointers in =
======================== directory ic ==========================
"ic.c", line 119: redeclaration of Init_State with different type
"ic.c", line 748: redeclaration of Push with different type
"ic.c", line 781: redeclaration of Pop with different type
"ic.c", line 810: redeclaration of Exec_Shell with different type
"ic.c", line 822: (warning) illegal conversion of int to pointer
======================== directory kermit ==========================
/usr/bin/asld: out of memory
======================== directory mined ==========================
This is the original 1.5.10 version.
"mined1.c", line 422: redeclaration of FS with different type
etc...
======================== directory nroff ==========================
These are the original 1.5.10 versions.
"command.c", line 33: redeclaration of comand with different type
"command.c", line 870: redeclaration of gettl with different type
"command.c", line 926: redeclaration of set with different type
"escape.c", line 33: redeclaration of expesc with different type
"escape.c", line 953: redeclaration of fontchange with different type
======================== directory sh ==========================
"./sh.h", line 283: formal parameter list discarded
etc...

After compiling the commands, the error in sh.h was corrected by
editing the line, and the shell compiled correctly.  A new root file
system was made up with 1.6 commands, and a boot disk built using
the 1.6 'construct'.  1.6 booted, but crashed within 30 secs or so.
Since the rc file was starting (the 1.6) update at around this time,
on the reboot this process was killed immediately and the system
stayed up.  One odd effect was that the keyboard Caps Lock and Ctrl
keys were reversed from their actual positions, and from 1.5.10,
but otherwise the system seemed normal after very limited testing.

Hope this helps - Will
c...@crash.cts.com