Subject: Re: RENAME(__stat13) prob
To: Patrick Welche <prlw1@cam.ac.uk>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 06/03/1998 08:30:10
On Wed, 3 Jun 1998 14:08:29 +0100 (BST) 
 prlw1@cam.ac.uk (Patrick Welche) wrote:

 > How does one get past the following (while building current):
 > 
 > /usr/src/usr.bin/xlint/llib:
 > 
 > lint -Cposix llib-lposix
 > llib-lposix:
 > stat.h(257): syntax error
 > stat.h(258): syntax error
 > stdio.h(260): syntax error
 > unistd.h(201): syntax error
 > 
 > 
 > /usr/include/sys/stat.h:
 > 
 > #ifdef __LIBC12_SOURCE__
 > ...
 > #else
 > int     stat __P((const char *, struct stat *)) __RENAME(__stat13);
 > int     fstat __P((int, struct stat *))         __RENAME(__fstat13);
 > #endif
 > 
 > sys/cdefs.h:#define __RENAME(a) __symbolrename(a)
 > 
 > ?
 > 
 > NetBSD/arm32-current kernel, 1.3-alpha userland

Build and install a new lint first, before building the lint libraries.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-5                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 650 428 6939