On Wed, Feb 08, 2006 at 01:59:17PM +0100, Hannah Schroeter wrote:
> >[...]
> >/sys/sys/systm.h:170: warning: conflicting types for built-in function
> >`vsnprintf'
> >[...]
> 
> Have you properly updated gcc?
> 
> IIRC there have been quite some changes wrt types and in the
> instructions for builds from source there was the requirement of an
> additional build/install of gcc in addition to the ordinary build
> process (kernel, reboot, make build...).
> 

FYI, I checked the current.html#20060113 and updated gcc. This time the
kernel source was successfully compiled. But, when trying to build
userland, I still got many errors, such as:
------------------------------------------------------------------------
/usr/src/lib/libc/gen/closedir.c:35:28: thread_private.h: No such file
or directory
/usr/src/lib/libc/gen/closedir.c: In function `closedir':
/usr/src/lib/libc/gen/closedir.c:46: warning: implicit declaration of
function `_FD_LOCK'
/usr/src/lib/libc/gen/closedir.c:46: error: `FD_READ' undeclared (first
use in this function)
/usr/src/lib/libc/gen/closedir.c:46: error: (Each undeclared identifier
is reported only once
/usr/src/lib/libc/gen/closedir.c:46: error: for each function it appears in.)
/usr/src/lib/libc/gen/closedir.c:55: warning: implicit declaration of
function `_FD_UNLOCK'
*** Error code 1

Stop in /usr/src/lib/libc.
*** Error code 1

Stop in /usr/src/lib.
*** Error code 1

Stop in /usr/src (line 73 of Makefile).
------------------------------------------------------------------------

The compiler showed lots of "xxx: No such file or directory" when I 'make
depend'. I wonder if I lost something... Could you tell me how often
should I make build if I follow the current? My last successful build
was about a month ago...

Reply via email to