Subject: Re: Q: currendt build (continued)
To: Andreas Brusinsky <brusinsk@ibdr.inf.tu-dresden.de>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-hp300
Date: 05/04/1997 23:49:19
On Mon, 5 May 1997 02:44:50 +0200 (MET DST) 
 Andreas Brusinsky <brusinsk@ibdr.inf.tu-dresden.de> wrote:

 > And a 'cd src/lib && make clean && make depend && make' produces the
 > following: 

...make sure you do a "make includes" from the toplevel directory.
These errors indicate you have a header file out of date.

>From 1.2.1, you'll actually want to rebuild make, then install new
src/share/mk files, then run make includes, etc.

 > 
 > cc -O -DLIBC_SCCS -I/mnt/m3/NetBSDsrc/src/lib/csu/m68k/..  -Werror  -c 
 > -DCRT0 -D
 > DYNAMIC /mnt/m3/NetBSDsrc/src/lib/csu/m68k/crt0.c -o crt0.o
 > /mnt/m3/NetBSDsrc/src/lib/csu/m68k/../common.c: In function `dlopen':
 > In file included from /mnt/m3/NetBSDsrc/src/lib/csu/m68k/crt0.c:116:
 > /mnt/m3/NetBSDsrc/src/lib/csu/m68k/../common.c:164: argument `name' 
 > doesn't match prototype
 > /usr/include/dlfcn.h:42: prototype declaration
 > cc1: warnings being treated as errors
 > /mnt/m3/NetBSDsrc/src/lib/csu/m68k/../common.c:168: warning: passing arg 1 disca
 > rds `const' from pointer target type
 > /mnt/m3/NetBSDsrc/src/lib/csu/m68k/../common.c: In function `dlsym':
 > /mnt/m3/NetBSDsrc/src/lib/csu/m68k/../common.c:185: argument `name' 
 > doesn't match prototype
 > /usr/include/dlfcn.h:44: prototype declaration
 > /mnt/m3/NetBSDsrc/src/lib/csu/m68k/../common.c:189: warning: passing arg 2 disca
 > rds `const' from pointer target type
 > *** Error code 1
 > 
 > Stop.
 > 
 >  
 >         Bye   Brusi
 > 
 >             by           ab2@inf.tu-dresden.de
 > 
 >           \____/
 > 
 > 

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939