Subject: make kernel warnings
To: None <current-users@sun-lamp.cs.berkeley.edu>
From: Thomas M. Crockett <tmc@netcom.com>
List: current-users
Date: 11/13/1993 01:09:49
Hi, I've been getting these errors when trying to build a kernel since the early sept.
tar files.  I don't (can't) use sup, so I grap the tar files almost every week-end.
I haven't seen reference to these errors in discussion or current-users so I must
assume that nobody else is experiencing this.  Is this true?  Anyway, if anyone
has some insight into this I'd sure like to share in it.  The wd.c warnings actually
began sometime in oct. I think...

../../../../ufs/ufs_disksubr.c: In function `diskerr':
../../../../ufs/ufs_disksubr.c:244: warning: assignment from incompatible pointer type

../../../../vm/device_pager.c: In function `dev_pager_alloc':
../../../../vm/device_pager.c:130: warning: cast from pointer to integer of different size
../../../../vm/device_pager.c:172: warning: assignment from incompatible pointer type
../../../../vm/device_pager.c: In function `dev_pager_getpage':
../../../../vm/device_pager.c:267: warning: cast from pointer to integer of different size

../../../../vm/vm_mmap.c: In function `vm_mmap':
../../../../vm/vm_mmap.c:488: warning: cast to pointer from integer of different size

../../../../arch/i386/isa/wd.c:350: warning: static declaration for `wdustart' follows non-static
../../../../arch/i386/isa/wd.c:384: warning: static declaration for `wdstart' follows non-static
../../../../arch/i386/isa/wd.c:943: warning: static declaration for `wdcontrol' follows non-static
../../../../arch/i386/isa/wd.c:1042: warning: static declaration for `wdcommand' follows non-static
../../../../arch/i386/isa/wd.c:1091: warning: static declaration for `wdsetctlr' follows non-static
../../../../arch/i386/isa/wd.c:1126: warning: static declaration for `wdgetctlr' follows non-static

My install technique is as follows:

cat bin.tar.gz      | gunzip | (cd /usr; tar xf -)
cat config.tar.gz   | gunzip | (cd /usr; tar xf -)
cat etc.tar.gz      | gunzip | (cd /usr; tar xf -)
cat games.tar.gz    | gunzip | (cd /usr; tar xf -)
cat gnu.tar.gz      | gunzip | (cd /usr; tar xf -)
cat include.tar.gz  | gunzip | (cd /usr; tar xf -)
cat lib.tar.gz      | gunzip | (cd /usr; tar xf -)
cat libexec.tar.gz  | gunzip | (cd /usr; tar xf -)
cat regress.tar.gz  | gunzip | (cd /usr; tar xf -)
cat sbin.tar.gz     | gunzip | (cd /usr; tar xf -)
cat share.tar.gz    | gunzip | (cd /usr; tar xf -)
cat sys.tar.gz      | gunzip | (cd /usr; tar xf -)
cat usr.bin.tar.gz  | gunzip | (cd /usr; tar xf -)
cat usr.sbin.tar.gz | gunzip | (cd /usr; tar xf -)

#cd /usr/src;                  make cleandir
cd /usr/src/share/mk;         make install
cd /usr/src/include;          make install
cd /usr/src/usr.bin/ar;       make cleandir && make && make install
cd /usr/src/usr.bin/ranlib;   make cleandir && make && make install
cd /usr/src/usr.bin/nm;       make cleandir && make && make install
setenv LDSTATIC -static
setenv NOPIC
cd /usr/src/gnu/usr.bin/gcc2; make && make install
cd /usr/src/gnu/usr.bin/gas;  make && make install
cd /usr/src/gnu/usr.bin/ld;   make && make install
cd /usr/src/lib/csu/i386;     make && make install
unsetenv NOPIC LDSTATIC
cd /usr/src/lib;              make && make install && make clean
cd /usr/src/gnu/lib;          make && make install && make clean
cd /usr/src;                  make && make install && make clean

-- Tom

------------------------------------------------------------------------------