Subject: Re: upgrade to v. 3
To: Luca Sironi <luca.sironi@gmail.com>
From: Francisco Valladolid Hdez. <ficovh@yahoo.com>
List: port-amd64
Date: 01/04/2006 08:02:45
hi, .

a quick solution is remove the entire files
/usr/src/obj and /usr/src/tools 

$ sudo rm -rf /usr/src/obj/* && sudo rm -rf
/usr/src/tools/*
$ cd /usr/src
$ sudo ./build.sh -O ../obj -T ../tools tools
$ sudo ./build.sh -O ../obj -T ../tools distribution

can you do it ?

Regards.

--- Luca Sironi <luca.sironi@gmail.com> wrote:

> >
> > Other way is doing a cvs update from netbsd-3-0
> brach
> > and compile the userland and kernel and the next
> > install it.
> 
> 
> 
> i'm having problems doing the update from 2.1 to
> 3.0.
> i've checkout from scratch netbsd-3-0-release
> then i've built the toolchain , but i fail building
> distribution
> 
> ./build.sh -o ../obj -T ../tools -U -u distribution
> 
> ends like this..
> 
>
-----------------------------------------------------------------------------------------------------------------
> #   compile  libc/LintSysNormal.ln
> CC=/usr/src/../tools/bin/x86_64--netbsd-gcc
> /usr/src/../tools/bin/x86_64--netbsd-lint -chapbxzF
> -X 272 -d
> /usr/src/../obj/destdir.amd64/usr/include  -D_LIBC
> -DLIBC_SCCS
> -DSYSLIBC_SCCS -D_REENTRANT
> -I/usr/src/lib/libc/include -I/usr/src/lib/libc
> -DHESIOD -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE
> -DI18NMODULE_MAJOR=4
> -DCITRUS -I/usr/src/libexec/ld.elf_so
> -I/usr/src/lib/libc/dlfcn
> -DCITRUS_ICONV -DWITH_RUNE -I/usr/src/lib/libc
> -DPOSIX_MISTAKE -DCOMPAT__RES
> -DPORTMAP -DFLOATING_POINT    -i LintSysNormal.c
> LintSysNormal.c(436): warning: dubious tag
> declaration: struct statfs [85]
> LintSysNormal.c(551): warning: dubious tag
> declaration: struct statfs [85]
> LintSysNormal.c(663): warning: dubious tag
> declaration: struct statfs [85]
> LintSysNormal.c(816): redeclaration of getpriority
> [27]
> LintSysNormal.c(957): redeclaration of gettimeofday
> [27]
> LintSysNormal.c(2537): redeclaration of setpriority
> [27]
> LintSysNormal.c(2943): warning: dubious tag
> declaration: struct statfs [85]
> 
> *** Failed target:  LintSysNormal.ln
> *** Failed command:
> CC=/usr/src/../tools/bin/x86_64--netbsd-gcc
> /usr/src/../tools/bin/x86_64--netbsd-lint -chapbxzF
> -X 272 -d
> /usr/src/../obj/destdir.amd64/usr/include -D_LIBC
> -DLIBC_SCCS -DSYSLIBC_SCCS
> -D_REENTRANT -I/usr/src/lib/libc/include
> -I/usr/src/lib/libc -DHESIOD
> -DINET6 -DNLS -DYP -D__DBINTERFACE_PRIVATE
> -DI18NMODULE_MAJOR=4 -DCITRUS
> -I/usr/src/libexec/ld.elf_so
> -I/usr/src/lib/libc/dlfcn -DCITRUS_ICONV
> -DWITH_RUNE -I/usr/src/lib/libc -DPOSIX_MISTAKE
> -DCOMPAT__RES -DPORTMAP
> -DFLOATING_POINT -i LintSysNormal.c
> *** Error code 1
>
---------------------------------------------------------------------------------------------------------------------------
> 
> 
> any idea?
> 
> thank you
> 
> Luca
> 


____________________________________
Fco.Valladolid Hdez.
ficovh@yahoo.com


		
__________________________________________ 
Yahoo! DSL  Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com